Commit Graph

104676 Commits

Author SHA1 Message Date
Calvin Pan
9f4b8691e2 [automerge] Remove subtitle of system default 2p: 9ee9787dd3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17742044

Bug: 226894987
Change-Id: I243580150c421ee8291cbddce1aacee150bd82ee
2022-04-13 09:16:21 +00:00
Calvin Pan
9ee9787dd3 Remove subtitle of system default
Bug: 226894987
Test: manual
Change-Id: Iaa5e680567f5bb1d52f9a3ea911f1b573ba5b238
2022-04-13 09:12:16 +00:00
Presubmit Automerger Backend
2885a43ddd [automerge] Unchecked battery saver switch once it's 1st launch 2p: d2ce1d9194
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17707388

Bug: 227725656
Change-Id: If2036f7792f3c9358e88061d5afd4873612fd3f9
2022-04-13 09:07:40 +00:00
Wesley Wang
d2ce1d9194 Unchecked battery saver switch once it's 1st launch
- Add low battery warning ack check to onSwitchChanged(), reset the
   switch to off once it's 1st time launch, the switch should be enable
   by battery saver change event at 1st instead of enable directly, will
   not check this state anymore after 1st launch

Bug: 227725656
Test: make RunSettingsRoboTests
Change-Id: I79f502f567fae5dd10166d8b24fd50d59c261001
2022-04-13 17:06:52 +08:00
TreeHugger Robot
be8c042b4e Merge "[Panlingual] Fix settings's crash." into tm-dev am: 4bc8231c71
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17730681

Change-Id: If7f05e552a399aab66af5cc6500d164a44e7df1a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-13 09:02:22 +00:00
TreeHugger Robot
264d7ab70b Merge changes from topic "presubmit-am-470cc8509f0d4b8d8bcd9ac67434e185" into tm-mainline-prod am: a1e10371ff
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17716525

Change-Id: Ia983446ce0744bb74c2e986a6cbec6ca6fa4bd84
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-13 09:01:53 +00:00
TreeHugger Robot
c6594161e8 Merge "[Panlingual] Fix settings's crash." into tm-dev am: 4bc8231c71
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17730681

Change-Id: If106e9bb879f74d022b4978ba65e99ca9c0354d1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-13 09:01:33 +00:00
TreeHugger Robot
4bc8231c71 Merge "[Panlingual] Fix settings's crash." into tm-dev 2022-04-13 08:58:07 +00:00
TreeHugger Robot
1bc58cfe76 Merge changes from topic "presubmit-am-fbcb86dcb4cc4374ba5034829b6bb3db" into tm-mainline-prod
* changes:
  [automerge] [Panlingual] Fix settings's crash. 2p: 25dc3817a9
  [Panlingual] Fix settings's crash.
2022-04-13 08:58:07 +00:00
TreeHugger Robot
4cbf0242d1 Merge "Remove redundant WiFi tethering listener" into tm-dev am: dae29a84fa
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17716525

Change-Id: Ieaf47b8a43bc868baf2cc7a240ea6eb5e9e074ec
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-13 08:52:39 +00:00
TreeHugger Robot
b9a673b31b Merge "Remove redundant WiFi tethering listener" into tm-dev am: dae29a84fa
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17716525

Change-Id: Ibdf01f6d3730738045474089ce5b28983f0f7d25
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-13 08:51:40 +00:00
TreeHugger Robot
a1e10371ff Merge changes from topic "presubmit-am-470cc8509f0d4b8d8bcd9ac67434e185" into tm-mainline-prod
* changes:
  [automerge] Remove redundant WiFi tethering listener 2p: 37edbd33b8
  Remove redundant WiFi tethering listener
2022-04-13 08:07:45 +00:00
TreeHugger Robot
dae29a84fa Merge "Remove redundant WiFi tethering listener" into tm-dev 2022-04-13 08:07:45 +00:00
Presubmit Automerger Backend
f2bdc7519e [automerge] [Panlingual] Fix settings's crash. 2p: 25dc3817a9 2p: d12e3daef6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17730681

Bug: 229044820
Change-Id: Ia572e4ee0a5e2cf1ab10082a969a76986343b53d
2022-04-13 06:57:36 +00:00
Presubmit Automerger Backend
d12e3daef6 [automerge] [Panlingual] Fix settings's crash. 2p: 25dc3817a9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17730681

