Chaohui Wang
f2178a48ee
Merge "Clean up unused Sliceable.copy()" into tm-dev
2022-04-07 17:31:08 +00:00
TreeHugger Robot
e406597fe2
Merge "Restrict Wi-Fi toggle in Internet Settings" into tm-dev am: 59c849da4d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17628094
Change-Id: I2b91d4ac1320ce79037c073f913800f0f0ca785c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-04-07 11:54:52 +00:00
TreeHugger Robot
59c849da4d
Merge "Restrict Wi-Fi toggle in Internet Settings" into tm-dev
2022-04-07 11:47:51 +00:00
TreeHugger Robot
739b57cf0e
Merge "Hide non-system overlay window on ActivityPicker" into tm-dev am: 746502e98c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17628091
Change-Id: Ieebd00482a3532bae1b12546b2ec45d2dc9300ba
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-04-07 09:55:33 +00:00
TreeHugger Robot
746502e98c
Merge "Hide non-system overlay window on ActivityPicker" into tm-dev
2022-04-07 06:51:35 +00:00
Josh Hou
98490cc740
[Panlingual] Screen title is displayed incorrectly
...
Fix the issue that the screen title name of the app language page is displayed incorrectly
Bug: 227285277
Test: Verify the issue by testing between the system language and app
language page
Change-Id: I5dbb10763bd5cc346bff9c270b14b945eb499273
2022-04-07 14:02:22 +08:00
Weng Su
22c8bf81e1
Restrict Wi-Fi toggle in Internet Settings
...
- Disable Wi-Fi toggle when user is not allowed to change Wi-Fi state.
- Show restriction message in Wi-Fi toggle summary.
- See the result screenshot in b/203168097#comment24
Bug: 203168097
Test: manual test
atest -c WifiSwitchPreferenceControllerTest
Change-Id: I3cfe2f4f0e855dde91a82babe3a03005c3985d59
2022-04-07 12:06:13 +08:00
Arc Wang
1c8edd20a3
[automerge] Hide non-system overlay window on ActivityPicker 2p: b95bd5b449
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17628095
Bug: 181962311
Change-Id: I7f99b94832948db188ddd45fd5e2a87ebc28af6f
Merged-In: I800f0f39a469a95eb36eeaaeb2aa60a39fd916d3
2022-04-07 03:35:48 +00:00
Arc Wang
b95bd5b449
Hide non-system overlay window on ActivityPicker
...
To improve security.
Bug: 181962311
Test: manual
Show an AlertDialog and observe if it will hide after below command.
adb shell am start -a android.intent.action.PICK_ACTIVITY -n com.android.settings/.ActivityPicker
Change-Id: I800f0f39a469a95eb36eeaaeb2aa60a39fd916d3
Merged-In: I800f0f39a469a95eb36eeaaeb2aa60a39fd916d3
2022-04-07 11:33:54 +08:00
Tom Hsu
e82ca817a1
Merge "[Panlingual] Fix the back button press" into tm-dev am: a9d7aae694
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17615237
Change-Id: Id9675919d94a715e77c930f79ba5f471c467ba4e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-04-07 03:10:44 +00:00
Tom Hsu
a9d7aae694
Merge "[Panlingual] Fix the back button press" into tm-dev
2022-04-07 02:52:23 +00:00
Arc Wang
877a41b054
Hide non-system overlay window on ActivityPicker
...
To improve security.
Bug: 181962311
Test: manual
Show an AlertDialog and observe if it will hide after below command.
adb shell am start -a android.intent.action.PICK_ACTIVITY -n com.android.settings/.ActivityPicker
Change-Id: I800f0f39a469a95eb36eeaaeb2aa60a39fd916d3
2022-04-07 10:39:13 +08:00
TreeHugger Robot
cd10b0552e
Merge "[Panlingual] Fix settings crash from rotation." into tm-dev am: e0f6939c4c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17615231
Change-Id: I0ec167e7c12e1f3f22811c239644985f863c06ca
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-04-06 15:54:57 +00:00
tom hsu
c0214ff9f3
[Panlingual] Fix the back button press
...
Bug: 226894999
Test: local
Change-Id: I81e6408ebf2587bd023a13dbbdfa97e38efd8c31
2022-04-06 23:28:17 +08:00
TreeHugger Robot
e0f6939c4c
Merge "[Panlingual] Fix settings crash from rotation." into tm-dev
2022-04-06 15:15:37 +00:00
Xiaowen Lei
da1f3d6d37
Merge "Update the function used to log the dream picking events." into tm-dev am: 8708bbd8b3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17543375
Change-Id: I15b857b5bd7688aef3926d2049f2d7d2b0876aeb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-04-06 15:09:04 +00:00
Xiaowen Lei
8708bbd8b3
Merge "Update the function used to log the dream picking events." into tm-dev
2022-04-06 15:04:57 +00:00
TreeHugger Robot
3a23af64cd
Merge "Fixes 'learn more' link in ScreenTimeoutSettings" into tm-dev am: d23aa91e8b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17578008
Change-Id: I83e7923119669ea604bdd72f121d3182bf2dd550
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-04-06 15:00:32 +00:00
Chaohui Wang
631c56fc20
Merge "Fix the flow for ZenCustomRuleSettingsBase" into tm-dev am: 9c6249a04f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17615233
Change-Id: Ic18c24b08b00ea8a20877fe2d9e9fc2b8e51ad07
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-04-06 15:00:17 +00:00
TreeHugger Robot
d23aa91e8b
Merge "Fixes 'learn more' link in ScreenTimeoutSettings" into tm-dev
2022-04-06 15:00:11 +00:00
Chaohui Wang
9c6249a04f
Merge "Fix the flow for ZenCustomRuleSettingsBase" into tm-dev
2022-04-06 14:35:51 +00:00
tom hsu
715ebf4705
[Pnalingual] Resolve code conflict. am: 6436a5aa6f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17615234
Change-Id: I9e1316234f825ab3cd92fc8e395dbffe82448dd8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-04-06 11:48:43 +00:00
tom hsu
19bd21d96c
[Panlingual] Fix settings crash from rotation.
...
- View may not create in time when add view of fragment.
Bug: 228126890
Test: local test.
Change-Id: Idce63dc9d39de09ff1ee684881ea6cb90637ee22
2022-04-06 19:32:36 +08:00
tom hsu
6436a5aa6f
[Pnalingual] Resolve code conflict.
...
Bug: 228292561
Test: local
Change-Id: Idc79694fdecf3ad64e93e2f353837fd7bbdde1ed
(cherry picked from commit aac21a59aa )
2022-04-06 11:07:22 +00:00
Edgar Wang
90e095dbe3
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
2022-04-06 17:51:07 +08:00
Chaohui Wang
3b3e66c780
Fix the flow for ZenCustomRuleSettingsBase
...
updateRule() should be called before super.onResume() because rule will
be used in updatePreferenceStates() in super.onResume().
This is follow up of Change: Ief9963091847d58654f26851616563ae910716a5
Bug: 226523115
Test: manual
Change-Id: I2fe0cfb2b4a76273283bb2d3aca629b5d647db91
2022-04-06 17:22:12 +08:00
Cn Chen
e4724e5aa9
Merge "Properly apply the SUW dynamic color theme" into tm-dev am: 8b6bbda28a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17536304
Change-Id: Ib15f8d433901516e7293677762e69f3a35de73a7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-04-06 09:18:23 +00:00
Cn Chen
8b6bbda28a
Merge "Properly apply the SUW dynamic color theme" into tm-dev
2022-04-06 08:55:48 +00:00
TreeHugger Robot
acdd95c572
Merge "Add work profile badge for icon of free up space" into tm-dev am: 6d0b9c7bd4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17462163
Change-Id: Id3925d5b24a5bd8bd7ee3dc533af979d76e7e8fc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-04-06 08:35:45 +00:00
TreeHugger Robot
6d0b9c7bd4
Merge "Add work profile badge for icon of free up space" into tm-dev
2022-04-06 08:05:10 +00:00
Yi Jiang
284cb1c2b2
Fixes 'learn more' link in ScreenTimeoutSettings
...
Bug: 227292811
Test: make RunSettingsRoboTests
Change-Id: I0e5678e6760ebd590dfd526f362207776ece3a70
2022-04-06 06:49:19 +00:00
TreeHugger Robot
f733c0d7c9
Merge "Added test for FP Enroll vibration" into tm-d1-dev
2022-04-06 01:04:47 +00:00
Joshua McCloskey
2a05de0df1
Added test for FP Enroll vibration
...
Test: m RunSettingsRoboTests -j30 ROBOTEST_FILTER=FingerprintEnrollEnrollingTest
Fixes: 222593183
Change-Id: I18ba2471c506c9a34151dc34c5f5f423db478c06
2022-04-05 23:28:14 +00:00
Peiyong Lin
e14c23fcf9
Remove GameSettings and ExtraAppInfo.
...
Bug: b/224595815
Test: manual
Change-Id: Ifc9a9e8c0b4b2170144639abb2f81f8916d5f164
2022-04-05 21:45:05 +00:00
Lucas Silva
ab8467e872
Merge "Fix bug where not all views are getting disabled alpha applied." into tm-dev
2022-04-05 14:42:41 +00:00
Chaohui Wang
65c610c2ab
Merge "Fix cannot add language" into tm-dev
2022-04-05 11:04:10 +00:00
Lucas Silva
f7a95e4b5d
Fix bug where not all views are getting disabled alpha applied.
...
This ensures that we apply the alpha recursively to all views when the
item is disabled/enabled.
Bug: 226573932
Test: locally on device
Change-Id: I28ee1a21227706d01a6e4f6284871bf78af983f5
2022-04-04 17:32:05 -04:00
Giulio Fiscella
7afcf4efdb
Use more unique ids for safety sources
...
Test: atest SettingsUnitTests
Bug: 227291608
Change-Id: I8815d14fc402cd25bcf49848c86e21ded552a542
Merged-In: I8815d14fc402cd25bcf49848c86e21ded552a542
2022-04-04 16:46:26 +00:00
Chaohui Wang
bab799899d
Fix Flicker for ZenCustomRuleSettingsBase
...
Fix the following flicker on pages under:
Notifications -> Do Not Disturb -> Schedules -> [One Schedule]
1. Do Not Disturb behavior
2. (1) -> Create custom settings for this schedule
3. (2) -> Calls
4. (2) -> Messages
5. (2) -> Display options for hidden notifications
6. (4) -> custom
Fix: 226523115
Test: On Pixel Phone
Change-Id: Ief9963091847d58654f26851616563ae910716a5
2022-04-04 22:22:10 +08:00
Yuri Ufimtsev
d191a16c54
Merge "Set up correct ComponentName for test mode of Parental Controls" into tm-dev
2022-04-04 10:33:09 +00:00
Chaohui Wang
f03f79b145
Fix cannot add language
...
Fix: 227972634
Test: manual
Change-Id: I3382879e51238be55687072eeb07bb553dafc952
2022-04-04 11:26:55 +08:00
Chaohui Wang
6c9da58f4b
Clean up unused Sliceable.copy()
...
Sliceable.isCopyableSlice() is not set to true for any controller, so this function is not used.
Usage is removed in Change: I81474aed994678c42d73cc59e169573880de1378
Bug: 227722942
Test: robotest & manual
Change-Id: I86e23aa8ad43f60b5017ff0a278e20e3f727706c
2022-04-02 19:16:22 +08:00
Yuri Ufimtsev
d16c12b9ac
Set up correct ComponentName for test mode of Parental Controls
...
Test: manual
Bug: 222339681
Change-Id: I9c141b8f04a69c914a55ed176c2f1c101d22a34c
2022-04-01 21:28:07 +00:00
Xin Li
e75d9ee3e9
Merge Android 12 QPR3 ab/8391262
...
Bug: 226662282
Merged-In: I50e3649c21bb83ee9130fa98a71560fe261198a9
Change-Id: I2a97159d0de32a6262bbace7bb82b09897447bdb
2022-04-01 20:32:46 +00:00
TreeHugger Robot
52ea95aa55
Merge "Warnings at top of per-app settings page" into tm-dev
2022-04-01 17:40:09 +00:00
PETER LIANG
93d4886297
Merge "Update the preview of the conversation message in the "Display size and text" page." into tm-dev
2022-04-01 16:03:10 +00:00
danielwbhuang
baa59815d8
Warnings at top of per-app settings page
...
1. Check getInstallPackageName() and isSystemApp()
2. Link to play store
Bug: 221164159
Test: local
Change-Id: I5727a4b99d945ae5c1b517020026654796a34d98
2022-04-01 23:41:56 +08:00
Xiaowen Lei
f3dce9d7d4
Update the function used to log the dream picking events.
...
The behavior is identical to before (for StatsLogWriter), but switching
to the generic function with the appropriate field names.
Bug: 213906448
Test: on device via `statsd_testdrive 97`
Change-Id: I241d110b531567cb828a2ed849c79b6595a4b4d1
2022-04-01 15:28:20 +00:00
Xinyi Zhou
a809f491e5
Merge "Turn off Fast Pair MainSwitch" into tm-dev
2022-04-01 15:13:09 +00:00
TreeHugger Robot
ba1f3dc8df
Merge "[Panlingual] Add error message on per-app language page." into tm-dev
2022-04-01 12:04:17 +00:00