Commit Graph

59795 Commits

Author SHA1 Message Date
Howard Chen
9266fe32f7 Add security patch level check in DSULoader
There's an enforced check enabled in locked devices. It requires
the installed DSU to have a security patch level equal or higher
than the device. This CL adds the SPL check in the DSULoader.

Bug: 151790609
Test: Developer Settings -> DSULoader
Change-Id: Ifef4175e846f58d8033cf161d7fec8481dc0532b
2020-04-05 06:21:09 +00:00
PO HUNG CHEN
9ba7fa975b Merge "Hide the DSULoader when DSU is running" into rvc-dev 2020-04-05 06:20:36 +00:00
Howard Chen
01871ab415 Hide the DSULoader when DSU is running
Bug: 151792130
Test: open developer settings and check the DSULoader
    make -j32 RunSettingsRoboTests
Change-Id: I8f82e0f7ddbfd2c50ac6e2a2d3f61f7715ba452c
2020-04-05 11:42:20 +08:00
Jason Hsu
68084f39d0 Merge "Show empty options in shortcut chooser dialog if shortPreference is unchecked." into rvc-dev 2020-04-04 14:44:17 +00:00
Bill Yi
8c858cf56e [automerger skipped] Import translations. DO NOT MERGE am: 9f8e7a90d8 -s ours
am skip reason: subject contains skip directive

Change-Id: I56faa3d75fa435afdd997c01e8ad45716c7dabc4
2020-04-04 06:56:15 +00:00
Bill Yi
9f8e7a90d8 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: Iced480939d3fa27302bdbe2a6701220c61e9511f
2020-04-03 21:52:12 -07:00
TreeHugger Robot
0367ab9c1f Merge "[Wi-Fi] Rename 'open network' to 'public network'" into rvc-dev 2020-04-03 13:20:06 +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
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
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
5acd959e9e Merge "Add a new developer options screen for shared data." into rvc-dev 2020-04-02 20:13:28 +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
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
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
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
a3160941e2 Merge "Add conversations image resource" into rvc-dev 2020-04-01 23:06:58 +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
c78ad2087d Merge "Some more a11y fixes" into rvc-dev 2020-04-01 20:38:29 +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
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
TreeHugger Robot
93162ce9f4 Merge "[Wi-Fi] Fix test fails in WifiDetailPreferenceController2Test" into rvc-dev 2020-04-01 09:39:12 +00:00
Arc Wang
26d3b7dd1b [Wi-Fi] Fix test fails in WifiDetailPreferenceController2Test
Sign in feature is integrated in WifiTraclerLib, change the test cases
to verify if WifiEntry sign in methods is called.

Bug: 151696220
Test: make RunSettingsRoboTests ROBOTEST_FILTER=WifiDetailPreferenceController2Test
Change-Id: Ia0157f5a96c700e5596c00cef873c8f5016d6442
2020-04-01 15:25:37 +08:00
Bonian Chen
cfbdcaf9f5 Merge "[Settings] Avoid from crash when pull out SIM" into rvc-dev 2020-04-01 07:00:15 +00:00
TreeHugger Robot
58cadcc6ee Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-04-01 05:13:22 +00:00
Bonian Chen
bd03b17a62 [Settings] Avoid from crash when pull out SIM
Avoid from crash through exception handling.

Bug: 148803073
Test: m RunSettingsRoboTests -j
ROBOTEST_FILTER=WifiCallingSettingsForSubTest
Test: m RunSettingsRoboTests -j
ROBOTEST_FILTER=WifiCallingPreferenceControllerTest
Test: m RunSettingsRoboTests -j
ROBOTEST_FILTER=WifiCallingSettingsTest
Test: m RunSettingsRoboTests -j
ROBOTEST_FILTER=WifiCallingSliceHelperTest

Change-Id: I10aff50b6f3fc50b2f336ee320740f9f4a81e256
2020-04-01 12:05:38 +08:00
Bill Yi
20e0cbec41 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I3d6289030419addc1ccd223de40be5e1bc422df8
2020-03-31 20:55:13 -07:00
Goven Liu
783b0257ad Merge "[Wi-Fi] Remove 5 unit tests in WifiDetailPreferenceController2Test" into rvc-dev 2020-04-01 03:16:34 +00:00
Bill Yi
5f16525806 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: Ie47208d5573659f3bdcc57c8d9933a2245625669
2020-03-31 20:12:42 -07:00
Bonian Chen
39ff4e4495 [Settings] Code Refactor
1. Code refactor for android.telephony.ims.ImsManager.
2. Remove unused methods

Bug: 140542283
Test: build pass
Change-Id: I187789a8a553a2c073b3591807dfebfafba6bc14
2020-04-01 10:58:27 +08:00
Malcolm Chen
0b2b2b50d7 Update string of showing conflict between 5G and DSDS.
Bug: 152786064
Test: manual
Change-Id: I3ab8dc326caff5b7480c17b9a8004ed91a8b0578
2020-03-31 17:19:16 -07:00
TreeHugger Robot
947cb48303 Merge "Add dnd messages + calls senders image resource" into rvc-dev 2020-03-31 19:40:48 +00:00
TreeHugger Robot
04d64f470e Merge "Disable conversation strip setting." into rvc-dev 2020-03-31 19:21:51 +00:00