Bug: 229044820
Change-Id: I4aef38ef2bf95c1aa83f60e5cfeb856b3a373bb9
2022-04-13 06:57:30 +00:00
tom hsu
25dc3817a9 [Panlingual] Fix settings's crash.
- fix crash due to no listview.

Bug: 229044820
Test: local
Change-Id: Ic3a15f9cfd89ff24ce1d764417de4686e10d3008
2022-04-13 14:56:23 +08:00
YK Hung
7ebcb13de3 Merge "[Security] Verify the permission first before querying installed apps" into tm-dev am: d3c3a2fdff am: 27ed1e679e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17730673

Change-Id: I5caedc0d316a35335cade41db589a8b60a1049fe
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-13 06:45:12 +00:00
YK Hung
1cb1f27409 Merge changes from topic "presubmit-am-57a4c6718ca64e5aa29f52e2a381bac4" into tm-mainline-prod am: 0354a67716
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17730673

Change-Id: I9ea8eec4809a47c5c91ee8cc2319fa2a7ccf2472
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-13 06:36:03 +00:00
YK Hung
ee35470453 Merge "[Security] Verify the permission first before querying installed apps" into tm-dev am: d3c3a2fdff
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17730673

Change-Id: I2a26f82d91649003a2dba196ced1bc367d6c881e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-13 06:22:24 +00:00
YK Hung
27ed1e679e Merge "[Security] Verify the permission first before querying installed apps" into tm-dev am: d3c3a2fdff
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17730673

Change-Id: I797f3186b35a99886570770298d169b172914b10
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-13 06:21:25 +00:00
YK Hung
d3c3a2fdff Merge "[Security] Verify the permission first before querying installed apps" into tm-dev 2022-04-13 06:01:11 +00:00
YK Hung
b5b0bea16b Merge changes from topic "presubmit-am-57a4c6718ca64e5aa29f52e2a381bac4"
* changes:
  [automerge] [Security] Verify the permission first before querying installed apps 2p: 42d5979f69 2p: cc44f71530
  [automerge] [Security] Verify the permission first before querying installed apps 2p: 42d5979f69
  [Security] Verify the permission first before querying installed apps
2022-04-13 06:01:11 +00:00
YK Hung
0354a67716 Merge changes from topic "presubmit-am-57a4c6718ca64e5aa29f52e2a381bac4" into tm-mainline-prod
* changes:
  [automerge] [Security] Verify the permission first before querying installed apps 2p: 42d5979f69
  [Security] Verify the permission first before querying installed apps
2022-04-13 06:01:11 +00:00
Edgar Wang
7c188baaf0 Merge "Fix LaunchAnyWhere in AppRestrictionsFragment" into tm-dev am: a4a14e9bdc am: 9ea70fc349
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17614846

Change-Id: Ib9f1ade54acd6ef2237f9316bf2581969be96f39
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-13 05:01:56 +00:00
Edgar Wang
1441e9e990 Merge "Index the gesture options in System Navigation Settings page" into tm-dev am: 5a539c5cb2 am: ace3010e39
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17684395

Change-Id: I49ef8b4ee34d25294e1b09ebcd4cd89403520e63
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-13 05:01:49 +00:00
Edgar Wang
07c4861486 Merge "Fix "Factory Reset" fails to reset the device" into tm-dev am: f797153708 am: 43e8f350d1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17684397

Change-Id: Ia9c902f810f0d653fcdf57fbc6979fc8d4bb1b27
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-13 05:01:33 +00:00
Edgar Wang
6cb3a5ff2b Merge changes from topic "presubmit-am-5513fca9a4904e75827e4e4077587542" into tm-mainline-prod am: b6582aa68c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17614846

Change-Id: Ib7fbe47a5f44e47b5c11ca4e98f22ca62bfc00ab
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-13 05:01:16 +00:00
Edgar Wang
d39da6edfe Merge changes from topic "presubmit-am-020809e13415452dbdf7bee571efa369" into tm-mainline-prod am: 2c52db547b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17684395

Change-Id: I7e2bf9fc43b804ba531be752b8ad7e8dd569fa1c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-13 05:01:06 +00:00
Edgar Wang
88ccd14e32 Merge "Fix LaunchAnyWhere in AppRestrictionsFragment" into tm-dev am: a4a14e9bdc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17614846

