Commit Graph

31298 Commits

Author SHA1 Message Date
Arc Wang
d7585f359a Merge "[Wi-Fi] Fix exception when 'Add device' with a Wi-Fi suggestion network" into rvc-dev am: e3199b8c11 am: d052197e35 am: 1b4b03064a am: 9e51111db7
Change-Id: Icc83efa22f6db05528c533db1c9a558411f80189
2020-04-03 14:17:56 +00:00
Arc Wang
1b4b03064a Merge "[Wi-Fi] Fix exception when 'Add device' with a Wi-Fi suggestion network" into rvc-dev am: e3199b8c11 am: d052197e35
Change-Id: Ia5c0ef86bc8916d4b31d685df0a2e1f75550f506
2020-04-03 13:44:57 +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
7874b1f51a Merge "Turn on location dialog when using twilight scheduling" into rvc-dev am: 710fd22f81 am: b217fab040 am: 2fabcc4cde am: 5f80453992
Change-Id: Id3af3aae3a78d02fd90a5fdf587a39852be331db
2020-04-03 09:11:45 +00:00
TreeHugger Robot
2fabcc4cde Merge "Turn on location dialog when using twilight scheduling" into rvc-dev am: 710fd22f81 am: b217fab040
Change-Id: Ie667783e8eab8b9940f3d445545d9642754a7fae
2020-04-03 08:41:03 +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
656e03d5b2 Merge "Hide unprovisioned MDN (phone number) at select profile dialog" into rvc-dev am: 14c5ea7b15 am: 9e02267488 am: 1738006bcc am: 9218d4b28b
Change-Id: I0a26b01cb911be365ac02abf0ae0430065cbd0b8
2020-04-03 05:17:40 +00:00
Peter Wang
9e02267488 Merge "Hide unprovisioned MDN (phone number) at select profile dialog" into rvc-dev am: 14c5ea7b15
Change-Id: I550ec013f5327d19984364da9550ce30846ef6db
2020-04-03 04:14:20 +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
76703104a4 Merge "Add a new developer options screen for shared data." into rvc-dev am: 5acd959e9e am: 2da25c7746 am: 2a187c64e6 am: b7bf410542
Change-Id: I9d75124b4d64814b1404b9699ac51fe02e49552f
2020-04-02 21:37:39 +00:00
TreeHugger Robot
2a187c64e6 Merge "Add a new developer options screen for shared data." into rvc-dev am: 5acd959e9e am: 2da25c7746
Change-Id: I75c7c17d1bfa893dae97aeb95b5690c37bdd4265
2020-04-02 21:00:44 +00:00
TreeHugger Robot
5322a51734 Merge "Add a new developer options screen for shared data." into rvc-dev am: 5acd959e9e
Change-Id: Id5eac250f0e8e67adbccfda3a78a78d85e08cb1e
2020-04-02 20:40:29 +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
7aac5c5214 Add conversations image to People DND setting page am: e646b28e26 am: 3afe367fa1 am: dd7d201712 am: 00258ba7ab
Change-Id: I592f23b609964a7abff58ec39c12586a180f948d
2020-04-02 18:49:41 +00:00
Beverly
dd7d201712 Add conversations image to People DND setting page am: e646b28e26 am: 3afe367fa1
Change-Id: Ia1f7952cd118233bdf9614ecd3671e205e0d9bb6
2020-04-02 17:56:52 +00:00
Beverly
791f2426e9 Add conversations image to People DND setting page am: e646b28e26
Change-Id: Icfcc24699a41d3a878f1635fd8ce941ce236b438
2020-04-02 17:45:39 +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
025d09d609 Merge "Add null check for config when clicking on wifi picker entry" into rvc-dev am: e1839d2955 am: fffa6d3a54 am: 790d4b85b3 am: a40ce86c5b
Change-Id: Iba4ae723e6bc535bd707365341f7db88421ed5aa
2020-04-02 11:00:39 +00:00
Arc Wang
790d4b85b3 Merge "Add null check for config when clicking on wifi picker entry" into rvc-dev am: e1839d2955 am: fffa6d3a54
Change-Id: I34b5b80a4872fbd6027682f72522d88318e90a7b
2020-04-02 10:22:35 +00:00
Arc Wang
40397e6007 Merge "Add null check for config when clicking on wifi picker entry" into rvc-dev am: e1839d2955
Change-Id: I7770bccb1094898fae9c2e36526958fd1ca3246d
2020-04-02 10:04:29 +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
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
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
TreeHugger Robot
eacc08eaa7 Merge "Add conversations image resource" into rvc-dev am: a3160941e2 am: 956d0265fe am: 5288d8236c am: d9738e1ae3
Change-Id: Ia640e2ca2610aba0a6d6c0e6de564cfadc65728c
2020-04-02 00:35:08 +00:00
TreeHugger Robot
5288d8236c Merge "Add conversations image resource" into rvc-dev am: a3160941e2 am: 956d0265fe
Change-Id: Ia2b267cd7088cd645484de5e92612aeb84d0ac62
2020-04-01 23:48:12 +00:00
TreeHugger Robot
5769ad00ca Merge "Add conversations image resource" into rvc-dev am: a3160941e2
Change-Id: Id3b369c21624424ef80128a0a89b77cd4ccf24c7
2020-04-01 23:28:38 +00:00
TreeHugger Robot
14934ed6e3 Merge "Fix crash when trying to open app info page" into rvc-dev am: a43e978ffb am: 37f7b8e26e am: f979cd94b8 am: bc47ba6807
Change-Id: I2ce5ad73dca56e7f407412c4862d0f7112f3c9ca
2020-04-01 23:07:15 +00:00
TreeHugger Robot
a3160941e2 Merge "Add conversations image resource" into rvc-dev 2020-04-01 23:06:58 +00:00
TreeHugger Robot
f979cd94b8 Merge "Fix crash when trying to open app info page" into rvc-dev am: a43e978ffb am: 37f7b8e26e
Change-Id: I2c53534e1ca65c12eb6d6dcc8b95aec4d947976e
2020-04-01 22:16:54 +00:00
TreeHugger Robot
1a70d052c9 Merge "Some more a11y fixes" into rvc-dev am: c78ad2087d am: 7883d6af66 am: 00573cf65e am: aa204a81fb
Change-Id: If82fbefab5e891ef0fe84a5b938d0235015f2f6d
2020-04-01 22:04:28 +00:00
TreeHugger Robot
514dcef9df Merge "Fix crash when trying to open app info page" into rvc-dev am: a43e978ffb
Change-Id: I69545cdbae3df0ed5b21c6f94b00352fa8f6c5c2
2020-04-01 21:56:19 +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
7883d6af66 Merge "Some more a11y fixes" into rvc-dev am: c78ad2087d
Change-Id: Ibdb294c1e340f71c29dbd94de7f872b0accd7e25
2020-04-01 21:09:51 +00:00
TreeHugger Robot
c78ad2087d Merge "Some more a11y fixes" into rvc-dev 2020-04-01 20:38:29 +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
8dfb729ceb Merge "[Settings] Code Refactor" into rvc-dev am: 0d3732a595 am: 5d88416ee0 am: ac48e7c606 am: fa41f98986
Change-Id: I2a94611959bf373ab2a048599a50ed5a1ecf096a
2020-04-01 17:07:27 +00:00
Bonian Chen
ac48e7c606 Merge "[Settings] Code Refactor" into rvc-dev am: 0d3732a595 am: 5d88416ee0
Change-Id: Id9ee5713de1bb803ae74cf43e2bc2d7b3f3d8803
2020-04-01 16:33:59 +00:00
Bonian Chen
0b1cc9979e Merge "[Settings] Code Refactor" into rvc-dev am: 0d3732a595
Change-Id: I06dcc9e2304a4fdb04ce9ba1dd30fb96e8045a2d
2020-04-01 16:19:07 +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
Bonian Chen
1a8b0b3db2 Merge "[Settings] Avoid from crash when pull out SIM" into rvc-dev am: cfbdcaf9f5 am: 98f1a405c6 am: 3f6f4e44e0 am: 41bc6897c1
Change-Id: Ia08496a45987db0d553f0d2cc4b0aaecd650857a
2020-04-01 08:05:48 +00:00
Bonian Chen
3f6f4e44e0 Merge "[Settings] Avoid from crash when pull out SIM" into rvc-dev am: cfbdcaf9f5 am: 98f1a405c6
Change-Id: Ic20177035e6902b8d55c52baa039f540bdd574ac
2020-04-01 07:29:24 +00:00
Bonian Chen
d9f98f935b Merge "[Settings] Avoid from crash when pull out SIM" into rvc-dev am: cfbdcaf9f5
Change-Id: I3687e0c1884ea802801c3eb00aafe933428cb817
2020-04-01 07:17:07 +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
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
Weilun Du
08e95d0db0 [Settings] Fix crashes caused by null bluetooth adapter and ethernet
manager

Emulator system image doesn't support bluetooth and ethernet manager
yet.
BUG: 150408099

Signed-off-by: Weilun Du <wdu@google.com>
Change-Id: Iab4f7b962f01755fe7d84956f9b54374f1e17408
2020-04-01 02:39:28 +00:00