universal7885: parts-aidl: Move smartcharge code to one file

This commit is contained in:
roynatech2544 2022-10-17 18:38:47 +09:00
commit d9adb63d29
5 changed files with 22 additions and 87 deletions

View file

@ -164,7 +164,6 @@ class SmartChargeFragment : PreferenceFragmentCompat(), OnMainSwitchChangeListen
mPoolExecutor.scheduleWithFixedDelay(mScheduler, 0, 5, TimeUnit.MINUTES)
} else {
mSmartCharge.stop()
mPoolExecutor.shutdown()
}
mSharedPreferences.edit().putBoolean(PREF_SMARTCHARGE_MAIN, isChecked).apply()
}