Commit Graph

60941 Commits

Author SHA1 Message Date
TreeHugger Robot
158bbe17f3 Merge "Support another new intent for mainline module intent" into rvc-dev 2020-04-16 11:03:19 +00:00
Tsung-Mao Fang
54150c9942 Support another new intent for mainline module intent
Mainline module team would like to create a new intent to support v2 UX.
In Settings side, if we found system supports this intent,
then we should navigate user to new place.

Test: Run robo test
Fix: 151189987
Change-Id: If4b437236b70c83a1f29a5c3d9e322178c8a6ec6
2020-04-16 17:35:38 +08:00
Tsung-Mao Fang
b3bb7a0237 Fallback to AOSP emergency info if the original intent is broken
If the variant of emergency info is broken, we should try to show
AOSP emergency info instead.

Test: Rebuilt rom and see the Ui. Run robo test
Fix: 154114259
Change-Id: I5bc3f6cbf9102a7b7299c3edf718a58101effbf8
2020-04-16 17:23:52 +08:00
jasonwshsu
e1eec16427 Use new setting key to maintain the list of user assigned shortcut targets.
* Framework changes to keep ACCESSIBILITY_BUTTON_TARGET_COMPONENT
contains only a single target, use ACCESSIBILITY_BUTTON_TARGETS to maintain the targets list.

Bug: 151295675
Test: manual test
Change-Id: I2218402fd122acc9a86c64127e9cfcf77a6e241e
2020-04-16 17:21:20 +08:00
Menghan Li
4ee3e3b983 Merge "Refines animation for caption preferences tutorial" into rvc-dev am: 5970337d26
Change-Id: Ic53a132347c296c936bd498c543fab7afce51a2c
2020-04-16 06:37:21 +00:00
tim peng
4d97cc4e8e Merge "Incorrect panel layout after rotation" into rvc-dev am: ea3a83e288
Change-Id: Ia96f690a596633fab838eac2c5be99eec92508fc
2020-04-16 06:37:06 +00:00
Tim Peng
205846c9a2 Refine inputRange layout in output switcher
Bug: 154181365
Test: build pass
Change-Id: Idee9042af6b19a358938752d2ee72bae07eb092a
2020-04-16 06:35:23 +00:00
Menghan Li
5970337d26 Merge "Refines animation for caption preferences tutorial" into rvc-dev 2020-04-16 06:25:03 +00:00
tim peng
ea3a83e288 Merge "Incorrect panel layout after rotation" into rvc-dev 2020-04-16 06:10:15 +00:00
Eugene Susla
596662c52e Implement auto revoke user whitelist intent handler
Bug: 153607914
Test: presubmit
Change-Id: I22288d0a963fd03e38841a9f66c342f6eb283149
2020-04-15 15:04:11 -07:00
Julia Reynolds
e3cb4f094e Launch subscreens with the correct user
Test: atest
Fixes: 153556621
Change-Id: I5f3f0f408dc8e50db1762b1ce93f7748ea6332b0
2020-04-15 17:36:11 -04:00
TreeHugger Robot
10052a54ab Merge "Update flows for notification history" into rvc-dev am: 79a38a733f
Change-Id: Iad8a918c924115a7cbd04fa160dcf7be9a68fee8
2020-04-15 17:41:53 +00:00
TreeHugger Robot
79a38a733f Merge "Update flows for notification history" into rvc-dev 2020-04-15 17:32:47 +00:00
Calvin Pan
106c2d210d Merge "Add missing NR network mode in setPreferenceValueAndSummary" into rvc-dev am: 0758056d04
Change-Id: I32dd168ae94fa39923e373a0b25a8012998e2c45
2020-04-15 17:28:40 +00:00
TreeHugger Robot
65353e9dfe Merge "Fix breadcrumb for the search results of Custom restrictions page" into rvc-dev am: 82282b48cf
Change-Id: I7c13a0f6adeda0689911848c799a551f27971b99
2020-04-15 17:28:17 +00:00
PETER LIANG
4c7a690479 Merge "Revising the function name related to user shortcut type." into rvc-dev am: eb04ef4f75
Change-Id: I0f135b960440a997116e3cb6e79b2d5380cb7aad
2020-04-15 17:26:37 +00:00
Rubin Xu
b87ed9fac5 Merge "Improve work profile unification flow" into rvc-dev am: 81d8664d81
Change-Id: I17cc8fb5d338336c091f6620cc015880efb0c83b
2020-04-15 17:25:43 +00:00
TreeHugger Robot
00fea22696 Merge "[5G settings UI] add UI for the 5G limited VoLTE dialog" into rvc-dev am: 566d9f49bd
Change-Id: I3f3840b14f62be6badf1d0bd816327fb267e005c
2020-04-15 17:23:15 +00:00
TreeHugger Robot
6c2c780fd8 Merge "Revert "Don't write user_switcher_enabled value when enter this Settings"" into rvc-dev am: e13a54c438
Change-Id: Iff4980697cc6748777bf491f0d74e4aa7a1fde5b
2020-04-15 17:17:31 +00:00
TreeHugger Robot
9625a5ed1f Merge "Refactor the OpenSupportedLinks" into rvc-dev am: ccb37bb8d1
Change-Id: I298c67ecb36a20b733387ffdd88e5353c4445fdf
2020-04-15 17:00:26 +00:00
Calvin Pan
0758056d04 Merge "Add missing NR network mode in setPreferenceValueAndSummary" into rvc-dev 2020-04-15 14:32:18 +00:00
TreeHugger Robot
82282b48cf Merge "Fix breadcrumb for the search results of Custom restrictions page" into rvc-dev 2020-04-15 13:30:33 +00:00
PETER LIANG
eb04ef4f75 Merge "Revising the function name related to user shortcut type." into rvc-dev 2020-04-15 12:49:07 +00:00
Edgar Wang
6436895d0b Make ActionDisabledByAdminDialog can adopt selected font
Bug: 148071683
Test: Robotest & manual
Change-Id: I1123308a5e157a6df84ca277ef9bb720670f1803
2020-04-15 20:12:21 +08:00
Rubin Xu
81d8664d81 Merge "Improve work profile unification flow" into rvc-dev 2020-04-15 11:18:00 +00:00
Peter_Liang
58cc3ea7f9 Revising the function name related to user shortcut type.
Should add 's' into the name.

