Commit Graph

62280 Commits

Author SHA1 Message Date
Beverly
504f43c8fb Fix padding on DND settings header am: 32f2839703
Change-Id: Id37351280a62f1f42727f5707883ad02f80e68cc
2020-04-10 19:43:36 +00:00
Julia Reynolds
ecb66ce790 Fixes for notification history
- Fix some crashes
- Fix layout in landscape
- Fix a11y readout

Test: manual
Fixes: 153510934
Fixes: 153554113
Fixes: 153407364
Fixes: 152728558
Change-Id: I6c6bb10d4a67ece61fbf109b4289c4f368206788
2020-04-10 15:34:19 -04:00
Xin Li
b19f478794 [automerger skipped] DO NOT MERGE - Merge qt-qpr1-dev-plus-aosp@6382244 into stag-aosp-master am: ee75f54619 -s ours am: c6d43dd241
Change-Id: I63b961879721198c93248b856c2c5ea8f31e14d8
2020-04-10 19:27:41 +00:00
Joshua Duong
0f3eba36f2 [adbwifi] Add qstile for wireless debugging.
Bug: 153275926

Test: make RunSettingsRoboTests ROBOTEST_FILTER=WirelessDebuggingTest
Change-Id: I6b381a7e29beec5c9c345b374e127caabdb674db
(cherry picked from commit 0c23d39f94)
Exempt-From-Owner-Approval: cherry-pick
2020-04-10 19:12:40 +00:00
Xin Li
c6d43dd241 [automerger skipped] DO NOT MERGE - Merge qt-qpr1-dev-plus-aosp@6382244 into stag-aosp-master am: ee75f54619 -s ours
am skip reason: subject contains skip directive

Change-Id: I8b7e19ae4736d426d962e53a512774cee54a9be0
2020-04-10 19:07:15 +00:00
Beverly
32f2839703 Fix padding on DND settings header
Test: manual
Fixes: 152974082
Change-Id: Id34db63550ddc2ad89c15830e03bf9782df0a765
2020-04-10 12:30:57 -04:00
TreeHugger Robot
18709df8b1 Merge "Support click metrics logs in several pages" into rvc-dev am: afaf654a77 am: dde9ab5b62
Change-Id: If22d76d1d74e09127448298305ffea22c5ca3f00
2020-04-10 13:20:32 +00:00
Bonian Chen
385dd90371 Merge "[Settings] Avoid rename inactive subscription from NullPointerException" into rvc-dev am: e18904daab am: 8a5272b307
Change-Id: Ia9815d0de9d01c3a362b9d1af75d620887cc240a
2020-04-10 13:20:15 +00:00
TreeHugger Robot
70f0c6a53f Merge "Support click metrics logs in several pages" into rvc-dev am: afaf654a77 am: 976b3690fe
Change-Id: If078432fd8e8ab16653aedf000f6da85b9a7a327
2020-04-10 13:19:21 +00:00
Bonian Chen
5a45c3ff77 Merge "[Settings] Avoid rename inactive subscription from NullPointerException" into rvc-dev am: e18904daab am: b72aa1c03a
Change-Id: I0193370f5b63f92abe6490839a571f0c6c6df422
2020-04-10 13:19:03 +00:00
TreeHugger Robot
976b3690fe Merge "Support click metrics logs in several pages" into rvc-dev am: afaf654a77
Change-Id: I0cb34fead8cbcabf7eb01bd058f9604b5c7d19d0
2020-04-10 13:06:21 +00:00
TreeHugger Robot
dde9ab5b62 Merge "Support click metrics logs in several pages" into rvc-dev am: afaf654a77
Change-Id: I2cc663ea9aec69848bc96d6dc25e1895984b9731
2020-04-10 12:57:10 +00:00
Yanting Yang
b7e1ececea Fix breadcrumb of search results provided by Settings
1. Settings Search need Settings to provide custom site map pairs to
build up full breadcrumb for the search results from below pages.
- PowerUsageAdvanced
- RecentLocationRequestSeeAllFragment
- UsbDetailsFragment
- UserBackupSettingsActivity

