Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
platform_packages_apps_LMOSettings
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LMODroid
platform_packages_apps_LMOSettings
Commits
ff0bf7c7
Commit
ff0bf7c7
authored
1 year ago
by
Michael Bestas
Committed by
Dhina17
11 months ago
Browse files
Options
Downloads
Patches
Plain Diff
FastCharging: Migrate to SwitchPreferenceCompat
Change-Id: Ie0adb65842e416aae5b6b7ed26ed2d169e693bb0
parent
183fd73f
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/com/android/settings/fuelgauge/FastChargingPreferenceController.java
+2
-2
2 additions, 2 deletions
.../settings/fuelgauge/FastChargingPreferenceController.java
with
2 additions
and
2 deletions
src/com/android/settings/fuelgauge/FastChargingPreferenceController.java
+
2
−
2
View file @
ff0bf7c7
...
...
@@ -21,7 +21,7 @@ import android.os.RemoteException;
import
android.util.Log
;
import
androidx.preference.Preference
;
import
androidx.preference.SwitchPreference
;
import
androidx.preference.SwitchPreference
Compat
;
import
com.android.settings.core.BasePreferenceController
;
...
...
@@ -65,7 +65,7 @@ public class FastChargingPreferenceController extends BasePreferenceController
Log
.
e
(
TAG
,
"isEnabled failed"
,
e
);
}
((
SwitchPreference
)
preference
).
setChecked
(
fastChargingEnabled
);
((
SwitchPreference
Compat
)
preference
).
setChecked
(
fastChargingEnabled
);
}
@Override
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment