TreeHugger Robot
8f16b0cd5b
Merge changes from topic "presubmit-am-9c41bb9c971547b49c41b3d37ad42e21" into tm-mainline-prod
...
* changes:
[automerge] [Panlingual] Fix settings crash from rotation. 2p: 19bd21d96c
[Panlingual] Fix settings crash from rotation.
2022-04-06 15:15:37 +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
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
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
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
8b6bbda28a
Merge "Properly apply the SUW dynamic color theme" into tm-dev
2022-04-06 08:55:48 +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
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
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
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
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
Peter_Liang
454f21cb21
Update the preview of the conversation message in the "Display size and text" page.
...
Bug: 227076211
Test: manual test
Change-Id: Ie83f95ba223a42f596c2a4ef68f33f4152a2cc07
2022-04-01 18:09:28 +08:00
Arc Wang
b7409f8b39
Add work profile badge for icon of free up space
...
- Get badged icon from target app.
- Add card_preference layout file to align icon & text
with other Preference.
Bug: 192555970
Test: manual visual
Change-Id: Id98d05e8871032ad61627783b8e47bfee1363448
2022-04-01 17:41:08 +08:00
TreeHugger Robot
046d174a55
Merge "Fine tune background color for dual pane in homepage" into tm-dev
2022-04-01 09:34:07 +00:00
tom hsu
40a6de1ec4
[Panlingual] Add error message on per-app language page.
...
Bug: 226032712
Test: local
Change-Id: I12aae66116cc8c00fa7c6b0ba256d4726620ea4c
(cherry picked from commit a9184f43c5 )
2022-04-01 09:28:01 +00:00
Weng Su
9ed56d081c
Merge "Settings: Fix NPE FC when access saved wifi p2p device after screen rotation" am: c68e241fa6 am: ec1b6c308a am: c422d95147
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1989236
Change-Id: I71a0799dd5561b069d587491f78957e48fa87541
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-04-01 09:06:51 +00:00
Weng Su
c422d95147
Merge "Settings: Fix NPE FC when access saved wifi p2p device after screen rotation" am: c68e241fa6 am: ec1b6c308a
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1989236
Change-Id: I7ba4a451a493b9d4df278f7aee6bfbacc9bf2322
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-04-01 08:47:33 +00:00
Weng Su
c68e241fa6
Merge "Settings: Fix NPE FC when access saved wifi p2p device after screen rotation"
2022-04-01 08:08:51 +00:00
Tom Hsu
84f78bc493
Merge "Fix System language option missing and locale region missing issue" into tm-dev
2022-04-01 07:52:52 +00:00
Treehugger Robot
973031b290
Merge "Settings: Fix cellular internet option Not seen after internet reset" am: 0159ca5d9c am: a1a5091f12 am: 3fb5213538
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2033445
Change-Id: I3e34f4f6ef32064e7de1ca0a9aee94c02f94e7e3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-04-01 07:49:23 +00:00
Josh Hou
6ead6df534
Merge "[Panlingual] Fix the app language is shown incorrectly in the work profile" into tm-dev
2022-04-01 07:38:00 +00:00
Treehugger Robot
3fb5213538
Merge "Settings: Fix cellular internet option Not seen after internet reset" am: 0159ca5d9c am: a1a5091f12
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2033445
Change-Id: Ida0dd5521a0bf94599315658b70c14a058295585
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-04-01 07:36:46 +00:00
cnchen
27536c8333
Properly apply the SUW dynamic color theme
...
Activity should apply a base theme before apply dynamic color theme
Bug: 225800660
Test: Manual testing
Change-Id: Iad6e03b1750e1a4bd29878c9eb88e8c4a08a867f
2022-04-01 14:57:58 +08:00
Treehugger Robot
0159ca5d9c
Merge "Settings: Fix cellular internet option Not seen after internet reset"
2022-04-01 06:52:44 +00:00
Menghan Li
1031406227
Merge "Remove dependency of SudGlifTheme from SettingsTheme" into tm-dev
2022-04-01 05:56:13 +00:00
Tsung-Mao Fang
f4514b9fbf
Fine tune background color for dual pane in homepage
...
Follow the spec and change the background color.
Test: See the screen
Bug: 223329504
Change-Id: Ibcbf0e898ae949e1354f5af810a2347eba42b508
2022-04-01 13:35:17 +08:00
Josh Hou
e32d422d3d
[Panlingual] Fix the app language is shown incorrectly in the work profile
...
The root cause is that the context corresponding to the specified
profile Id is not correctly used when using LocaleManager to query the
app language.
Bug: 222769707
Test: Verify the issue by using the steps provided in the bug
Change-Id: Ic1f9e4cc9e90f5aecfa5e1094184aa63f3d94ffb
2022-04-01 13:00:47 +08:00
Calvin Pan
cfb04f4c35
Fix System language option missing and locale region missing issue
...
- Taking app package name into LocalePickerWithRegion
- Using toLanguageTag() instead of getLanguage() to prevent locale
region missing
Bug: 226278910
Bug: 226280740
Change-Id: Ieac42616192065abc0cf82db023e4e50f1ca562d
Test: To be verified
(cherry picked from commit c117a89a53 )
2022-04-01 04:31:44 +00:00
menghanli
18ddc6525b
Remove dependency of SudGlifTheme from SettingsTheme
...
Root cause: Inherit from the glif themes in setupdesign library
Solution: Not inherit from the glif themes and set Setting theme before
applying the dynamic color
Bug: 225800660
Test: Manual testing
Change-Id: Ic4d71bf7a754888c1ed1590c0483360d65f5da44
2022-04-01 11:00:45 +08:00
tom hsu
213b3ce4af
[Panlingual] Improve and refactor revamped UI
...
- Remove useless file
- Make Icon be able to scroll up and down
Bug: 226350483
Test: local test
Change-Id: I4564f432143e7e31ba5beff1dd32d7bc7764f9bf
(cherry picked from commit ded10f8e24 )
Merged-In: I4564f432143e7e31ba5beff1dd32d7bc7764f9bf
2022-04-01 10:33:22 +08:00
Treehugger Robot
4440e7a067
Merge "Settings: Fix WifiSettings FC when rotating screen" am: f558fc27d9 am: 3531a34760 am: caa0bbd931
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1975409
Change-Id: I56e489c2867242dfc425aba6dea8896d903ab4c3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-04-01 02:16:00 +00:00
Treehugger Robot
caa0bbd931
Merge "Settings: Fix WifiSettings FC when rotating screen" am: f558fc27d9 am: 3531a34760
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1975409
Change-Id: Iffb14760e676a66d061f500a1e9fc383c2a317e4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-04-01 02:01:14 +00:00
TreeHugger Robot
ad5acbdc23
Merge "WiFi restricted connection when scan QR code" into tm-dev
2022-04-01 01:28:56 +00:00
Treehugger Robot
f558fc27d9
Merge "Settings: Fix WifiSettings FC when rotating screen"
2022-04-01 01:23:47 +00:00
Xinyi Zhou
5ad94e7c56
Turn off Fast Pair MainSwitch
...
Bug: 227513829
Test: Built and verified no FP UI in settings
Change-Id: I68d049e3a9d08215bfc6e754de80a67312ae7f98
2022-03-31 18:09:23 -07:00
Weng Su
2088b4985d
WiFi restricted connection when scan QR code
...
- Use WifiEntry#canConnect() to determine if the network can be
connected.
- Add WiFi network but don't connect if WiFi restricted connection.
- See the result screenshot in b/203168943#comment16
Bug: 203168938
Bug: 203168943
Test: manual test
make RunSettingsRoboTests \
ROBOTEST_FILTER=WifiDppQrCodeScannerFragmentTest
Change-Id: I06d1e832176e540ddd1adce8da46ef8659534ab7
2022-04-01 06:04:34 +08:00
Joshua Mccloskey
ca7f2dbe4a
Merge "Updated UDFPS strings." into tm-dev
2022-03-31 18:47:51 +00:00
Quang Luong
6ca8dd1b1a
Do update signal icon for -1 level in AddAppNetworksFragment am: baf2ef0be6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17511482
Change-Id: I50e3649c21bb83ee9130fa98a71560fe261198a9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-03-31 17:45:25 +00:00