Commit Graph

104163 Commits

Author SHA1 Message Date
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
Presubmit Automerger Backend
cc44f71530 [automerge] [Security] Verify the permission first before querying installed apps 2p: 42d5979f69
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17730673

Bug: 227753723
Change-Id: I6d6e57e086a694b992d847eca7f91617be3ef4d0
2022-04-13 03:27:15 +00:00
ykhung
42d5979f69 [Security] Verify the permission first before querying installed apps
Verify the target app "REQUEST_IGNORE_BATTERY_OPTIMIZATIONS" permission first before querying installed apps information to avoid the exposed the installed apps information and improve the performance by applying the early return flow.

Bug: 227753723
Test: make RunSettingsRoboTests
Change-Id: Ib5826b8082f4bf14f93d5ff4d2d332dc395bf9a8
2022-04-13 03:27:06 +00:00
PETER LIANG
45824fe888 Merge "Fix that device isn't responding for a while when resetting all settings on “Display size and text” page." into tm-dev am: 8bd6647885 am: 0d32cefec6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17614845

Change-Id: I34e74968dd35c195d7a80af1e6956e6baf349293
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-13 01:29:43 +00:00
Presubmit Automerger Backend
8eadfcd0d6 [automerge] Fix that device isn't responding for a while when resetting all settings on “Display size and text” page. 2p: 09a2a49bd3 am: 74dd53583b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17614845

Change-Id: I76f447e38c77aff30b587694088d053d50a524c5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-13 01:25:25 +00:00
TreeHugger Robot
4b92f32bce Merge "Add missing extra when launching apps" into tm-dev am: 14a3861f0b am: 628dd51d0d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17721989

Change-Id: I8dabb8240062f5e1af7aac7ae9ead69c40c26f66
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-13 01:21:46 +00:00
Julia Reynolds
773c7e937e [automerge] Add missing extra when launching apps 2p: 87bb1b34c5 am: 3d8de3e21f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17721989

Change-Id: I305aa504ba2c4b242078341b9af15e62b8a25a04
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-13 00:52:16 +00:00
PETER LIANG
c18637a51f Merge "Fix that device isn't responding for a while when resetting all settings on “Display size and text” page." into tm-dev am: 8bd6647885
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17614845

Change-Id: Ia7c99a555600f57989dcecd6afe7235640282a1a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-13 00:44:51 +00:00
PETER LIANG
0d32cefec6 Merge "Fix that device isn't responding for a while when resetting all settings on “Display size and text” page." into tm-dev am: 8bd6647885
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17614845

Change-Id: I8337840a07930756098dcc2809a71141c38766fd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-13 00:44:15 +00:00
Julia Reynolds
110a86073e Merge "Fix some history issues" into tm-dev am: b28925ad48 am: e2ef0bcdfc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17710594

Change-Id: I85b0462d686e9893982588e5d5cb606faaa781ca
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-13 00:43:55 +00:00
Julia Reynolds
82f3a1e68a Merge changes from topic "presubmit-am-1e7fa8f458a24c9bb07a3501870823fc" into tm-mainline-prod am: 7ba6728cd8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17710594

Change-Id: Iea4c076da135dddaa338e7be490abbb91dc6639a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-13 00:41:25 +00:00
PETER LIANG
8bd6647885 Merge "Fix that device isn't responding for a while when resetting all settings on “Display size and text” page." into tm-dev 2022-04-13 00:39:27 +00:00