YUKAI HUNG
185c1597d9
Merge "Invoke close() method for BatteryUsageStats to close cursor window"
2021-09-29 03:27:10 +00:00
TreeHugger Robot
f5d0a1e6b0
Merge "Do not update the previously connected devices for the sub device"
2021-09-29 01:40:22 +00:00
Xin Li
8aa74d1ad4
Merge SP1A.210812.016
...
Merged-In: Ie9cea79f825b78495b1f93527f3fa980f9b975e3
Change-Id: Ib853137811901796f73e4d720accb3249a7db963
2021-09-28 19:39:58 +00:00
ykhung
454698d97e
Invoke close() method for BatteryUsageStats to close cursor window
...
invoke close() method for BatteryUsageStats to close cursor window,
since BatteryUsageStats will implement "Closeable" interface in T.
(from Dimitri's request)
Bug: 201229421
Test: make SettingsRoboTests
Change-Id: Ibfca404d00cce51405cffddb636f685869ac130b
2021-09-29 00:44:11 +08:00
ykhung
96a8e63ebd
[Robustness] protect get battery stats from DeadSystemException am: e893a890ca am: f63b2e08da
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15926630
Change-Id: I3730258d026f39fe0e31e080128d812231ca3e00
2021-09-28 11:48:53 +00:00
ykhung
f63b2e08da
[Robustness] protect get battery stats from DeadSystemException am: e893a890ca
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15926630
Change-Id: I3b7223abc84971b2d9051d2c777a37c85404985a
2021-09-28 11:33:46 +00:00
Alice Kuo
a6d549fee3
Do not update the previously connected devices for the sub device
...
As bluetooth turn on, and device reboot, UI will show the sub device
entry for hearing aid device or csip device. Check if the device is a sub device, do not update the cachedDevice information.
Bug: 150670922
Bug: 178981521
Test: bonded with a coordinated set. Check the UI only have one entry as Bluetooth turn on and device reboot.
Change-Id: I03dfdc25b57e614194fb8de2c9265edd50760d30
2021-09-28 10:25:06 +00:00
ykhung
e893a890ca
[Robustness] protect get battery stats from DeadSystemException
...
Refine the original workaround patch in the ag/15527095 from NPE to
return default BatteryUsageStats instance as we merged in the
ag/15919139 (align the same solution).
Bug: 195306545
Test: make SettingsRoboTests
Change-Id: Ic03e8296d16ecb8629155f75727e9cde48c303eb
2021-09-28 10:00:50 +00:00
YUKAI HUNG
5e32dec664
Merge "[S-QPR1] protect gettinng battery stats from DeadSystemException" into sc-qpr1-dev am: 36072e86ef
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15919139
Change-Id: I92e32ec565c45d58b28c1430693f5fba11780844
2021-09-28 07:30:26 +00:00
YUKAI HUNG
4f513d7237
Merge "[S-QPR1] add package name for enable/disable app user actions metric" into sc-qpr1-dev am: 4a4f13d5b0
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15919140
Change-Id: Icdc5d87aa5f41ab32fc546d0bd513d505bcebd51
2021-09-28 07:30:13 +00:00
YUKAI HUNG
36072e86ef
Merge "[S-QPR1] protect gettinng battery stats from DeadSystemException" into sc-qpr1-dev
2021-09-28 07:19:59 +00:00
PETER LIANG
a507085d09
Merge "Add the max height restriction into the illustration view." into sc-v2-dev am: 65faee72f5 am: 7260fe0330
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15809052
Change-Id: Id6051ae6b6e43bd78375beee27eb5982423de400
2021-09-28 06:13:05 +00:00
PETER LIANG
7260fe0330
Merge "Add the max height restriction into the illustration view." into sc-v2-dev am: 65faee72f5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15809052
Change-Id: Id9e4ca6f0c53a8924b75c7c31120d9776f9469de
2021-09-28 05:58:52 +00:00
PETER LIANG
65faee72f5
Merge "Add the max height restriction into the illustration view." into sc-v2-dev
2021-09-28 05:43:21 +00:00
Curtis Belmonte
1fb716d892
Make biometric setting toggles show dynamic auth types am: a9c582262e am: 52d3b2b802
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15925915
Change-Id: I1cf633c0e5792ad2ca0dcc08a11344499888c1ef
2021-09-28 01:28:09 +00:00
Curtis Belmonte
52d3b2b802
Make biometric setting toggles show dynamic auth types am: a9c582262e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15925915
Change-Id: I7e254e16a0c2de4b891f287f2339d4d12f603efb
2021-09-28 01:13:53 +00:00
Curtis Belmonte
a9c582262e
Make biometric setting toggles show dynamic auth types
...
Updates the preference toggles shown on the combined biometric settings
screen to indicate which types of biometric sensor (e.g. face and/or
fingerprint) each setting applies to. This is done by checking the
maximum registered strength for each type of sensor.
Test: Manual
Bug: 193714498
Bug: 201306569
Change-Id: I1f27bbe1fdd172ebc899c3c5f1daef9095b338bd
2021-09-27 15:55:43 -07:00
Julia Reynolds
c86d3d5218
Always return the same result code in access screens am: 1aff9c726a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15908133
Change-Id: I328c2178b009849d67a9ab1c74b22af832e0ca3c
2021-09-27 16:07:00 +00:00
TreeHugger Robot
6a9d8bc5bc
Merge "Revert "Move Automatic System Updates from Developer Options to ..."" into sc-qpr1-dev am: cc1cc9a5f7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15895168
Change-Id: I5c6bd25d10088435a5f41010d825c5baf172a778
2021-09-27 15:49:47 +00:00
ykhung
68421b5df8
[S-QPR1] add package name for enable/disable app user actions metric
...
add package name into the metric per @wangkelly request to analyze users behavior in the battery setting relative CUJ:
go/battery-setting-enums
go/battery-setting-metrics-dev
Bug: 199807285
Test: make SettingsRoboTests
Change-Id: Ica6da59b933b0dcff940215d4e537a670bac52cb
(cherry picked from commit e12712dd1d )
2021-09-27 12:59:55 +00:00
Arc Wang
8524de9911
Merge "[Large screen] Show full screen CreateShortcutActivity" into sc-v2-dev am: d749c4eadf am: 0f9f5056d0
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15919134
Change-Id: I65294f9d595eaca88107db85b272468964cbf77f
2021-09-27 12:14:33 +00:00
Arc Wang
0f9f5056d0
Merge "[Large screen] Show full screen CreateShortcutActivity" into sc-v2-dev am: d749c4eadf
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15919134
Change-Id: Ibd8b3c84ecdcc881e9c9e92f75792cba02f41dcc
2021-09-27 12:00:18 +00:00
Arc Wang
d749c4eadf
Merge "[Large screen] Show full screen CreateShortcutActivity" into sc-v2-dev
2021-09-27 11:50:40 +00:00
ykhung
22e637bfc9
[S-QPR1] protect gettinng battery stats from DeadSystemException
...
In some corner cases, we will receive the DeadSystemException from
BatteryStatService when invoking getBatteryUsageStats() method, since it
will encounter the binder transaction too large error. Before the root
cause is resolved by the BatteryStatService team, we have to add
workaround protection in the app side to avoid Setting is crashed.
Bug: 191237968
Bug: 198084535
Test: make SettingsRoboTests
Change-Id: I783479241bac83b4afc8ced3073e1b1db302c48c
Merged-In: I75fcf63f4f69d86d6dce0e12bd4d738b1219ae47
2021-09-27 09:57:41 +00:00
Arc Wang
3e8164647c
[Large screen] Show full screen CreateShortcutActivity
...
Show full screen for CreateShortcutActivity because
-Launcher startActivityForResult for Intent.ACTION_CREATE_SHORTCUT and
activity stack starts from launcher, CreateShortcutActivity will not
follows SplitPaitRule registered by Settings.
- There is no CreateShortcutActivity entry point from Settings app UI.
Bug: 200916507
Test: manual
Launcher menu -> Widgets -> Settings -> select an item.
Observe if it goes back go launcher.
Change-Id: I437ff9b82d5a4548e10aed7bd083fd01352433f4
2021-09-27 17:44:41 +08:00
Yanting Yang
e2550c777a
Merge "Fix crash of PictureInPictureDetailPreferenceController" into sc-v2-dev am: 2129ea5947 am: 8269df988f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15895167
Change-Id: Ifb661042222a49700a0eed8007f207cf1202647b
2021-09-27 03:24:06 +00:00
Yanting Yang
8269df988f
Merge "Fix crash of PictureInPictureDetailPreferenceController" into sc-v2-dev am: 2129ea5947
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15895167
Change-Id: I70e9abf03d0985c7e327692a96b66fc731978b1f
2021-09-27 03:09:48 +00:00
Yanting Yang
2129ea5947
Merge "Fix crash of PictureInPictureDetailPreferenceController" into sc-v2-dev
2021-09-27 03:04:02 +00:00
Julia Reynolds
46d1d28ae6
Always return the same result code in access screens am: 1aff9c726a am: e21284e8d9 am: eba8afd3e6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15908133
Change-Id: I62c0fb6dce6e2d7d0254868cabe009d5acf4a4fb
2021-09-24 20:02:07 +00:00
Julia Reynolds
eba8afd3e6
Always return the same result code in access screens am: 1aff9c726a am: e21284e8d9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15908133
Change-Id: I264b8cb65037681c6e48f5435e5da6a590207dc3
2021-09-24 19:49:33 +00:00
Julia Reynolds
e21284e8d9
Always return the same result code in access screens am: 1aff9c726a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15908133
Change-Id: Ib1df91f97e9dd60cf13871db1eef62e4180d7e95
2021-09-24 19:35:14 +00:00
Julia Reynolds
1aff9c726a
Always return the same result code in access screens
...
Regardless if the target package exists or not.
Test: Launch dnd and NLS screen with valid and invalid
packages; ensure the result code is the same for both
Bug: 195412179
Change-Id: I1bacd54c2971afb3733ca2f1462bcaabaada300b
2021-09-24 18:05:27 +00:00
Treehugger Robot
d2bb46dfc9
Merge "[Settings] backport missing CL" am: a8ee80e95a am: 15c0678ca8 am: da36a07df1 am: 577abc36f7 am: 7f24ff7dc9
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1836333
Change-Id: I1d5164ad4d378d493e8d711116ffc34b3501f49d
2021-09-24 11:28:48 +00:00
Treehugger Robot
7f24ff7dc9
Merge "[Settings] backport missing CL" am: a8ee80e95a am: 15c0678ca8 am: da36a07df1 am: 577abc36f7
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1836333
Change-Id: I2ce19df31bed53387b96a7a1104380a939994753
2021-09-24 11:13:57 +00:00
Yanting Yang
31d9ec3356
Fix crash of PictureInPictureDetailPreferenceController
...
PackageManager.getPackageInfoAsUser() will throw DeadObjectException
when the package is too large which is a known issue to PackageManager
but very low priority given resourcing constraints. As per the
PackageManager team suggestion, catch the exception on the app side to
alleviate the impact to the App info page.
Bug: 198861478
Test: manual
Change-Id: I3115cf1b99a305efef192a0dcf3e809eb7903d0a
2021-09-24 19:11:28 +08:00
Treehugger Robot
577abc36f7
Merge "[Settings] backport missing CL" am: a8ee80e95a am: 15c0678ca8 am: da36a07df1
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1836333
Change-Id: I684ceac5e6c70a2766b0dc3e14f2c8b40e4ad806
2021-09-24 10:53:17 +00:00
Treehugger Robot
da36a07df1
Merge "[Settings] backport missing CL" am: a8ee80e95a am: 15c0678ca8
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1836333
Change-Id: I687c80bc2f50b242151edffdb8ab97307d08b9d9
2021-09-24 10:40:36 +00:00
Treehugger Robot
15c0678ca8
Merge "[Settings] backport missing CL" am: a8ee80e95a
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1836333
Change-Id: I09f384d8d7073270d4bf460e91a52021a69e3e19
2021-09-24 10:24:31 +00:00
Bonian Chen
dc3c1e8a4b
[Settings] backport missing CL
...
aosp/1258356 got missing when merging several CLs of refactor code in
aosp/1281915.
Bug: 186543910
Test: local
Change-Id: I34287b22fec4da660c7b44b5953eb16591cfb2d7
2021-09-24 15:45:30 +08:00
Arc Wang
5d6f9f714b
Show full screen 'Free up space' for large screen devices am: ec350919ea am: ca79841b3a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15809064
Change-Id: I20c452971da9e8342262727da79cb5f4aa224e4b
2021-09-24 06:55:11 +00:00
Arc Wang
ca79841b3a
Show full screen 'Free up space' for large screen devices am: ec350919ea
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15809064
Change-Id: Id5287dc07781158bdabe502e831a0a29e463e6dc
2021-09-24 06:44:26 +00:00
Peter_Liang
af5f355b35
Add the max height restriction into the illustration view.
...
Bug: 191721423
Test: manual test
Change-Id: I3829ead500eaf586f6d543855690ee8f0d0913ff
2021-09-24 14:42:53 +08:00
TreeHugger Robot
98cad31f2a
Merge "Revert "Move Automatic System Updates from Developer Options to ..."" into sc-qpr1-dev am: cc1cc9a5f7 am: 59461a5836 am: 734ad243bf
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15895168
Change-Id: I977c218433b1eb2daf493b6b238293fbe96620f4
2021-09-24 06:25:28 +00:00
TreeHugger Robot
734ad243bf
Merge "Revert "Move Automatic System Updates from Developer Options to ..."" into sc-qpr1-dev am: cc1cc9a5f7 am: 59461a5836
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15895168
Change-Id: Ib26aa0459ddaec88e8c6eb935e57acfb7cf3a771
2021-09-24 06:07:09 +00:00
TreeHugger Robot
59461a5836
Merge "Revert "Move Automatic System Updates from Developer Options to ..."" into sc-qpr1-dev am: cc1cc9a5f7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15895168
Change-Id: I869ee6339bce5342b023ca65bba44afc9e594a68
2021-09-24 05:54:39 +00:00
TreeHugger Robot
cc1cc9a5f7
Merge "Revert "Move Automatic System Updates from Developer Options to ..."" into sc-qpr1-dev
2021-09-24 05:44:36 +00:00
Arc Wang
ec350919ea
Show full screen 'Free up space' for large screen devices
...
Uses Intent.FLAG_ACTIVITY_NEW_TASK to start the Activity
and it will shows in different Activity stack.
Then it shows full screen 'Free up space' for different
Activity stack.
Bug: 197703552
Test: manual
Storage -> click 'Free up space'
Change-Id: I8ce16aa23438424d4990171449884755e36cf21d
2021-09-24 05:23:35 +00:00
Bonian Chen
21a9ec09e0
Merge "[Crash] finish activity without super#onResume()"
2021-09-24 05:17:15 +00:00
YUKAI HUNG
a006e4c8fc
Merge "[Security] resolve overlay attack on RequestIgnoreBatteryOptimizations" into sc-v2-dev am: d24f289548 am: e401e37369
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15898228
Change-Id: I750731ab9eb4bc063b33b2ca4c80999f5544b64f
2021-09-24 02:56:15 +00:00
YUKAI HUNG
e401e37369
Merge "[Security] resolve overlay attack on RequestIgnoreBatteryOptimizations" into sc-v2-dev am: d24f289548
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15898228
Change-Id: I27699bd328f33a95b18cedf3f497bf358d30bca5
2021-09-24 02:44:14 +00:00