Commit Graph

26195 Commits

Author SHA1 Message Date
Winson Chung
d16e3233af Updating settings to use resource overlay instead of setting.
Bug: 127366543
Test: Manual test on device
Test: make RunSettingsRoboTests ROBOTEST_FILTER=SystemNavigationLegacyPreferenceControllerTest
Test: make RunSettingsRoboTests ROBOTEST_FILTER=SystemNavigationSwipeUpPreferenceControllerTest
Test: make RunSettingsRoboTests ROBOTEST_FILTER=SystemNavigationEdgeToEdgePreferenceControllerTest

Change-Id: I021d05a21e00136c6f3651247964319274bdab91
2019-03-25 00:26:39 -07:00
Andrew Sapperstein
63ab34827f Merge "Update eSIM deletion strings." 2019-03-23 02:51:06 +00:00
Hall Liu
928d2abc57 Merge "Show the disclaimer regarding WFC location privacy policy" 2019-03-23 02:13:33 +00:00
Malcolm Chen
f2fca31c51 Clean up a few names of Telephony intent extra.
Bug: 128645056
Test: build
Change-Id: I5d47b132abb722282bd10b9fbb362fb1f1d32f11
2019-03-22 18:03:42 -07:00
Antony Sargent
fcc9440a52 String changes for some SIM switch confirmation dialogs
These are changes for strings used in two scenarios:

-When switching which SIM is used for mobile data. This is an update to
 some existing strings.

-Enabling an eSIM when another one is already enabled (so the first one
 will need to be disabled). These are new strings.

Bug: 129156640
Test: compile, plus manual (run a device in DSDS mode, go to details for
SIM that isn't currently used for mobile data, and tap on mobile data
switch)

Change-Id: Ie9dfe23c466cb454bbad916ba83b833967a0da0e
2019-03-22 16:47:33 -07:00
Lei Yu
fb93cb224f Merge "Add fp icon with background shape" 2019-03-22 22:03:53 +00:00
Salvador Martinez
6cf1399d5e Merge "Rename battery saver schedule mode apis" 2019-03-22 20:52:13 +00:00
Andrew Sapperstein
88930e373e Update eSIM deletion strings.
Adds some conditional behavior for the confirmation screens.
When the erase eSIM option is visible and checked, shows alternate string.

Fixes: 126262481
Fixes: 118751918
Test: visual inspection & make -j RunSettingsRoboTests
Change-Id: I40f983b03ad470d785bf104e645dbc92e7897d2d
2019-03-22 13:03:25 -07:00
jackqdyulei
36ce63dcb5 Add fp icon with background shape
Fixes: 126425211
Test: RunSettingsRoboTests

Change-Id: I779f76f597b80d73b6dd6eb9e43a96abc9fee0bb
2019-03-22 12:06:36 -07:00
TreeHugger Robot
4d33ead8ef Merge "Updated privacy settings to launch custom content capture settings when available." 2019-03-22 18:35:58 +00:00
TreeHugger Robot
c14515cc45 Merge "Add unofficial intent for BatterySaverSchedule screen" 2019-03-22 17:21:15 +00:00
Salvador Martinez
7fb560af4f Rename battery saver schedule mode apis
The APIs that back these settings got renamed so this CL just
refactors all the calls to use the new names.

Test: robotests still pass
Bug: 126944845
Change-Id: I2975c7c79998823058db2c0ced2e5cf02216a106
2019-03-22 10:02:51 -07:00
Felipe Leme
fcf98251f2 Updated privacy settings to launch custom content capture settings when available.
Test: manual verification
Test: atest EnableContentCapturePreferenceControllerTest \
      CtsContentTestCases:android.content.cts.AvailableIntentsTest#testRequestEnableContentCaptureIntent
Test: adb shell am start-activity -a android.settings.REQUEST_ENABLE_CONTENT_CAPTURE

Fixes: 119264902

Change-Id: I2a030c31d966d40feb6ba449e4bbc9ef8cf0565b
2019-03-22 08:10:48 -07:00
Rubin Xu
654a78b56e Do no crash when profile is deleted
Catch the exception and finish the activity.

