Wesley.CW Wang
6148438546
Update battery states text am: 11d74e7231
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14098542
Change-Id: I74a61775c7e6e364d294922fed90e3a45e20d0d9
2021-04-08 08:01:02 +00:00
Wesley.CW Wang
d324393fac
Update battery states text to support battery feature(1/2)
...
- Update progress bar bottom text when receiving battery feature callback
Bug: 183689347
Bug: 177407113
Test: make SettingsRoboTests
Change-Id: Ic8b24cbb149f7e470d28327a9a1dd84bbd5673f7
2021-04-08 06:39:22 +00:00
Wesley.CW Wang
11d74e7231
Update battery states text
...
- Update progress bar bottom text when battery states changed(charging,
discharging, power saver and low battery)
Bug: 183689347
Bug: 177407113
Test: make SettingsRoboTests
Change-Id: I0397eb1dea7fcb14357750f84d1d5b1a7dc7d19a
2021-04-08 05:10:34 +00:00
Jeremy Goldman
df35cfe54d
Merge "Subscription name has whitespace trimmed to determine uniqueness" into sc-dev am: b71cb56c05
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14111129
Change-Id: I89f611f2da0c633b61e0321ce34445f6c933443a
2021-04-08 01:56:07 +00:00
Jeremy Goldman
b71cb56c05
Merge "Subscription name has whitespace trimmed to determine uniqueness" into sc-dev
2021-04-08 01:16:14 +00:00
Suprabh Shukla
202bd8581a
Changes to "Alarms and Reminders" permission
...
Calling AlarmManager to know the state of the permission, which is now
the source of truth, as the logic deciding the state of the permission
may change.
Also killing the app when the permission changes to denied, this avoids
the app maintaining stale state about this permission.
Test: make -j RunSettingsRoboTests
atest SettingsUnitTests:AppStateAlarmsAndRemindersBridgeTest
Manually: Toggle the state of an app to "Not allowed" and check the logs
for activity manager kill messages.
Bug: 181152252
Bug: 183136253
Change-Id: I438782eaef4caae50fd76685c675a3e45ee28d9f
2021-04-07 16:06:09 -07:00
sallyyuen
ee9cb2d147
Get Extra Dim availability through ColorDisplayManager
...
Test: atest ReduceBrightColorsIntensityPreferenceControllerTest
Bug: 170970675
Change-Id: Ibccca13d6491e8861263887e33021dd467fc227f
2021-04-07 12:30:11 -07:00
YUKAI HUNG
e005379e2c
Merge "Remove options menu from BatteryUsage to align material next" into sc-dev am: 8477cf1892
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14112967
Change-Id: I9f957ce3c0e957b8c3ff9a53024910266f25ae62
2021-04-07 19:06:19 +00:00
Abel Tesfaye
14c5ba8648
Merge "Add warning message when camera privacy lock is enabled for smart auto rotate settings fragment" into sc-dev am: 28ad67dac2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13857227
Change-Id: I077e308dd13308a6767c8b16e9b22a0e0906ebfd
2021-04-07 19:03:58 +00:00
YUKAI HUNG
8477cf1892
Merge "Remove options menu from BatteryUsage to align material next" into sc-dev
2021-04-07 17:17:04 +00:00
Abel Tesfaye
28ad67dac2
Merge "Add warning message when camera privacy lock is enabled for smart auto rotate settings fragment" into sc-dev
2021-04-07 17:13:44 +00:00
ykhung
48dce3c0b7
Remove options menu from BatteryUsage to align material next
...
Bug: 180607918
Test: make SettingsRoboTests
Test: make SettingsGoogleRoboTests
Change-Id: I846668283d8c210f3b30fcf8c0ba5949588310d3
2021-04-07 16:03:34 +00:00
YUKAI HUNG
a13c0160e9
Merge "Remove the current battery usage chart and replace it with new one" into sc-dev am: babe3b0e73
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14111128
Change-Id: Ia1c23e7f70d463a575b0efbcb5cf654e0b0c4927
2021-04-07 15:30:59 +00:00
Wesley.CW Wang
7f372c74ef
Update StringUtil#formatElapsedTime method (2/3) am: 50f314e45d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14063748
Change-Id: Idb5dad8aa7105650d6a6cc7155d8e2786b0bc4d5
2021-04-07 12:22:33 +00:00
ykhung
1599313caf
Remove the current battery usage chart and replace it with new one
...
Bug: 183921876
Test: make SettingsRoboTests
Test: make SettingsGoogleRoboTests
Change-Id: I06f0eb5c09d07a9db0d1a93cda751e8fad672c79
2021-04-07 11:52:16 +00:00
Wesley.CW Wang
50f314e45d
Update StringUtil#formatElapsedTime method (2/3)
...
- Update the usage and the test case
- Update discharging string to follow new string doc
Bug: 183689347
Test: make RunSettingsRoboTests
Change-Id: I1e14e7da8cb02755d8cf6e12626a0d94fad87121
2021-04-07 10:19:10 +00:00
TreeHugger Robot
3fc4a00faa
Merge "Refine the summary of "Open by default" in "App info" page" into sc-dev am: acacad4cdf
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14100754
Change-Id: If7aaa999c20776b38dbae10087b48a3e399e561a
2021-04-07 09:50:58 +00:00
TreeHugger Robot
dbe3028f97
Merge "Maximize compatibility string update" into sc-dev am: 437e7e7a04
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14103365
Change-Id: Icc97f097c2b71ca92b21be940fb0868651d527f1
2021-04-07 09:50:39 +00:00
TreeHugger Robot
acacad4cdf
Merge "Refine the summary of "Open by default" in "App info" page" into sc-dev
2021-04-07 09:26:24 +00:00
TreeHugger Robot
437e7e7a04
Merge "Maximize compatibility string update" into sc-dev
2021-04-07 09:24:44 +00:00
ykhung
a4c8c4440e
Move the battery components from SettingsGoogle to Settings am: b350c66d97
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14108646
Change-Id: Ib025b2d4ab25a3ea743f4e1934aaf771d4ef0533
2021-04-07 08:32:28 +00:00
Jeremy Goldman
a51780f35d
Subscription name has whitespace trimmed to determine uniqueness
...
For example, if a subscription has the name "subsc" and another has
"subsc " the extra unique information will be added to the
subscriptions.
Test: atest -c SubscriptionUtilTest
Bug: 183664625
Change-Id: Ia137169f6cdd9804ab04126e5045c9fb61556d54
2021-04-07 16:26:52 +08:00
ykhung
b350c66d97
Move the battery components from SettingsGoogle to Settings
...
Bug: 183921876
Test: make SettingsRoboTests
Test: make SettingsGoogleRoboTests
Change-Id: I47cbba1cbfd6cb17745e7aaaf56b22e3c9dcd30e
2021-04-07 12:09:54 +08:00
Abel Tesfaye
b7a66b3068
Add warning message when camera privacy lock is enabled for
...
smart auto rotate settings fragment
Test: locally with flame, make RunSettingsRoboTests -j$(nproc)
ROBOTEST_FILTER=SmartAutoRotateCameraStateControllerTest,SmartAutoRotateControllerTest
Bug: 177462182
Change-Id: If443bd2456f3fbe76876777be912b204a50f4088
2021-04-06 19:49:04 +00:00
Weng Su
4981dc6ea1
Maximize compatibility string update
...
- Single AP device:
Title: Extend compatibility
Summary: Helps other devices find this hotspot. Reduces hotspot connection speed.
- Dual AP device:
Title: Extend compatibility
Summary: Helps other devices find this hotspot. Increases battery usage.
- Screenshot:
https://screenshot.googleplex.com/84sFvsDegjvJfWT
Bug: 184595717
Test: manual test
atest -c WifiTetherMaximizeCompatibilityPreferenceControllerTest
Change-Id: Idca20d4cf5b174110f800fbed91c404d13994b94
2021-04-07 02:27:00 +08:00
Kholoud Mohamed
4572279ca2
Merge "Ignore failing test" into sc-dev am: 0a848989f2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14100777
Change-Id: I5bed5de7b78a2d038a40348b532527359374673c
2021-04-06 13:57:45 +00:00
Kholoud Mohamed
0a848989f2
Merge "Ignore failing test" into sc-dev
2021-04-06 13:37:12 +00:00
kholoud mohamed
f89306dace
Ignore failing test
...
Temporarily ignore the following failing presubmit test until the culprit
change is found
InteractAcrossProfilesDetailsTest#getPreferenceSummary_appOpNotAllowed_returnsNotAllowed
Test: atest InteractAcrossProfilesDetailsTest
Bug: 184238335
Change-Id: Ia6aa957bc0928e3a82465f35eda99938d34f19c4
2021-04-06 14:36:05 +01:00
Sunny Shao
41db38c0af
Refine the summary of "Open by default" in "App info" page
...
Fixes: 184597364
Test: make RunSettingsRoboTests ROBOTEST_FILTER=com.android.settings.applications.appinfo
Change-Id: I9e453c719e5d06570ab1093ffe5510c3e9c7567b
2021-04-06 17:35:57 +08:00
Sally Yuen
2b2c5631d7
Merge "[Reduce Bright Colors] Use a switch preference" into sc-dev am: 9aff855052
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13719274
Change-Id: Ide66887df44b1ea331275a9766c7ac7ee7d5dfec
2021-04-05 18:49:10 +00:00
Julia Reynolds
148d6ec9ff
Merge "Only show enhanced options for migrated apps" into sc-dev am: 6ca32df6b6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14051178
Change-Id: I57afd181897fb288dea0734888d50cedd11ebd55
2021-04-05 18:47:58 +00:00
Sally Yuen
9aff855052
Merge "[Reduce Bright Colors] Use a switch preference" into sc-dev
2021-04-05 16:15:31 +00:00
sallyyuen
166c89890e
[Reduce Bright Colors] Use a switch preference
...
Test: atest ReduceBrightColorsPreferenceControllerTest, manual
Bug: 128465252
Change-Id: I824af24e545d38bad74613147328cf51108a9127
2021-04-05 16:14:59 +00:00
Julia Reynolds
6ca32df6b6
Merge "Only show enhanced options for migrated apps" into sc-dev
2021-04-05 13:30:57 +00:00
Edward Cunningham
8ba8d9b228
Merge "Improve installer attribution in App Info." into sc-dev am: aacf7bd6f0
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13872508
Change-Id: I28ea66bd4d34d1b082d8b9957f905613a37f7b0a
2021-04-02 17:09:26 +00:00
Edward Cunningham
aacf7bd6f0
Merge "Improve installer attribution in App Info." into sc-dev
2021-04-02 16:44:03 +00:00
Julia Reynolds
cc907eadaf
Only show enhanced options for migrated apps
...
Apps that are using the API or target > S.
Test: settings unit tests
Bug: 184027330
Change-Id: Ifae94e6392a19a215ea9beb1e816c221381bf057
2021-04-02 10:39:29 -04:00
Edward Cunningham
faf44124ba
Improve installer attribution in App Info.
...
When an app is installed by the Package Installer app on behalf of
another app (eg. a browser, file manager or app store that opens an APK
via an activity start), it is preferable to attribute the install to the
originating app rather than the 'Package Installer' itself.
Since Android R, package manager keeps track of the necessary install
source information which enables this more precise attribution. If an
originating package is recorded and was set by a system app, we use this
as the user-visible 'installer'.
Bug: 182365285
Test: make RunSettingsRoboTests
Change-Id: Ibb329d6fe8f0fa2ad51d3530a219b2d8b8d6c17b
2021-04-02 12:45:43 +01:00
TreeHugger Robot
7d17aa2308
Merge "Fix BatteryInfo test fail" into sc-dev am: a0ada5af53
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14065248
Change-Id: I0b49a4d95dd436080b7936c6ca6ed5262d6182b7
2021-04-02 04:02:36 +00:00
TreeHugger Robot
a0ada5af53
Merge "Fix BatteryInfo test fail" into sc-dev
2021-04-02 03:25:07 +00:00
Beth Thibodeau
f0f14c4f25
Merge "Update style of main media setting toggle" into sc-dev am: 6812256031
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13998846
Change-Id: I45c37b9cccdc462d3ea94486a09f24e7255102d1
2021-04-01 16:05:09 +00:00
Jason Hsu
fc4ab252c6
Merge "Remove unused code" into sc-dev am: 4e95be4aa2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14060696
Change-Id: Iadf9860b096741754f32859e51d4949f9b18a13a
2021-04-01 16:04:58 +00:00
Beth Thibodeau
6812256031
Merge "Update style of main media setting toggle" into sc-dev
2021-04-01 15:47:07 +00:00
Jason Hsu
4e95be4aa2
Merge "Remove unused code" into sc-dev
2021-04-01 15:27:21 +00:00
Wesley.CW Wang
7366d71702
Fix BatteryInfo test fail
...
- rollback part of ag/14063746
Bug: 183689347
Test: make RunSettingsRoboTests
Change-Id: I11129713dac2584c54890f65af53ce76b0672b8d
2021-04-01 14:31:14 +00:00
tim peng
8e6583cf69
Merge "[Rohan]The battery level show up "-1%", not sync with Rohan." into sc-dev am: 6f96226f45
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14045485
Change-Id: Ib71bad87161501a98eec50ca3cbe12544f0c68c5
2021-04-01 14:00:28 +00:00
tim peng
6f96226f45
Merge "[Rohan]The battery level show up "-1%", not sync with Rohan." into sc-dev
2021-04-01 13:25:31 +00:00
Wesley Wang
7fbf2baf49
Merge "Fix testing fail for BatteryInfoTest and HighUsageTipTest" into sc-dev am: e949d0f870
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14063746
Change-Id: Ida57003f03a40fe813f299903b39502a5945f7d2
2021-04-01 12:14:23 +00:00
Wesley Wang
e949d0f870
Merge "Fix testing fail for BatteryInfoTest and HighUsageTipTest" into sc-dev
2021-04-01 11:30:22 +00:00
Wesley.CW Wang
d7e0fa959b
Fix testing fail for BatteryInfoTest and HighUsageTipTest
...
- Fix the test fail from ag/14048547
Bug: 183689347
Test: make RunSettingsRoboTests
Change-Id: Ia7a0d0fa567b1826a42b304a04e627e3b0e5f896
2021-04-01 18:28:14 +08:00