Change-Id: I5faf53c2b7070bae3b1584d29aa3042466bc1e5d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-13 05:00:43 +00:00
Edgar Wang
f520a1f648 Merge "Index the gesture options in System Navigation Settings page" into tm-dev am: 5a539c5cb2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17684395

Change-Id: I3c3891c154e4fec5214741afc9a9792fa39b5e90
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-13 05:00:13 +00:00
Edgar Wang
9ea70fc349 Merge "Fix LaunchAnyWhere in AppRestrictionsFragment" into tm-dev am: a4a14e9bdc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17614846

Change-Id: I9ad7ed5623e93b22bc521465eca53c8897881c78
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-13 04:59:47 +00:00
Edgar Wang
ace3010e39 Merge "Index the gesture options in System Navigation Settings page" into tm-dev am: 5a539c5cb2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17684395

Change-Id: I99e3ee1a40d80446e01ddccd7023ca1ebc2cdc99
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-13 04:59:39 +00:00
Edgar Wang
65f1e4eea5 Merge "Fix "Factory Reset" fails to reset the device" into tm-dev am: f797153708
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17684397

Change-Id: I87e656aec7fd22e5e822d075f4a68163bd3cfb1c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-13 04:59:32 +00:00
Edgar Wang
43e8f350d1 Merge "Fix "Factory Reset" fails to reset the device" into tm-dev am: f797153708
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17684397

Change-Id: I3074f1d70b1301e3464d728975e58a32e0d57af1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-13 04:59:10 +00:00
Edgar Wang
d068712bbd Merge changes from topic "presubmit-am-d486feda52034c51a2dd75eb56afa2c2" into tm-mainline-prod am: e19f7f4222
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17684397

Change-Id: Ib544e4ed8851c686f3f4b70825728f267b54c603
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-13 04:58:59 +00:00
Edgar Wang
019eb77224 Fix LaunchAnyWhere in AppRestrictionsFragment
If the intent's package equals to the app's package, this intent
will be allowed to startActivityForResult.
But this check is unsafe, because if the component of this intent
is set, the package field will just be ignored. So if we set the
component to any activity we like and set package to the app's
package, it will pass the assertSafeToStartCustomActivity check
and now we can launch anywhere.

Bug: 223578534
Test: robotest and manual verify
Change-Id: I40496105bae313fe5cff2a36dfe329c1e2b5bbe4
(cherry picked from commit 90e095dbe3)
2022-04-13 04:51:09 +00:00
Edgar Wang
f600c05a5a Fix LaunchAnyWhere in AppRestrictionsFragment
If the intent's package equals to the app's package, this intent
will be allowed to startActivityForResult.
But this check is unsafe, because if the component of this intent
is set, the package field will just be ignored. So if we set the
component to any activity we like and set package to the app's
package, it will pass the assertSafeToStartCustomActivity check
and now we can launch anywhere.

Bug: 223578534
Test: robotest and manual verify
Change-Id: I40496105bae313fe5cff2a36dfe329c1e2b5bbe4
(cherry picked from commit 90e095dbe3)
2022-04-13 04:50:33 +00:00
Edgar Wang
f8f45888e6 Fix LaunchAnyWhere in AppRestrictionsFragment
If the intent's package equals to the app's package, this intent
will be allowed to startActivityForResult.
But this check is unsafe, because if the component of this intent
is set, the package field will just be ignored. So if we set the
component to any activity we like and set package to the app's
package, it will pass the assertSafeToStartCustomActivity check
and now we can launch anywhere.

Bug: 223578534
Test: robotest and manual verify
Change-Id: I40496105bae313fe5cff2a36dfe329c1e2b5bbe4
(cherry picked from commit 90e095dbe3)
2022-04-13 04:50:03 +00:00
Edgar Wang
1b9da55a31 Fix LaunchAnyWhere in AppRestrictionsFragment
If the intent's package equals to the app's package, this intent
will be allowed to startActivityForResult.
But this check is unsafe, because if the component of this intent
is set, the package field will just be ignored. So if we set the
component to any activity we like and set package to the app's
package, it will pass the assertSafeToStartCustomActivity check
and now we can launch anywhere.