Change-Id: I45deec32fd49119ab7943a941158bca82b63c432
Fix: 122823738
Test: manual
2019-03-22 15:06:56 +00:00
Irina Dumitrescu
4b96dc3ec7 Fail the screen lock flow if the old password has already changed.
Test: atest RunSettingsRoboTests
Bug: 120039091
Change-Id: Ib0860ccbc1ba84a2ac8dafcf3cf33f6ddf160e4c
2019-03-22 11:49:00 +00:00
Arc Wang
25595994b7 Add divider line in Preference for scan QR code button and share hotspot button
Use com.android.settingslib.R.layout.preference_two_target in
WifiTetherSsidPreference to add divider line.

Bug: 128940862
Test: manual test
Change-Id: I46dabcee31a91b68b8c2e57c9840a59f8a1be304
2019-03-22 18:06:11 +08:00
TreeHugger Robot
c74577eacf Merge "Revert "Add divider line in Preference for scan QR code button and share hotspot button"" 2019-03-22 08:18:16 +00:00
Xiangyu/Malcolm Chen
c7b392959e Merge "Move SIM select logic from SimSelectNotification to Telephony." 2019-03-22 06:48:23 +00:00
Arc Wang
8040f4c59f Revert "Add divider line in Preference for scan QR code button and share hotspot button"
This reverts commit 890f3a4340.

Reason for revert: I find a UI defect in this fix.

Change-Id: Icdbb1d2b5319636b8c4c54bcdc0fc3562585a15a
2019-03-22 05:36:59 +00:00
TreeHugger Robot
5ccefd53d1 Merge "Check if enrolled Wi-Fi network is reachable in WifiManager#connect onSuccess callback" 2019-03-22 05:36:45 +00:00
TreeHugger Robot
5826f427e2 Merge "Remove shadow from "Apps and Notifications"" 2019-03-22 05:19:36 +00:00
TreeHugger Robot
3a00f3bf81 Merge "Add keywords for wifi slice" 2019-03-22 03:42:17 +00:00
tmfang
aed8f361fc Remove shadow from "Apps and Notifications"
- Also create a util method to reuse it in different class.

Test: visual
Fixes: 128437380
Change-Id: I0e136feed3aead8c37e381095daebded55ef298d
2019-03-22 11:08:15 +08:00
Arc Wang
7599de43f7 Check if enrolled Wi-Fi network is reachable in WifiManager#connect onSuccess callback
WifiManager#connect may callback onSuccess even if the Wi-Fi network is not reachable,
it confuses users.

In onSuccess callback, if the Wi-Fi network is unreachable, shows error message.

Bug: 127980127
Test: manual test
Change-Id: I503d6c77c1f1fcab3a1240d904f1c60aaef63aa1
2019-03-22 10:48:27 +08:00
Arc Wang
d2405c7328 Merge "Improve Wi-Fi Easy Connect lock screen UI information" 2019-03-22 02:19:48 +00:00
Cosmo Hsieh
aaf6e03499 Merge "[Network Connection] Don't dismiss dialog when touching outside of dialog" 2019-03-22 01:45:53 +00:00
Lucas Lin
8701e18275 Merge "Modify dialog message for partial connectivity"
am: f467ee4a28

Change-Id: I9a022578e14327bfe98a3efa74a99d9f623a031e
2019-03-21 18:31:47 -07:00
TreeHugger Robot
d0e149fde3 Merge "Move WakeScreenGesturePrefController" 2019-03-22 01:19:00 +00:00
TreeHugger Robot
8eee9a942d Merge "Do not relaunch ConfirmLock after rotation" 2019-03-22 01:03:50 +00:00
Michael Groover
961e55309c Merge "Add Sensors Off QS developer tile" 2019-03-22 00:34:21 +00:00
Mill Chen
a77a05d5ae Add keywords for wifi slice
Wifi slice didn't have a bunch of keywords for search, so users have to
type full matched text to search for wifi setting. We added keywords for
wifi slice to fix it, in which keywords are defined in strings.xml.