Bug: 148989018
Test: manual test
Change-Id: I46aadb80f4f28dc1794fc3313563c79be149e847
2020-04-15 17:43:05 +08:00
calvinpan
37812984f4 Add missing NR network mode in setPreferenceValueAndSummary
Bug: 152816633
Test: atest
Change-Id: I6c97ebc7c04671702a9df2a79c85b27f6f239c23
2020-04-15 17:24:49 +08:00
TreeHugger Robot
566d9f49bd Merge "[5G settings UI] add UI for the 5G limited VoLTE dialog" into rvc-dev 2020-04-15 08:47:04 +00:00
SongFerngWang
e60faf8056 [5G settings UI] add UI for the 5G limited VoLTE dialog
when the user disables VoLTE, UE show alert dialog for 5G disable.

Bug: 151313654
Test: build pass. manual test: UI show alert dialog.
Change-Id: I5ea4d59017b5d9db6f7c3d8d0ffd24d5a2c61457
2020-04-15 15:05:30 +08:00
menghanli
750a89d1ab Refines animation for caption preferences tutorial
- Avoid the banner asset making confusing end user why the asset cannot play.

Bug: 153683816
Bug: 148837311
Test: loca test
Change-Id: I47980490f6913711c4af063a07b80347a08297a2
2020-04-15 12:24:50 +08:00
Vince Leung
fa63980566 Merge "Use super method for Vibration preferences" into rvc-d1-dev 2020-04-15 03:53:01 +00:00
Tim Peng
e54e0296ca Incorrect panel layout after rotation
-Handle onConfigurationChanged and force to update layout
-Add test case

Bug: 144751509
Test: make -j42 RunSettingsRoboTests
Change-Id: Ic170d4f6f045299c0520e899e06b5b4e9f009643
2020-04-15 03:16:30 +00:00
TreeHugger Robot
e13a54c438 Merge "Revert "Don't write user_switcher_enabled value when enter this Settings"" into rvc-dev 2020-04-15 03:13:08 +00:00
TreeHugger Robot
ccb37bb8d1 Merge "Refactor the OpenSupportedLinks" into rvc-dev 2020-04-15 03:09:01 +00:00
Sunny Shao
44b74c9cfe Refactor the OpenSupportedLinks
- Use the AppInfoWithHeader to replace the DashboardFragment.
- It provide the AppHeader controller and handle the app update/remove event.

