Jacky Wang
006bf17c4f
[DataStore] Migrate BatteryBackupHelper to BackupRestoreStorage
...
Bug: 325144964
Test: Manual tests
Change-Id: I19f7c78969d70648d1e45f1627827d98b1fdd1e0
2024-03-03 22:42:00 +08:00
Fan Wu
1ce7938afc
Update custom shadow usage of ShadowActivityManager
...
Test: atest SettingsRoboTests
Bug: 319052511
Change-Id: I15ee6a19d039808aab5089e309a872cf6bc818bc
2024-01-11 09:45:41 +08:00
mxyyiyi
06fa244255
Update action log metircs of app optimize mode.
...
Bug: 317329360
Test: manual
Change-Id: Id4cd610a5bcc7988ecbd4545f5ef77a5253aac33
2023-12-27 14:13:25 +08:00
Chaohui Wang
08a1c9876e
Revert^2 "Migrate to CompoundButton.OnCheckedChangeListener"
...
8979681a8d
Change-Id: I60edd3aabf49afbe4aa016af780baa68d928bddf
2023-11-07 14:17:15 +00:00
Sebastian Pickl
8979681a8d
Revert "Migrate to CompoundButton.OnCheckedChangeListener"
...
Revert submission 25147565-onSwitchChanged-CompoundButton
Reason for revert: breaking builds
Bug:309601476
Reverted changes: /q/submissionid:25147565-onSwitchChanged-CompoundButton
Change-Id: Ie746db87d9c642599593aa3d5e5baf6b7ba89c0e
2023-11-07 13:26:36 +00:00
Chaohui Wang
71d1f021af
Migrate to CompoundButton.OnCheckedChangeListener
...
Switch and SwitchCompat are both CompoundButton.
Using CompoundButton in Java will helps migration in the future.
Bug: 306658427
Test: manual - check Settings pages
Change-Id: If2e08a9a9557ec66a3b31ef18cd2e15943098a59
2023-11-07 20:22:27 +08:00
Jun Lan
358a85ecfe
Format battery java test code
...
context:go/pixel-energizer-java-format
Test: manual
Bug: 304439460
Fix: 304439460
Change-Id: I5be0ee41afb3a7018bc7e25cceccc25669924d6c
2023-11-07 12:27:43 +08:00
mxyyiyi
81e028931a
Refactor background optimization mode in Power Usage Detail page.
...
[Screenshot]:
before: https://screenshot.googleplex.com/6m5jYWHofY2pFov
after:
[App battery usage]
- [normal] https://screenshot.googleplex.com/7aurWk7cHKaWds7
- [always unrestried/optimized] https://screenshot.googleplex.com/3rGAh4ccUYTKBAr
[Allow Background usage]
- [Restricted]: https://screenshot.googleplex.com/MPXjQe5kPWw2nhr
- [Optimized]: https://screenshot.googleplex.com/6w4zTT6r34APnGc
- [Unrestricted]: https://screenshot.googleplex.com/97FgvHWMrwASqYH
Bug: 302063050
Bug: 306295660
Bug: 308359833
Test: manual
Change-Id: I3237d015549fe26e62d6d68c13403cc2cbdf0017
2023-11-01 11:17:30 +08:00