Commit Graph

58356 Commits

Author SHA1 Message Date
menghanli
b010a9f9fd Remove select-to-speak toogle button from Vision Settings.
Integrate with shortcut design to to make the UI of Select to
Speak consistent in SUW and general Accessibility settings.

Bug: 148042379
Test: local test
Change-Id: I53fdac604e717303fef9526230b20e9901d55915
2020-01-21 09:08:12 +00:00
Bonian Chen
f63c6f9e4b [Settings] add WifiCallingQueryImsState for IMS
1. Code refactor
2. Introduce WifiCallingQueryImsState for user enable/disable configuration

Bug: 140542283
Test: m RunSettingsRoboTests -j ROBOTEST_FILTER=WifiCallingPreferenceControllerTest
Change-Id: Ib337d6418fcc89f81b15b8cb464d03dccc583756
2020-01-21 17:02:01 +08:00
Betty Chang
fd09f64d99 Merge "[Mainline] Copy the method getSelectableSubscriptionInfoList from SubscriptionManager to Settings" 2020-01-21 08:00:43 +00:00
menghanli
bf46032074 Support accessibility shortcut secondary action (10/n)
Integrate with Talkback enabled and change the behavior as below:
1. Show 3-finger swipe up from bottom summary
2. Show 3-finger icons for edit shortcut dialog
3. Dismiss the running the edit shortcut dialog

Bug: 142530063
Bug: 142531156
Bug: 147989432
Test: make RunSettingsRoboTests2
Change-Id: I2f34b8eebfdc5a385d72402e95a8b1d0bde4a428
2020-01-21 15:58:43 +08:00
Zhen Zhang
0ccc849de7 Add config value to switch between Tether Settings UIs.
Adding this config value to make it easy to switch to developing
Tethering settings UI. Also, using this config value to make sure
that preferences from new AllInOneTetherSettings screen won't show up in
the search results.

Bug: 147915366
Test: make RunSettingsRoboTests ROBOTEST_FILTER=CodeInspectionTest
Test: make RunSettingsRoboTests ROBOTEST_FILTER=TetherSettingsTest
Test: make RunSettingsRoboTests
ROBOTEST_FILTER=TetehrPreferenceControllerTest
Test: make RunSettingsRoboTests ROBOTEST_FILTER=WifiTetherSettingsTest

Change-Id: I8c88816a8f2b40fc219cae8d0d442454c5270b2b
2020-01-21 07:37:56 +00:00
Menghan Li
251bbaa008 Merge "Remove magnification settings screen from Vision Settings." 2020-01-21 07:04:59 +00:00
Nathan Harold
993ed46715 [DO NOT MERGE] Update CellIdentityGsm Constructor
Add a dummy parameter to the CellIdentityGsm constructor
for backwards compatibility.

As this code doesn't exist in goog/master, add a shim but
don't merge it.

Bug: 135921133
Test: compilation
Change-Id: I707bb4d2b90bfecd5825c25f9a1f92dbd9ccf41b
2020-01-20 22:07:20 -08:00
changbetty
e30517f9a5 [Mainline] Copy the method getSelectableSubscriptionInfoList from SubscriptionManager to Settings
Bug: 147206736
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=SubscriptionUtilTest
      make RunSettingsRoboTests -j ROBOTEST_FILTER=MobileDataSliceTest

Change-Id: I6d7e72a656723c0620d579e1e223945e2a3588af
2020-01-21 14:05:14 +08:00
Jason Chiu
75e8f5ea6c Implement new design of Bluetooth card
- show only up to 2 connected devices
- show the Bluetooth toggle only when it's off
- remove subtext
- when bluetooth is on but there is no connected device, show the row
  "Pair new device"

Test: robotest
Bug: 142927894
Fixes: 147892635
Change-Id: I1559fc0a4cb0b42bf447d25417ac454c29fe86c3
2020-01-21 13:52:20 +08:00
TreeHugger Robot
9d1b873c69 Merge "Remove the specific UX of Deferred Setup card" 2020-01-21 04:51:37 +00:00
Jason Chiu
1b0fbfeae6 Remove the specific UX of Deferred Setup card
Bug: 142927894
Test: visual, robotests
Change-Id: If93506fb11c6417967fab3d082b19947adef0d61
2020-01-21 11:47:13 +08:00
Betty Chang
dac6dda583 Merge "[Mainline] Removed non-formal API getAllSubscriptionInfoList to used in Settings" 2020-01-21 02:21:28 +00:00
TreeHugger Robot
eb8658a85e Merge "Allow any app to launch AppManageExternalStorageActivity" 2020-01-20 17:08:34 +00:00
shafik
c3284492f8 Allow any app to launch AppManageExternalStorageActivity
This activity is started by launching an intent with the action
android.settings.MANAGE_APP_ALL_FILES_ACCESS_PERMISSION and the package
name.