Fixes: 147996227
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.applications.OpenSupportedLinksTest
Change-Id: I1633c39fc926805a379c5c31845897914e5181a6
2020-04-15 09:53:43 +08:00
Yanting Yang
2483124478 Fix breadcrumb for the search results of Custom restrictions page
Settings Search need Settings to provide the custom site map pairs to
build up the full breadcrumb for the search results of Custom
restrictions page.

Impact search results:
Don't turn on screen
Don't wake for notifications
Hide notification dots on app icons
Hide status bar icons at top of screen
Don't pop notifications on screen
Hide from pull-down shade
Custom restrictions

Bug: 147851992
Bug: 151206664
Test: visual and robotests
Change-Id: I01e359eabcdc362e2a1fde5f3bc4ae5dc6918030
2020-04-15 08:52:05 +08:00
Menghan Li
a8d035b6fb Merge "Fine tune the maganication area edit dialog" into rvc-dev am: b5a0ff7ee9
Change-Id: Ica23de459026f96284bd05806fb41bc10fbe4c19
2020-04-14 22:32:56 +00:00
Malcolm Chen
c67a0d853b Add check of canConnectTo5GInDsds to show NrDisabledInDsdsFooter
Bug: 152786064
Test: build and manual
Change-Id: I6194592d9a7bf4d4b7993fc344d7392bf5c296aa
2020-04-14 15:26:19 -07:00
Menghan Li
b5a0ff7ee9 Merge "Fine tune the maganication area edit dialog" into rvc-dev 2020-04-14 22:12:46 +00:00
Julia Reynolds
1845421ef8 Update flows for notification history
- Remove settings observer, since the switch is right here
- Add 'notifications will soon appear' whenever history is empty

Test: manual
Fixes: 153677280
Fixes: 152578971
Change-Id: Ia372fafb3688fe7d45a7634e379f022bcffea169
2020-04-14 13:16:04 -04:00
TreeHugger Robot
8d9b3172c8 [automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-dev am: 60fd3c13ad -s ours
am skip reason: subject contains skip directive

Change-Id: Id4cd0d448e621bde289b264d403e1d7ca3e80077
2020-04-14 16:49:06 +00:00
TreeHugger Robot
55e3f34b5e [automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-dev am: 6e84c65d49 -s ours
am skip reason: subject contains skip directive

Change-Id: Ida2c0804943b4be8a6409e9a93c8ededafa11c8d
2020-04-14 16:48:39 +00:00
TreeHugger Robot
60fd3c13ad Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-04-14 16:34:14 +00:00
TreeHugger Robot
6e84c65d49 Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-04-14 16:26:21 +00:00
Daniel Chapin
77c41c1a5a Revert "Don't write user_switcher_enabled value when enter this Settings"
This reverts commit 898d6b4d73.

Reason for revert: Causing a regression
Bug: 153944718

Change-Id: If96441618d32a65b0bae4c5c26fb3b278556cc8c
2020-04-14 15:47:48 +00:00
menghanli
28243367df Fine tune the maganication area edit dialog
Root cause: The asset is not rectangle, it is high > width asset. Called the centerCrop cause the both dimensions (width and height) of the image will be equal to or larger than the corresponding dimension of the view (minus padding).
Solution: Change to fitCenter.

Bug: 146473544
Test: local test
Change-Id: I17de6a09f21e1454afcdd0297b81868c1b819de1
2020-04-14 11:59:39 +00:00
Julia Reynolds
cc3d0501f1 Merge "Bubble settings: feature, notification, app" into rvc-dev am: 6585f79439
Change-Id: Iba88f4b35fa402e95f86b04e42e2e9dea43e48a3
2020-04-14 11:27:42 +00:00
Julia Reynolds
6585f79439 Merge "Bubble settings: feature, notification, app" into rvc-dev 2020-04-14 11:22:14 +00:00
Betty Chang
b52ee87505 Merge "[Telephony Setting] Add Preferred Network observer for Auto Select Network Mode" into rvc-dev am: 86551e4d9a
Change-Id: Iea8bac5db7e85949523f17e344ff4ff5708181ab
2020-04-14 09:44:49 +00:00
Betty Chang
86551e4d9a Merge "[Telephony Setting] Add Preferred Network observer for Auto Select Network Mode" into rvc-dev 2020-04-14 09:22:04 +00:00