Commit Graph

60366 Commits

Author SHA1 Message Date
Arc Wang
d052197e35 Merge "[Wi-Fi] Fix exception when 'Add device' with a Wi-Fi suggestion network" into rvc-dev am: e3199b8c11
Change-Id: I09056417340b6a8f84dab1d5d92d9d3c289c9612
2020-04-03 13:19:31 +00:00
Arc Wang
e3199b8c11 Merge "[Wi-Fi] Fix exception when 'Add device' with a Wi-Fi suggestion network" into rvc-dev 2020-04-03 12:52:14 +00:00
kholoud mohamed
a8bd1bea4e Add metrics for the cross profile settings page
Also changed the install banner to not say "Tap to
install" if the intent to redirect to Play is missing.

Bug: 149774826
Test: tested manually that the metrics are being reported by running
./out/host/linux-x86/bin/statsd_testdrive 103

Change-Id: Ieebda237748b5dbff8e974465c5d67b147d92077
2020-04-03 11:21:10 +00:00
TreeHugger Robot
b217fab040 Merge "Turn on location dialog when using twilight scheduling" into rvc-dev am: 710fd22f81
Change-Id: I5667f356326cc51fc903e7e66e4427973e8f2413
2020-04-03 08:17:15 +00:00
TreeHugger Robot
710fd22f81 Merge "Turn on location dialog when using twilight scheduling" into rvc-dev 2020-04-03 08:03:41 +00:00
Peter Wang
6758ca661e Hide unprovisioned MDN (phone number) at select profile dialog
Bug: 151773922
Fix: 151773922
Test: Build
Change-Id: If84600cc426fefcdd219c4a44a5510b8db5c0a89
Merged-In: If84600cc426fefcdd219c4a44a5510b8db5c0a89
2020-04-03 00:09:39 -07:00
Peter Wang
94ca52b46b Merge "Hide unprovisioned MDN (phone number) at select profile dialog" into rvc-dev am: 14c5ea7b15
Change-Id: Ifaba337739976ffd1bade493110792417c85f39a
2020-04-03 04:14:02 +00:00
Peter Wang
14c5ea7b15 Merge "Hide unprovisioned MDN (phone number) at select profile dialog" into rvc-dev 2020-04-03 03:49:49 +00:00
Jay Aliomer
59c03c23b7 Turn on location dialog when using twilight scheduling
Night light and Dark theme scheduling does not work when in
twiligth mode. For the reason, we added a dialog to inform the user
that they need to turn on location services first.

Fixes: 153115618
Fixes: 153115261
Test: manual
Change-Id: Iea51018a7caba5c0ec93e058ee047d067bc03867
2020-04-03 03:45:20 +00:00
TreeHugger Robot
2da25c7746 Merge "Add a new developer options screen for shared data." into rvc-dev am: 5acd959e9e
Change-Id: Idcdb21706aa5e22bed04e73341ef43844182c774
2020-04-02 20:40:13 +00:00
TreeHugger Robot
5acd959e9e Merge "Add a new developer options screen for shared data." into rvc-dev 2020-04-02 20:13:28 +00:00
Beverly
3afe367fa1 Add conversations image to People DND setting page am: e646b28e26
Change-Id: I28dfa7645ad754e3fe43b89f92119a77ba5c09f8
2020-04-02 17:45:36 +00:00
Varun Shah
7efe9315ba Add a new developer options screen for shared data.
Add a new Storage section in the developer options menu which has a
new Shared Data preference. This preference screen shows all shared data
blobs on the device. There is also a new screen for each data blob which
shows all of the packages which currently have a leases on it. This
screen also has a button to delete the shared data blob.

Bug: 150626561
Test: make RunSettingsRoboTests ROBOTEST_FILTER=SharedDataPreferenceControllerTest
Test: manual (visual)
Change-Id: Id84a33dc7eeac493b2f81d3996ad24ee70557a07
2020-04-02 10:07:47 -07:00
jasonwshsu
65b3c904a5 Add accessibility timeout help resources to link to existing help page.
Bug: 151605034
Bug: 150915029
Test: manual test
Change-Id: I3482711fdf417989a8a8ec3bd05fbf81bdd947cb
2020-04-03 00:28:33 +08:00
Beverly
e646b28e26 Add conversations image to People DND setting page
Previously the image was only on the Conversations settings page, but it
should also be included on the People settings page too.

Test: manual
Bug: 151845457
Change-Id: I99af85b3dcc266a1a5743755fe3cb31fc16ccfba
2020-04-02 16:08:31 +00:00
Arc Wang
75d6c9fce3 [Wi-Fi] Fix exception when 'Add device' with a Wi-Fi suggestion network
WifiEntry#getWifiConfiguration() may return null when
WifiEntry#isSaved() is true. Use WifiEntry#canEasyConnect()
which checks if WifiEntry#getWifiConfiguration() returns
a non-null value.

