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
TreeHugger Robot
08affe5365
Merge "Add a divider line in safety settings" into sc-dev
2021-04-07 22:07:20 +00:00
Fan Zhang
eee07aacb9
Add icon to "Open [safety app] button
...
https://screenshot.googleplex.com/AjFhMECtQ4E9QAa.png
Bug: 184261824
Test: manual
Change-Id: I2b9b74077aec29dee3a34105584c5364fa663a84
2021-04-07 20:29:23 +00:00
TreeHugger Robot
ffca3330d5
Merge "Mark non actionable preferences as non-selectable" into sc-dev am: ec7c17c3cd
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14114141
Change-Id: I3f06b714d95a6a68ef6e34d9458a93e0df069360
2021-04-07 20:08:59 +00:00
Almaz Mingaleev
abb4a1c9d9
Merge "Move MIN_USE_DATE_OF_TIMEZONE to TimeUtils." am: e3d4e39144
am: 90d5572fa5
am: f3a44236e3
am: 18c9ff9bd2
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1658001
Change-Id: I398cff2fe75d33c8699b84817b2999c7d6c6b18b
2021-04-07 20:08:27 +00:00
TreeHugger Robot
ec7c17c3cd
Merge "Mark non actionable preferences as non-selectable" into sc-dev
2021-04-07 19:55:34 +00: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
Almaz Mingaleev
18c9ff9bd2
Merge "Move MIN_USE_DATE_OF_TIMEZONE to TimeUtils." am: e3d4e39144
am: 90d5572fa5
am: f3a44236e3
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1658001
Change-Id: I3f3ce9f7dc0528e492473dcf1f8344f0518119e1
2021-04-07 19:28:22 +00:00
Bonian Chen
625a8d53e1
Merge "[Settings] More log to help analysis" into sc-dev am: 44a45f0c49
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14103370
Change-Id: I18a8db8adbd5d8618fd79178509a57b0670481f8
2021-04-07 19:06:56 +00: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
Fan Zhang
209f2daeaf
Add a divider line in safety settings
...
https: //screenshot.googleplex.com/BmYJmftnAF354GY.png
Bug: 184261824
Test: manual
Change-Id: I67223f2811c0bf9a738ad3aedcbcff1f00749641
2021-04-07 19:05:32 +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
Almaz Mingaleev
f3a44236e3
Merge "Move MIN_USE_DATE_OF_TIMEZONE to TimeUtils." am: e3d4e39144
am: 90d5572fa5
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1658001
Change-Id: I75ef99ef2f008e98c12642c442e94f7daf860f69
2021-04-07 19:03:43 +00:00
Julia Reynolds
14cdcfdee9
Mark non actionable preferences as non-selectable
...
Test: navigate the conversations page with switch access enabled
Fixes: 178765656
Change-Id: If5d5dd301e2d95b4aa7512f58a6e1adf01f3dbf0
2021-04-07 14:35:39 -04:00
Bonian Chen
44a45f0c49
Merge "[Settings] More log to help analysis" into sc-dev
2021-04-07 18:11:32 +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
Almaz Mingaleev
90d5572fa5
Merge "Move MIN_USE_DATE_OF_TIMEZONE to TimeUtils." am: e3d4e39144
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1658001
Change-Id: Ia7c9b9c683429dcb51b79c57d745c7763a888721
2021-04-07 16:55:48 +00:00
Almaz Mingaleev
e3d4e39144
Merge "Move MIN_USE_DATE_OF_TIMEZONE to TimeUtils."
2021-04-07 16:19:33 +00:00
Bonian Chen
998554d68f
[Settings] More log to help analysis
...
Add log for supporting issue analysis.
Bug: 184602966
Test: local
Change-Id: I739ac827e0da1caca045e88599fafb293e25b65c
2021-04-07 16:12:38 +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
YUKAI HUNG
babe3b0e73
Merge "Remove the current battery usage chart and replace it with new one" into sc-dev
2021-04-07 14:57:47 +00:00
TreeHugger Robot
518e1235a4
Merge "Fix ANR on ShorcutManager#getPinnedShortcuts" into sc-dev am: 82b44b24cf
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14100762
Change-Id: Ib44ed2fe517966034cc9f064eeff8eb85d3c56f7
2021-04-07 12:44:08 +00:00
TreeHugger Robot
5ca377b85f
Merge "Fix AddNetworkFragment bottom buttons position problem" into sc-dev am: 97e98f0e44
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14110465
Change-Id: I0bb4f31cdaa2bfe83925742637fddb9827f8b2f9
2021-04-07 12:44:03 +00:00
tim peng
dd1f254c07
Merge "BTHS will have no sound after disable HD audio" into sc-dev am: 49244d8075
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14065246
Change-Id: Ibe2ca67f4f96b5c111a8cb81d1f90a65be379c5a
2021-04-07 12:43:31 +00:00
TreeHugger Robot
82b44b24cf
Merge "Fix ANR on ShorcutManager#getPinnedShortcuts" into sc-dev
2021-04-07 12:43:23 +00:00
TreeHugger Robot
97e98f0e44
Merge "Fix AddNetworkFragment bottom buttons position problem" into sc-dev
2021-04-07 12:38:14 +00:00
Arc Wang
741c1e4298
Pop up soft keyboard when rename dialog shows
...
Request focus for the EditText.
Bug: 184710864
Test: manual
At Storage Settings, select USB drive -> option menu
-> Rename. Observe if soft keyboard pops up.
Change-Id: Ia73829ee505c94a255306bd817d01b6bc1b80e26
2021-04-07 20:34:12 +08:00
tim peng
49244d8075
Merge "BTHS will have no sound after disable HD audio" into sc-dev
2021-04-07 12:26:15 +00:00
Treehugger Robot
9640ef1c7f
[automerger skipped] Merge "Modify the value of intent-filter" am: 15ecc3610d
am: e7ff215244
am: 53fa14267f
-s ours am: 3b71dd2042
-s ours
...
am skip reason: skip tag Change-Id I40dfeec1c25cd549bbe5559e3c3ce21813fbf922 with SHA-1 aaf21230a1
is already in history
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1579989
Change-Id: Icf9680ae948b86452df4d313fd4c17acc8847917
2021-04-07 12:23:41 +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
Arc Wang
24fe5922de
Sets Storage Settings progress bar unselectable
...
Since it does nothing if users click it.
Bug: 184712147
Test: manual
Change-Id: I7d243ad465a5fa3f23297ac80c82bef4d078e34a
2021-04-07 20:13:36 +08:00
Treehugger Robot
3b71dd2042
[automerger skipped] Merge "Modify the value of intent-filter" am: 15ecc3610d
am: e7ff215244
am: 53fa14267f
-s ours
...
am skip reason: skip tag Change-Id I40dfeec1c25cd549bbe5559e3c3ce21813fbf922 with SHA-1 aaf21230a1
is already in history
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1579989
Change-Id: Ic1f8a90abc0092cfd0c96e5863b48d50c9d4539f
2021-04-07 12:06:15 +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
Treehugger Robot
53fa14267f
Merge "Modify the value of intent-filter" am: 15ecc3610d
am: e7ff215244
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1579989
Change-Id: If539b29f4ebdcdac637fb8ff61e1752de5af5cd2
2021-04-07 11:25:59 +00:00
Treehugger Robot
e7ff215244
Merge "Modify the value of intent-filter" am: 15ecc3610d
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1579989
Change-Id: Ic58bf302f23ae363d22a3ca7b636c9586dc04364
2021-04-07 10:42:47 +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
15ecc3610d
Merge "Modify the value of intent-filter"
2021-04-07 10:11:06 +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
Jeremy Goldman
d62b2c23cf
Update string associated with Connected, Always On or Insecure VPNs
...
Previously these strings were separated with a comma, but the new design
is to separate them with a "/" and to not include always-on information
if the vpn is also insecure.
Comment thread on the strings doc: https://docs.google.com/document/d/1hjaYuGmvNzCKPOrmjixpmLLXBV8cbxgrZ3eN4KvC4E8/edit?resourcekey=0-zo7B2GVc9luQTut0o8THNA&hl=zh-TW&forcehl=1&disco=AAAAIF3eiQY
screenshot: https://screenshot.googleplex.com/BmBroUZtmUPJz9s
Test: atest -c SettingsUnitTests
Bug: 176821216
Change-Id: Ib9c273de61c9722b0beb6fba127e7481e6c64705
2021-04-07 17:04:13 +08:00
Sunny Shao
fe885c96c1
Use "Passwords & accounts" instead of "Passwords and accounts"
...
Bug: 184713810
Test: manual test
Change-Id: I48a7ae4f89b2a1df76254978173949ba463ed4a7
2021-04-07 16:58:17 +08:00
Ryan Lin
4ad147b31e
Merge "Change illustrations of Magnification Settings" into sc-dev am: 7bb5b8f326
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14098543
Change-Id: I8a9d6415dffb557f8603bc7e4fcd57132fff7643
2021-04-07 08:33:24 +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
Ryan Lin
7bb5b8f326
Merge "Change illustrations of Magnification Settings" into sc-dev
2021-04-07 08:19:32 +00:00
Arc Wang
cb8d0704dc
Fix AddNetworkFragment bottom buttons position problem
...
AddNetworkFragment bottom buttons align parent bottom,
it has display problem because collapsing toolbar changes
its height and squeeze the bottom buttons out of the screen.
This change sets the bottom buttons align the bottom of
other content.
Bug: 179656154
Test: manual visual
Change-Id: I6f0062d10c603e40e3f8c2683d5610418df6522a
2021-04-07 06:44:23 +00:00