2. Update the screen title of Backup raw index data from Settings to
Backup to display correct breadcrumb in Settings Search.

Bug: 147851992
Bug: 151206664
Fixes: 152368059
Test: visual and robotests
Change-Id: Iaebab8d549bba6be7623708f9833349654e7f2a7
2020-04-10 20:56:39 +08:00
Bonian Chen
8a5272b307 Merge "[Settings] Avoid rename inactive subscription from NullPointerException" into rvc-dev am: e18904daab
Change-Id: Ib2d9ecedaa764c9ea884f19f2a1db45cf62f9613
2020-04-10 12:56:32 +00:00
TreeHugger Robot
afaf654a77 Merge "Support click metrics logs in several pages" into rvc-dev 2020-04-10 12:55:10 +00:00
Bonian Chen
b72aa1c03a Merge "[Settings] Avoid rename inactive subscription from NullPointerException" into rvc-dev am: e18904daab
Change-Id: Iadc2fa5c7e9ab9b15bf3105c303110c4c2c6d99b
2020-04-10 12:55:01 +00:00
Bonian Chen
e18904daab Merge "[Settings] Avoid rename inactive subscription from NullPointerException" into rvc-dev 2020-04-10 12:37:42 +00:00
Bonian Chen
fd86a33e6e Merge "[Settings] Avoid from crash when pull out SIM" into rvc-dev am: 866fa1061c am: dc6d9e53d1
Change-Id: I9e3642cb2254918e6eeac768bfc55cde21e821d7
2020-04-10 12:14:26 +00:00
Bonian Chen
1031a3156f Merge "[Settings] Avoid from crash when pull out SIM" into rvc-dev am: 866fa1061c am: 369594d796
Change-Id: Ibd2e4ac878c48502f11a90faaad9a800b0ef3551
2020-04-10 12:12:52 +00:00
Bonian Chen
dc6d9e53d1 Merge "[Settings] Avoid from crash when pull out SIM" into rvc-dev am: 866fa1061c
Change-Id: I837ddd16902ad159d5f791c316ba4f962f754640
2020-04-10 11:51:45 +00:00
Bonian Chen
369594d796 Merge "[Settings] Avoid from crash when pull out SIM" into rvc-dev am: 866fa1061c
Change-Id: I9bbe02a684f97e50a66278b725814fc7cd9d4a7b
2020-04-10 11:50:17 +00:00
Bonian Chen
866fa1061c Merge "[Settings] Avoid from crash when pull out SIM" into rvc-dev 2020-04-10 11:30:42 +00:00
Jason Chiu
1766b3c01d Fix indexing error of mobile related controllers
There were several errors in indexing mobile related sliceable
controllers, which led them not able to display on Panel and as inline
controls in search result.

It's because indexing mechanism is running in a worker thread and trying
to construct each controller instance, but the failed controllers'
constructors need to initilize something in the main thread.

- Give the main looper to the classes which only can be initialized in
  the main thread to fix the indexing.
- Guard null pointer exception in SlicesIndexer after fixing the
  indexing.
- Use onStart/onStop in AirplaneModePreferenceController to start/stop
  listener.

Fixes: 149720345
Test: robotest
Change-Id: Ibe5a8d6cc713eeddf26eceaabc05e6d1faa45507
2020-04-10 10:56:31 +00:00
Bonian Chen
cad93df0a4 [Settings] Avoid rename inactive subscription from NullPointerException
1. Init instance before accessing it
2. Re-enable test case

Bug: 147321836
Test: m RunSettingsRoboTests -j ROBOTEST_FILTER=RenameMobileNetworkDialogFragmentTest
Change-Id: Ifc245bec739b4c81d2cee04b091bcdb54d567d4a
(cherry picked from commit 1b71b5e601)
2020-04-10 18:05:17 +08:00
Bonian Chen
8dd1b0258d [Settings] Avoid from crash when pull out SIM
Avoid from crash when pull out SIM under SimStatusDialogController.

