mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-23 12:35:33 -04:00
universal7885: parts-aidl: Move smartcharge code to one file
This commit is contained in:
parent
c08e8f7fdc
commit
d9adb63d29
5 changed files with 22 additions and 87 deletions
|
|
@ -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()
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue