Commit Graph

64474 Commits

Author SHA1 Message Date
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
276163c699 Merge "Fine tune the maganication area edit dialog" into rvc-dev am: b5a0ff7ee9 am: a8d035b6fb am: 4a7387d0b2 am: e36a45ebce
Change-Id: Iff00c3680a8a183d7eedeaa7e11e29ffe618466c
2020-04-14 23:27:16 +00:00
Menghan Li
c0b28bb238 Merge "Fine tune the maganication area edit dialog" into rvc-dev am: b5a0ff7ee9 am: 702e607c09 am: 3cb796ad72
Change-Id: Icecd94ecdaa7d0220ddd0ffe4a63b3439abbadb3
2020-04-14 23:04:03 +00:00
Menghan Li
46a3fa93a8 Merge "Fine tune the maganication area edit dialog" into rvc-dev am: b5a0ff7ee9 am: a8d035b6fb am: d88487448d
Change-Id: I99fc391c91464c7496386cfb6f92dda932178ba6
2020-04-14 23:03:57 +00:00
Menghan Li
e36a45ebce Merge "Fine tune the maganication area edit dialog" into rvc-dev am: b5a0ff7ee9 am: a8d035b6fb am: 4a7387d0b2
Change-Id: I455eccb65b7b7da52ed0d48a1ec57a71ab279cc6
2020-04-14 23:03:47 +00:00
Menghan Li
3cb796ad72 Merge "Fine tune the maganication area edit dialog" into rvc-dev am: b5a0ff7ee9 am: 702e607c09
Change-Id: Id921d9ea3ad24c3b4d8edac0165b16034c5b715d
2020-04-14 22:56:33 +00:00
Menghan Li
4a7387d0b2 Merge "Fine tune the maganication area edit dialog" into rvc-dev am: b5a0ff7ee9 am: a8d035b6fb
Change-Id: Ib9b32d8b0ca947af798fad8159e2773e277eb9e1
2020-04-14 22:45:15 +00:00
Menghan Li
d88487448d Merge "Fine tune the maganication area edit dialog" into rvc-dev am: b5a0ff7ee9 am: a8d035b6fb
Change-Id: Ib0fe68aed2175bbc03e1a7e20f9fab6d3e602c4b
2020-04-14 22:43:46 +00:00
Menghan Li
702e607c09 Merge "Fine tune the maganication area edit dialog" into rvc-dev am: b5a0ff7ee9
Change-Id: I5032dee01f02bb6f4f1a4ffbca43550c0556ffbf
2020-04-14 22:34:26 +00: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
TreeHugger Robot
bb69ae06a2 [automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-dev am: 60fd3c13ad -s ours am: 8d9b3172c8 -s ours am: 42aacf05dc -s ours am: 087616e36f -s ours
am skip reason: subject contains skip directive

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

Change-Id: I61358246cb5c285433c9eca9b8bf3d2906111ee0
2020-04-14 17:53:04 +00:00
TreeHugger Robot
d427a2e9d1 [automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-dev am: 60fd3c13ad -s ours am: d95b9f059f -s ours am: 32c9343e9f -s ours
am skip reason: subject contains skip directive

Change-Id: I0954843947315f01e3387282f76b647b28ffb11e
2020-04-14 17:33:08 +00:00
TreeHugger Robot
0b9ebc1be5 [automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-dev am: 6e84c65d49 -s ours am: b383a523c7 -s ours am: 2dcf16dbb5 -s ours
am skip reason: subject contains skip directive

Change-Id: I5381df9f4e8e1f3a79a902b83703e5a7a223564e
2020-04-14 17:33:03 +00:00
TreeHugger Robot
19871e51a6 [automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-dev am: 60fd3c13ad -s ours am: 8d9b3172c8 -s ours am: 86c47713b0 -s ours
am skip reason: subject contains skip directive

Change-Id: I3cae3ebfc7e5c001461adf7284514a0d6429e97e
2020-04-14 17:32:57 +00:00
TreeHugger Robot
087616e36f [automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-dev am: 60fd3c13ad -s ours am: 8d9b3172c8 -s ours am: 42aacf05dc -s ours
am skip reason: subject contains skip directive

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

Change-Id: I15763446adcc120a5017bddf05a4c966325cb0ec
2020-04-14 17:32:12 +00:00
TreeHugger Robot
e2a07ad5e1 [automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-dev am: 6e84c65d49 -s ours am: 55e3f34b5e -s ours am: f513fee9b1 -s ours
am skip reason: subject contains skip directive

Change-Id: Id44afb6aefcca246ace22db6a50f86e2d3c524b6
2020-04-14 17:31:52 +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
32c9343e9f [automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-dev am: 60fd3c13ad -s ours am: d95b9f059f -s ours
am skip reason: subject contains skip directive

Change-Id: I81dc7baa5b3220b142fcefba3822957c31e892bc
2020-04-14 17:14:15 +00:00
TreeHugger Robot
42aacf05dc [automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-dev am: 60fd3c13ad -s ours am: 8d9b3172c8 -s ours
am skip reason: subject contains skip directive

Change-Id: I413be9259b52715a58eb7505de1ffeefc021142a
2020-04-14 17:14:01 +00:00
TreeHugger Robot
2dcf16dbb5 [automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-dev am: 6e84c65d49 -s ours am: b383a523c7 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I1ea10e73f7bd9dafb77b11f28a7844bd80de8a22
2020-04-14 17:13:46 +00:00
TreeHugger Robot
86c47713b0 [automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-dev am: 60fd3c13ad -s ours am: 8d9b3172c8 -s ours
am skip reason: subject contains skip directive

Change-Id: Ied85b54fa14da4bf75f5fab830874730c4137b75
2020-04-14 17:12:31 +00:00
TreeHugger Robot
0f16c8c93d [automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-dev am: 6e84c65d49 -s ours am: 55e3f34b5e -s ours
am skip reason: subject contains skip directive

Change-Id: Id6a385bc0e0e8a3f5cd2c2d2e4b39e6b4003a9ec
2020-04-14 17:12:19 +00:00
TreeHugger Robot
d95b9f059f [automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-dev am: 60fd3c13ad -s ours
am skip reason: subject contains skip directive

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

Change-Id: I2312d37d3d18d6666e1effd5e9e90a89a35b4f39
2020-04-14 16:50:01 +00: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
Julia Reynolds
0acfb1cfb4 Merge "Bubble settings: feature, notification, app" into rvc-dev am: 6585f79439 am: cc3d0501f1 am: d097110f43 am: 9f33509a9e
Change-Id: I4274b8eb43ebb008e894f7a696c05cf07d7c6610
2020-04-14 12:16:07 +00:00
Julia Reynolds
9f33509a9e Merge "Bubble settings: feature, notification, app" into rvc-dev am: 6585f79439 am: cc3d0501f1 am: d097110f43
Change-Id: I25ff937aa2bb0b84f1b434564604b9776142604f
2020-04-14 12:05:23 +00:00
Julia Reynolds
cd1477ad07 Merge "Bubble settings: feature, notification, app" into rvc-dev am: 6585f79439 am: 93bc19e3a0 am: 00d5412626
Change-Id: I9e06d549cc4389dc6f386afeaa510e868eef9f05
2020-04-14 12:05:11 +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
228048065f Merge "Bubble settings: feature, notification, app" into rvc-dev am: 6585f79439 am: cc3d0501f1 am: e81fdf8011
Change-Id: I509b71439ceac9aa706b64f505349180e112d2fc
2020-04-14 11:56:29 +00:00
Julia Reynolds
00d5412626 Merge "Bubble settings: feature, notification, app" into rvc-dev am: 6585f79439 am: 93bc19e3a0
Change-Id: I191b2f6f305094d37bd517e74426c01fd2d41d2c
2020-04-14 11:48:52 +00:00
Julia Reynolds
d097110f43 Merge "Bubble settings: feature, notification, app" into rvc-dev am: 6585f79439 am: cc3d0501f1
Change-Id: I5e4119eadf4f547960f5ea3e6c723e965ed3dbd9
2020-04-14 11:48:49 +00:00
Julia Reynolds
e81fdf8011 Merge "Bubble settings: feature, notification, app" into rvc-dev am: 6585f79439 am: cc3d0501f1
Change-Id: I87aca0b51d821cdd60ff76c1150367e00da4f098
2020-04-14 11:47:15 +00:00
Julia Reynolds
93bc19e3a0 Merge "Bubble settings: feature, notification, app" into rvc-dev am: 6585f79439
Change-Id: I29cc292f1ef405952739825e91d5db88ac1de3a7
2020-04-14 11:28:37 +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
65be228145 Merge "[Telephony Setting] Add Preferred Network observer for Auto Select Network Mode" into rvc-dev am: 86551e4d9a am: b52ee87505 am: 6a16d6ab89 am: b4893ac720
Change-Id: Ia23cdb024765653875e79c7ca0458198887f3f21
2020-04-14 10:58:03 +00:00