Bug: 223578534
Test: robotest and manual verify
Change-Id: I40496105bae313fe5cff2a36dfe329c1e2b5bbe4
(cherry picked from commit 90e095dbe3)
2022-04-13 04:49:26 +00:00
Edgar Wang
aeb36e5c28 Fix LaunchAnyWhere in AppRestrictionsFragment
If the intent's package equals to the app's package, this intent
will be allowed to startActivityForResult.
But this check is unsafe, because if the component of this intent
is set, the package field will just be ignored. So if we set the
component to any activity we like and set package to the app's
package, it will pass the assertSafeToStartCustomActivity check
and now we can launch anywhere.

Bug: 223578534
Test: robotest and manual verify
Change-Id: I40496105bae313fe5cff2a36dfe329c1e2b5bbe4
(cherry picked from commit 90e095dbe3)
2022-04-13 04:48:46 +00:00
Edgar Wang
b3eecdd13d Fix LaunchAnyWhere in AppRestrictionsFragment
If the intent's package equals to the app's package, this intent
will be allowed to startActivityForResult.
But this check is unsafe, because if the component of this intent
is set, the package field will just be ignored. So if we set the
component to any activity we like and set package to the app's
package, it will pass the assertSafeToStartCustomActivity check
and now we can launch anywhere.

Bug: 223578534
Test: robotest and manual verify
Change-Id: I40496105bae313fe5cff2a36dfe329c1e2b5bbe4
(cherry picked from commit 90e095dbe3)
2022-04-13 04:47:24 +00:00
Edgar Wang
a4a14e9bdc Merge "Fix LaunchAnyWhere in AppRestrictionsFragment" into tm-dev 2022-04-13 04:38:57 +00:00
Edgar Wang
b6582aa68c Merge changes from topic "presubmit-am-5513fca9a4904e75827e4e4077587542" into tm-mainline-prod
* changes:
  [automerge] Fix LaunchAnyWhere in AppRestrictionsFragment 2p: 90e095dbe3
  Fix LaunchAnyWhere in AppRestrictionsFragment
2022-04-13 04:38:57 +00:00
Edgar Wang
2c52db547b Merge changes from topic "presubmit-am-020809e13415452dbdf7bee571efa369" into tm-mainline-prod
* changes:
  [automerge] Index the gesture options in System Navigation Settings page 2p: 257ebe4a5e
  Index the gesture options in System Navigation Settings page
2022-04-13 04:34:04 +00:00
Edgar Wang
5a539c5cb2 Merge "Index the gesture options in System Navigation Settings page" into tm-dev 2022-04-13 04:34:04 +00:00
Edgar Wang
e40e18c10d Merge changes from topic "presubmit-am-020809e13415452dbdf7bee571efa369"
* changes:
  [automerge] Index the gesture options in System Navigation Settings page 2p: 257ebe4a5e 2p: 739a359b07
  [automerge] Index the gesture options in System Navigation Settings page 2p: 257ebe4a5e
  Index the gesture options in System Navigation Settings page
2022-04-13 04:34:04 +00:00
Edgar Wang
f797153708 Merge "Fix "Factory Reset" fails to reset the device" into tm-dev 2022-04-13 04:33:07 +00:00
Edgar Wang
e19f7f4222 Merge changes from topic "presubmit-am-d486feda52034c51a2dd75eb56afa2c2" into tm-mainline-prod
* changes:
  [automerge] Fix "Factory Reset" fails to reset the device 2p: f8739eda93
  Fix "Factory Reset" fails to reset the device
2022-04-13 04:33:07 +00:00
Edgar Wang
8f0606d350 Merge changes from topic "presubmit-am-d486feda52034c51a2dd75eb56afa2c2"
* changes:
  [automerge] Fix "Factory Reset" fails to reset the device 2p: f8739eda93 2p: 8b50a41576
  [automerge] Fix "Factory Reset" fails to reset the device 2p: f8739eda93
  Fix "Factory Reset" fails to reset the device
2022-04-13 04:33:07 +00:00
Presubmit Automerger Backend
68c5cbbf29 [automerge] [Security] Verify the permission first before querying installed apps 2p: 42d5979f69 2p: cc44f71530
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17730673

Bug: 227753723
Change-Id: Ia961edd92d096c60e9cc4826dc4d57aa168f9ddb
2022-04-13 03:27:22 +00:00