Previously, we required launching package to be granted the permission
MANAGE_EXTERNAL_STORAGE. This is not WAI because we want any app that
requests the permission to be able to launch the activity.
Because the activity allows apps that have requested the permission to
toggle the special app access anyway, this CL drops the requirement
mentioned above and now any app can launch the activity.

Test: manual - a normal app that doesn't request the permission can
launch the intent, and it can't toggle the special app access.
Test: manual - a normal app that requests the permission can launch the
intent, and it can toggle the special app access.
Fixes: 147906545

Change-Id: I605a5b03f9be1b4b11d94e121a18bbd316404590
2020-01-20 16:01:21 +00:00
Menghan Li
02a30b8378 Merge "Improve the touch target size of check box in shortcut dialog." 2020-01-20 15:15:40 +00:00
menghanli
c53e60fb80 Remove magnification settings screen from Vision Settings.
Bug: 147468783
Test: local test
Change-Id: I39f8de5d4bc4feaf0f913c07fb802b350f969125
2020-01-20 14:01:21 +00:00
Menghan Li
9fbf51d450 Merge "Support accessibility shortcut secondary action (9/n)" 2020-01-20 13:51:13 +00:00
menghanli
36baf99fc8 Improve the touch target size of check box in shortcut dialog.
Bug: 147773911
Bug: 147774273
Test: Local test
Change-Id: Id63b70d4a5223a5a415b9d3229c92a0bd77363e6
2020-01-20 21:50:03 +08:00
Automerger Merge Worker
1b5b3fc3f3 Merge "Fix strings in PlatformCompatDashboard" am: a9f0446ce8 am: e89b34a366 am: ad5fbe4177
Change-Id: Ie9c5333086b607f14238235cfe5996254e09d767
2020-01-20 13:46:24 +00:00
Automerger Merge Worker
ad5fbe4177 Merge "Fix strings in PlatformCompatDashboard" am: a9f0446ce8 am: e89b34a366
Change-Id: I9ac23dd4d5bce7da2841e529ea7be65260ce987c
2020-01-20 13:35:08 +00:00
Andrei-Valentin Onea
e89b34a366 Merge "Fix strings in PlatformCompatDashboard"
am: a9f0446ce8

Change-Id: I56cb47ccfe8278e722556fb6f9d4d08f0ac35d52
2020-01-20 05:25:45 -08:00
Andrei-Valentin Onea
a9f0446ce8 Merge "Fix strings in PlatformCompatDashboard" 2020-01-20 13:18:06 +00:00
Menghan Li
e4cdbcba62 Merge "Color correction improvement (5/n)" 2020-01-20 11:10:44 +00:00
Goven Liu
f5dc746fa9 Merge "[Wi-Fi] Add Wifitracker mechanism to update the signal icon." 2020-01-20 11:03:12 +00:00
changbetty
50d7506103 [Mainline] Removed non-formal API getAllSubscriptionInfoList to used in Settings
Bug: 147206736
Test: make RunSettingsRoboTests ROBOTEST_FILTER=DataUsageSummaryPreferenceControllerTest
      make RunSettingsRoboTests ROBOTEST_FILTER=DataUsageUtilsTest
      make RunSettingsRoboTests ROBOTEST_FILTER=SettingsDumpServiceTest
Change-Id: Ie9c01afa2b128f8d296b160d3628ea1fb7176e59
2020-01-20 18:42:22 +08:00
TreeHugger Robot
b2fe109956 Merge "Create a new Open supported links page" 2020-01-20 10:06:31 +00:00
govenliu
7e1018c0d0 [Wi-Fi] Add Wifitracker mechanism to update the signal icon.
Signal icon on the add wifi network feature is constant, didn't change with real signal level.

Bug: 146842198
Test: Add following unit test cases:
      1. withOneSuggestion_uiElementShouldHaveInitLevel() to test init level.
      2. withOneSuggestion_whenScanResultChanged_uiListShouldHaveNewLevel() to test level should updated according to scan result.

Change-Id: I212a825da9455a09a5c7777f87c0a74ec030c890
2020-01-20 17:34:20 +08:00
TreeHugger Robot
3a24382236 Merge "Define ICON_UNAVAILABLE for no icon status" 2020-01-20 09:23:33 +00:00
TreeHugger Robot
09f634edfc Merge "Fix robo test build error" 2020-01-20 06:58:22 +00:00
menghanli
756d819c42 Color correction improvement (5/n)
"Use Color correction" should be replaced by "Correct colors"

Bug: 145968068
Bug: 147988288
Test: make RunSettingsRoboTests2
Change-Id: I90ef36a99b34a82eb9f29f8b79d9aaa8d56441d1
2020-01-20 14:29:30 +08:00
TreeHugger Robot
4c1874dbb6 Merge "Add title and icon in panel header" 2020-01-20 06:00:08 +00:00
timhypeng
0206434667 Define ICON_UNAVAILABLE for no icon status
Bug: 147776885
Test: make -j42 RunSettingsRoboTests
Change-Id: I0fd0e203bb7590955d0caf2679ebc78be68b4e50
2020-01-20 13:57:02 +08:00
timhypeng
adae7475b0 Add title and icon in panel header
- Add getIcon() and getSubTitle() in PanelContent
- Check icon avalibility to decide header layout
- Add test cases