Bug: 153029289
Test: manual
      Connect to a WPA2 Wi-Fi network, click 'Add device'
      in Wi-Fi detail page and see if it crashes.
Change-Id: Ia15503eea795fdd54826699828f02c9ff95dcefa
2020-04-02 22:35:30 +08:00
Arc Wang
d7a5067712 [Wi-Fi] Rename 'open network' to 'public network'
Bug: 152994241
Test: compile
Change-Id: Ib288c65e2eec6c0b82c07d1cde28b7e5f7ecdcdf
2020-04-02 18:24:06 +08:00
Arc Wang
fffa6d3a54 Merge "Add null check for config when clicking on wifi picker entry" into rvc-dev am: e1839d2955
Change-Id: I4059d4563980a4481b8bc20622b48266d963138c
2020-04-02 10:04:13 +00:00
Arc Wang
e1839d2955 Merge "Add null check for config when clicking on wifi picker entry" into rvc-dev 2020-04-02 09:48:06 +00:00
jasonwshsu
bfc3201e84 Show empty options in shortcut chooser dialog if shortPreference is unchecked.
* Fix the magnification can not auto restore shortcut options.
* The shortcut chooser dialog behavior will be:
1. If user's toggle switch is turned off, and they open the shortcut chooser dialog, none of the options are selected. In this state, if user chooses some of the shortcuts and saves, these choices will be honored.
2. If user's toggle switch is turned off, and they turn on the switch without opening the shortcut chooser dialog, their previously-saved shortcut option is brought back (e.g. if I previously used a11y button, I turn toggle switch off and then on again, I still have a11y button).
3. If user's toggle switch is turned on, and they open the shortcut chooser dialog, their previously-saved shortcut options will be shown.