Bug: 153512823
Test: manual
Merged-In: I3869326bdfb65368827f25469ae83539a68e171f
Change-Id: I60500c058cf15bc432e46e27fe4b9fb1ae2989b7
2020-04-10 16:42:57 +08:00
TreeHugger Robot
b93584c2c3 Merge "[Settings] Add more owner" into rvc-dev am: 6e50dfc6ec am: c865eb04bc
Change-Id: Ia399a97aef2c348bdd2765631431c132f8b3fd2f
2020-04-10 08:31:12 +00:00
Arc Wang
b5595ac01e Merge "[Wi-Fi] Fix Hidden network option scrolls to bottom problem" into rvc-dev am: 57ff6599e7 am: c41420bd4e
Change-Id: Ia65e3e908cff4d521398eb7426ea6100c39f7c14
2020-04-10 08:31:06 +00:00
TreeHugger Robot
adde699c99 Merge "[Settings] Add more owner" into rvc-dev am: 6e50dfc6ec am: f702bb94d0
Change-Id: I003ad64464a044d1fbc39431db81a4e32bcaeb37
2020-04-10 08:29:28 +00:00
Arc Wang
98d4d8a0d0 Merge "[Wi-Fi] Fix Hidden network option scrolls to bottom problem" into rvc-dev am: 57ff6599e7 am: 6253abc2ab
Change-Id: I5d49798c339ec62bc6b22e3a552887b1d7f38356
2020-04-10 08:29:18 +00:00
Bonian Chen
0304e5f90c [Settings] Avoid from crash when pull out SIM
Avoid from crash when pull out SIM under SimStatusDialogController.

Bug: 153512823
Test: manual
Change-Id: I3869326bdfb65368827f25469ae83539a68e171f
2020-04-10 16:28:46 +08:00
TreeHugger Robot
c865eb04bc Merge "[Settings] Add more owner" into rvc-dev am: 6e50dfc6ec
Change-Id: I03b72c6027dcfe40e60363d17e7ccbf5e6f7f58a
2020-04-10 08:10:50 +00:00
Arc Wang
c41420bd4e Merge "[Wi-Fi] Fix Hidden network option scrolls to bottom problem" into rvc-dev am: 57ff6599e7
Change-Id: I5409c87391c8ec39bcdb1d9dcdf608b898d99cdf
2020-04-10 08:10:45 +00:00
TreeHugger Robot
f702bb94d0 Merge "[Settings] Add more owner" into rvc-dev am: 6e50dfc6ec
Change-Id: Ic6b440bafcb6f65dfe87f57fb5161b12c177923d
2020-04-10 08:09:20 +00:00
Arc Wang
6253abc2ab Merge "[Wi-Fi] Fix Hidden network option scrolls to bottom problem" into rvc-dev am: 57ff6599e7
Change-Id: Ia6e3dfe09548e0ec83eede9c041c6a71539629ff
2020-04-10 08:09:14 +00:00
TreeHugger Robot
6e50dfc6ec Merge "[Settings] Add more owner" into rvc-dev 2020-04-10 08:08:30 +00:00
Arc Wang
57ff6599e7 Merge "[Wi-Fi] Fix Hidden network option scrolls to bottom problem" into rvc-dev 2020-04-10 07:50:49 +00:00
Hiroki Sato
0e75d475ec Hide Bluetooth, Reset, Accessibility Settings in ARC
This is an upstreaming change of http://ag/8541963 and
http://ag/10296201 to hide some items from settings search.

This CL also adds javadoc to some settings classes to fix pre-upload
warnings.

