Browse Source

优化代码

hy 1 year ago
parent
commit
a61081f63c

+ 2 - 0
app/src/main/java/com/electric/chargingpile/activity/FindActivity.java

630
    protected void onDestroy() {
630
    protected void onDestroy() {
631
        super.onDestroy();
631
        super.onDestroy();
632
        unregisterReceiver(networkChangeReceiver);
632
        unregisterReceiver(networkChangeReceiver);
633
        handler.removeCallbacksAndMessages(null);
634
        handler = null;
633
    }
635
    }
634
636
635
    public static void showInstalledAppDetails(Context context, String packageName) {
637
    public static void showInstalledAppDetails(Context context, String packageName) {