Bug: 147776885
Test: make -j42 RunSettingsRoboTests
Change-Id: Idb51e81359b6037ca9b90965dd9b370fc5e22c84
2020-01-20 13:43:19 +08:00
Rajeev Kumar
840db3034a Merge "Use TetherEnabler in AllInOneTetherSettings to manage master switch" 2020-01-20 05:37:16 +00:00
Automerger Merge Worker
79ebbc5dd0 [automerger skipped] Merge "Update api name" am: f82f807e03 am: c36a071238 am: 1cb6b91c7f -s ours
am skip reason: Change-Id I8c50678bdfd6de89fb8d56122bfa38bdd5ac5c9d with SHA-1 0ab3283ccf is in history

Change-Id: Ib53b0ef7146211f38013618fa7e6dd71c31770f5
2020-01-20 04:57:12 +00:00
Automerger Merge Worker
1cb6b91c7f Merge "Update api name" am: f82f807e03 am: c36a071238
Change-Id: I4f69bebb7f926588dd326061d030982d324b9b9b
2020-01-20 04:41:30 +00:00
timhypeng
c7edfa75de Fix robo test build error
- add atLeastOnce() because method would be called when init()

Bug: 147856265
Test: make -j42 RunSettingsRoboTests
Change-Id: I0bfe524caa674f7fe5895e3e30c8621b3c610bfc
2020-01-20 12:38:33 +08:00
hughchen
c36a071238 Merge "Update api name"
am: f82f807e03

Change-Id: I20240365a45eb27bcfed019ac77e4e6bfe09d24d
2020-01-19 20:25:49 -08:00
Treehugger Robot
f82f807e03 Merge "Update api name" 2020-01-20 04:18:14 +00:00
TreeHugger Robot
07416f4bee Merge "Fix robo test build error" 2020-01-20 02:00:46 +00:00
Zoey Chen
b0e78a94fd Merge "[Settings] To avoid use APIs in IccCard directly, calling APIs through TelephonyManager" 2020-01-19 14:38:35 +00:00
Automerger Merge Worker
4e3c7b5b50 [automerger skipped] Import translations. DO NOT MERGE am: 4ea25da221 -s ours am: dc9b7833ae -s ours
am skip reason: subject contains skip directive

Change-Id: Ic76886f22d58595ab03c92f315d6d05a9ea41dd6
2020-01-19 05:26:54 +00:00
Automerger Merge Worker
dc9b7833ae [automerger skipped] Import translations. DO NOT MERGE am: 4ea25da221 -s ours
am skip reason: subject contains skip directive

Change-Id: Ie54c3d06873db3619f65f6e804554d587f367d92
2020-01-19 05:14:51 +00:00
Raff Tsai
86c6503778 Merge "Run postsubmit test" 2020-01-18 07:35:47 +00:00
Bill Yi
4ea25da221 Import translations. DO NOT MERGE
Bug: 143905457

Change-Id: I14e7311ac25f37bbf8bc846a79963d0c560d98c8
Auto-generated-cl: translation import
2020-01-18 04:51:41 +00:00
Kevin Chyn
dd94fbff33 Merge "No longer need to cancel authentication from ConfirmDeviceCredentialActivity" 2020-01-18 03:30:22 +00:00
Automerger Merge Worker
3c633c1f7a [automerger skipped] Update L2U string for face unlock in settings am: 13a5924c8d am: 6471715f51 -s ours
am skip reason: Change-Id I1e98b95e81dea355c66e8c0f30664db21632d05c with SHA-1 150e2921d9 is in history

Change-Id: Ib45a94a7d218f7c9e2e3d08920641de130e0be1d
2020-01-18 01:16:35 +00:00
Automerger Merge Worker
6471715f51 Update L2U string for face unlock in settings am: 13a5924c8d
Change-Id: I72bec002da39a9ac86a8bb242d59e1a98d9e1369
2020-01-18 01:04:42 +00:00
David Su
453d88568f Settings: migrate usage of @hide NetworkSuggestion APIs
Settings uses @hide WifiNetworkSuggestion.
wifiConfiguration/passpointConfiguration.
Migrate to @SystemApi getters.

Removed call to PasspointConfiguration.validate()
as it is an @hide API, instead
WifiManager.addOrUpdatePasspointConfiguration()
will perform the required validation.

Bug: 138801922
Test: make RunSettingsRoboTests -j40
Change-Id: I748010b66634b1d24e89a175917492f638267cb1
2020-01-17 15:41:40 -08:00
Raff Tsai
bab6e55b58 Run postsubmit test
Bug: 145264421
Test: atest :postsubmit
Change-Id: I9bfa9c3b29e563d29fa343d905b3ff5ed29bb4e6
2020-01-18 07:19:59 +08:00