Bug: 153704887
Test: Manual. In ARC build, "bluetooth" and "accessibility" no longer shows related settings.
Change-Id: Ic3e9217944251adbea1bdd67baf66d3a9e89583a
2020-04-10 16:00:57 +09:00
Menghan Li
e530a1f597 Merge "Sets the scroll indicators for edit shortcut dialog." into rvc-dev am: 417011c6f7 am: e98d4b9971
Change-Id: Idac70369ee057628ff4e833a8d6f84132d2dc2f5
2020-04-10 06:53:33 +00:00
Menghan Li
534d5ca2b6 Merge "Sets the scroll indicators for edit shortcut dialog." into rvc-dev am: 417011c6f7 am: 698b8f1f87
Change-Id: Ie2f01afbef5610e9ce3abfab0df48410647c9197
2020-04-10 06:52:54 +00:00
Menghan Li
698b8f1f87 Merge "Sets the scroll indicators for edit shortcut dialog." into rvc-dev am: 417011c6f7
Change-Id: I7c9d24b0d4377fac0e622bec05c1107db9050c9a
2020-04-10 06:33:20 +00:00
Menghan Li
e98d4b9971 Merge "Sets the scroll indicators for edit shortcut dialog." into rvc-dev am: 417011c6f7
Change-Id: I95f2bf776250c5b31e54b2ea6203b22ae1c315cf
2020-04-10 06:31:30 +00:00
Menghan Li
417011c6f7 Merge "Sets the scroll indicators for edit shortcut dialog." into rvc-dev 2020-04-10 05:21:54 +00:00
Arc Wang
d004dfc4b3 [Wi-Fi] Fix Hidden network option scrolls to bottom problem
Should not scroll to bottom since Hidden network option
is not at the bottom most.

Bug: 148036155
Test: manual
      Wi-Fi Setings -> Add network -> Advanced options ->
      click 'Hidden network' Yes -> should not scroll to bottom.
Change-Id: I6511f75441ebad62e2c28df76a39d702d78898a6
2020-04-10 13:19:30 +08:00
Bonian Chen
ce92b0efb7 [Settings] Add more owner
Add more owner for code review.

Bug: 0
Test: none
Change-Id: Idf49638e4599b95fe39fe127e5b965cf724f5d7c
2020-04-10 13:13:08 +08:00
Calvin Pan
26f239baae Merge "Check is5gEntryDisplayed in NETWORK_MODE_LTE_GSM_WCDMA mode" into rvc-dev am: 4e2e7bb734 am: f0a0d6e835
Change-Id: I65ad9fa36ea2da0ab8b79898b429cabd64bc23e1
2020-04-10 03:30:52 +00:00
Arc Wang
c9c0a04ee1 Merge "[A11Y][Wi-Fi] Prevent data usage header spinner speak at onResume" into rvc-dev am: 341a7971f0 am: bf4788bf26
Change-Id: If850427df616b17cabf747e8f82e57ca8e8fdc78
2020-04-10 03:29:21 +00:00
Arc Wang
454de2c192 Merge "[A11Y][Wi-Fi] Fix multiple Spinner selected speak out at once." into rvc-dev am: 0713c43bbb am: d0e238aaa1
Change-Id: Ib41d1964f36aba2f68db69a4789f1e84de28a4b1
2020-04-10 03:28:51 +00:00
Calvin Pan
ff3b20f5eb Merge "Check is5gEntryDisplayed in NETWORK_MODE_LTE_GSM_WCDMA mode" into rvc-dev am: 4e2e7bb734 am: 2b6e636673
Change-Id: Ie0c0d2f2e916108404b3762bea984f1a4bd9a7dd
2020-04-10 03:24:40 +00:00
Arc Wang
99bb9f52e4 Merge "[A11Y][Wi-Fi] Prevent data usage header spinner speak at onResume" into rvc-dev am: 341a7971f0 am: 4f70655963
Change-Id: Ie78a41681c7809322328cac751b3d1c35299008d
2020-04-10 03:24:34 +00:00
Arc Wang
57c09cbe17 Merge "[A11Y][Wi-Fi] Fix multiple Spinner selected speak out at once." into rvc-dev am: 0713c43bbb am: 873d9e019d
Change-Id: Icd037bc011db5defa323d8f2a177530864f8b687
2020-04-10 03:23:47 +00:00