Fixes: 109922806
Test: rebuild
Change-Id: Ibe3b65c186cf6f43ae744c1f478d8985e270374c
2019-03-21 17:21:33 -07:00
TreeHugger Robot
8a26152a50 Merge "Make conditional work properly when toggle it in QS" 2019-03-22 00:16:45 +00:00
Fan Zhang
e3cee29472 Merge "Remove reference to R.id.summary_container." 2019-03-21 23:41:58 +00:00
TreeHugger Robot
0847f14097 Merge "Clean up the hard cache in SettingSliceProvider." 2019-03-21 23:23:45 +00:00
Fan Zhang
a8291be3a9 Clean up the hard cache in SettingSliceProvider.
It doesn't need to be a map.

Bug: 129002750
Test: manual
Change-Id: If784dfe4fb497414a04dc5fa8c8374731539d8ed
2019-03-21 14:12:38 -07:00
Mill Chen
bd10886288 Make conditional work properly when toggle it in QS
Some conditionals do not work properly when users toggle its state in
QS, the cause is that these conditionals don't have a way to monitor the
status changed. Make RecyclerView handle onWindowFocusChanged event and
make sure that conditionals can update the status when going back to
Settings from QS.

Bug: 118387886
Bug: 123171638
Bug: 123167705
Test: visual, robotests
Change-Id: Ib3bb9bf43afaa58726502eea1e98bcf602bc3677
2019-03-21 13:28:25 -07:00
TreeHugger Robot
b4ae464e99 Merge "Show connecting and connected messages on the header subtext of Wi-Fi slice" 2019-03-21 19:27:04 +00:00
Rubin Xu
eba6d5db52 Do not relaunch ConfirmLock after rotation
Bug: 122712696
Test: manual
Change-Id: I44fdbdb54b42c3a680bd83fc21c00e5769b83151
2019-03-21 17:44:57 +00:00
TreeHugger Robot
a480df53de Merge "RuntimePermissionUsageInfo.getName() now returns a String." 2019-03-21 16:56:15 +00:00
Beverly
efd88a9a7c Move WakeScreenGesturePrefController
Test: n/a
Bug: 127955764
Change-Id: Ib4ca072e1ade3d2c0fd015e25d95807d8804d74d
2019-03-21 10:13:19 -04:00
TreeHugger Robot
8ef991f979 Merge "Remove tint to show rainbow drawable on Bluetooth devices slice" 2019-03-21 13:25:28 +00:00
Julia Reynolds
f7b793f808 Merge "Add settings for individual NAS components" 2019-03-21 13:09:00 +00:00
TreeHugger Robot
fc38c5c04e Merge "Revert layout transition from slice view" 2019-03-21 12:00:28 +00:00
Jason Chiu
b056c3a2b6 Show connecting and connected messages on the header subtext of Wi-Fi slice
Fixes: 128631698
Test: robotest
Change-Id: I1ea2a65d09eca9b3dd06f56c4ae69ef7f68ffd86
2019-03-21 18:49:09 +08:00
Yanting Yang
02aee793f9 Remove tint to show rainbow drawable on Bluetooth devices slice
Bluetooth icon has changed to rainbow icon. These new icons will be
abnormal if apply tint to them.

Fixes: 129038598
Test: visual
Change-Id: Ic02d226a46c36bb0b80f00b2e30d31a311e14e2f
2019-03-21 18:17:55 +08:00
Annie Meng
c1d4c47711 Merge "Use new dataManagementLabel AIDL in Backup Settings" 2019-03-21 10:17:09 +00:00
Yanting Yang
1cdb780526 Revert layout transition from slice view
Fixes:129002765
Test: visual
Change-Id: Ice56eb0ee5cd6018927271ab33ad9dd3321953b1
2019-03-21 16:59:47 +08:00
Michele Berionne
5c68865a88 Merge "Modified MultiSim APIs" 2019-03-21 08:01:43 +00:00
TreeHugger Robot
b9e6f894c3 Merge "Add divider line in Preference for scan QR code button and share hotspot button" 2019-03-21 06:26:27 +00:00
Arc Wang
abfd8ab726 Improve Wi-Fi Easy Connect lock screen UI information
1. Change lock screen title and remove description
2. In QR code generator screen, change summary and show password under QR code picture

Bug: 128920152
Bug: 128576809
Test: manual test
Change-Id: Id096d7f417308df14ffe50c618644750aa991df8
2019-03-21 14:09:22 +08:00