Bug: 152539702
Bug: 153042341
Test: manual test
Change-Id: Ic109b3363eaf00ba77ce0ed05f4ec11517b1367e
2020-04-02 15:38:11 +08:00
TreeHugger Robot
dd5ea62c49 [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev am: dd6e85b216 -s ours am: 1245d88a9f -s ours
am skip reason: subject contains skip directive

Change-Id: Ibf4f00ac479134b4ac33c42927ce5df9e7f75126
2020-04-02 04:52:51 +00:00
Bill Yi
9a52e1f5af [automerger skipped] Import translations. DO NOT MERGE am: f639851869 -s ours am: f97ff85cc0 -s ours
am skip reason: subject contains skip directive

Change-Id: Idcf1ff3bca6dbc7add68ccaf8d4350db0a00959c
2020-04-02 04:52:45 +00:00
TreeHugger Robot
714a31a413 [automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-dev am: db76ac605e -s ours
am skip reason: subject contains skip directive

Change-Id: I959ec7ddd63ab01689cddcf083e2de67861bc25d
2020-04-02 04:51:14 +00:00
TreeHugger Robot
a99009ccff Merge "Fix SupportDashboardActivityTest" into rvc-dev am: 542746dadb
Change-Id: If10aaec09d3a564e0c1df2325990db94a08de5b0
2020-04-02 04:50:30 +00:00
TreeHugger Robot
1245d88a9f [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev am: dd6e85b216 -s ours
am skip reason: subject contains skip directive

Change-Id: I01153a8b33826e51b62f97847053d97e11f2e031
2020-04-02 04:41:54 +00:00
Bill Yi
f97ff85cc0 [automerger skipped] Import translations. DO NOT MERGE am: f639851869 -s ours
am skip reason: subject contains skip directive

Change-Id: If2356f8947883efaa51ba51272c49c034758d657
2020-04-02 04:41:47 +00:00
TreeHugger Robot
db76ac605e Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-04-02 04:38:23 +00:00
TreeHugger Robot
542746dadb Merge "Fix SupportDashboardActivityTest" into rvc-dev 2020-04-02 04:31:06 +00:00
TreeHugger Robot
dd6e85b216 Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev 2020-04-02 04:24:36 +00:00
Bill Yi
e6b95c40b4 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: Ice5352ce325a55055947f2763bf3d2018c7f0d90
2020-04-01 20:06:38 -07:00
Quang Luong
9cc099ab7e Add null check for config when clicking on wifi picker entry
Null check is needed when getting wifi configuration instead of relying
on isSaved() since isSaved() may be true while getWifiConfiguration() is
null.

Bug: 153029289
Test: manual tapping on suggested entry and verifying no crash
Change-Id: Id487f48bd2079d596ea157920e4709fb8407ee9f
2020-04-01 19:57:46 -07:00
Bill Yi
f639851869 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: Iae5c7783da1e785d2eb209fa870a564f505e6e9e
2020-04-01 19:35:23 -07:00
Peter Wang
2fa2d083c7 Hide unprovisioned MDN (phone number) at select profile dialog
Bug: 151773922
Fix: 151773922
Test: Build
Change-Id: If84600cc426fefcdd219c4a44a5510b8db5c0a89
2020-04-01 19:14:18 -07:00
Bill Yi
c94ea8ebff Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I6da65a4e5c521596b414cec5dffb68f5cf9b4c30
2020-04-01 19:05:10 -07:00
TreeHugger Robot
956d0265fe Merge "Add conversations image resource" into rvc-dev am: a3160941e2
Change-Id: I6ca7aa1c2115b3246865625cc1230d609bfb9f57
2020-04-01 23:28:15 +00:00
TreeHugger Robot
a3160941e2 Merge "Add conversations image resource" into rvc-dev 2020-04-01 23:06:58 +00:00
TreeHugger Robot
37f7b8e26e Merge "Fix crash when trying to open app info page" into rvc-dev am: a43e978ffb
Change-Id: I43b00c7d84df5d8d380f40dcc8be3057dba50d5e
2020-04-01 21:56:08 +00:00
TreeHugger Robot
a43e978ffb Merge "Fix crash when trying to open app info page" into rvc-dev 2020-04-01 21:43:47 +00:00
TreeHugger Robot
1f7f575d27 Merge "Some more a11y fixes" into rvc-dev am: c78ad2087d
Change-Id: Id523846322da44f305fe7996fdfa29b9f0a851aa
2020-04-01 21:08:56 +00:00
TreeHugger Robot
c78ad2087d Merge "Some more a11y fixes" into rvc-dev 2020-04-01 20:38:29 +00:00
TreeHugger Robot
c21abaf2af [automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-dev am: 51a0b4eaef -s ours
am skip reason: subject contains skip directive

Change-Id: I4cc8cb3d86fa897be7d85a68a7ac5e6a9de7b4e0
2020-04-01 18:11:18 +00:00
Xiangyu/Malcolm Chen
4a8c661a4b Merge "Update string of showing conflict between 5G and DSDS." into rvc-dev am: 9b3a03e504
Change-Id: Id6419e1264a0ddf014905e416db216538a9b3b52
2020-04-01 18:11:03 +00:00
TreeHugger Robot
51a0b4eaef Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-04-01 18:02:44 +00:00
Xiangyu/Malcolm Chen
9b3a03e504 Merge "Update string of showing conflict between 5G and DSDS." into rvc-dev 2020-04-01 17:57:07 +00:00
Beverly
216bf3c320 Add conversations image resource
- Conversations image resource is a compilation of the conversation
icons that are allowed to bypass DND
- Update category header text on DND > Display options for hidden notifications
page
- Update a11y bug in messages and calls pref pages that said images were
tappable

Test: manual
Bug: 151845457
Change-Id: I5387722abf0543b6e07378d498cc0085122c91b9
2020-04-01 13:51:52 -04:00
kholoud mohamed
f9a03cd415 Fix crash when trying to open app info page
Fixed a crash in App info page that happens when
no work profile exists, also fixed some unit tests.

Fixes: 152933121
Test: make RunSettingsRoboTests ROBOTEST_FILTER=InteractAcrossProfilesPreferenceControllerTest
Test: make RunSettingsRoboTests ROBOTEST_FILTER=InteractAcrossProfilesControllerTest
Test: make RunSettingsRoboTests ROBOTEST_FILTER=InteractAcrossProfilesSettingsTest
Test: make RunSettingsRoboTests ROBOTEST_FILTER=InteractAcrossProfilesDetailsTest
Change-Id: I7a1e5857cb1e10b96b33abd64359ba30459b1b13
2020-04-01 17:27:17 +00:00
Bonian Chen
5d88416ee0 Merge "[Settings] Code Refactor" into rvc-dev am: 0d3732a595
Change-Id: I64e7a3b6c251626620a3b77cb91b68e6a1c26dd1
2020-04-01 16:18:52 +00:00
Bonian Chen
0d3732a595 Merge "[Settings] Code Refactor" into rvc-dev 2020-04-01 16:07:47 +00:00
Julia Reynolds
6fb9669e44 Some more a11y fixes
Min height, and announcing button changes

Test: manual
Fixes: 152729661
Fixes: 152728211
Change-Id: I886ce046da3dd5b2b93673aee0cd5bdc37d5fc48
2020-04-01 12:05:25 -04:00
Yanting Yang
f7b884f59b Fix SupportDashboardActivityTest
Since the screen title of SupportDashboardActivity was changed to
page_tab_title_support string for fixing breadcrumb before.

We need to correct the test case to fix the test function fail.

Bug: 147851992
Test: robotests
Change-Id: I14e30ac2a5210bb2d89657cff5772c06c6e8fe5a
2020-04-01 20:13:59 +08:00