Commit Graph

58393 Commits

Author SHA1 Message Date
Andrei Onea
e2f4619602 Fix strings in PlatformCompatDashboard
Be more specific, by referring to 'target SDK', instead of just 'SDK'.

Test: atest PlatformCompatDashboardTest
Bug: 138280620
Change-Id: Ied8dd5d682ed20962040bf81e9b3b3b45166ea46
2020-01-17 16:41:46 +00:00
menghanli
87147f55f0 Support accessibility shortcut secondary action (9/n)
Reorder layout and add title for each category block.

Bug: 142530063
Bug: 142531156
Test: make RunSettingsRoboTests2
Change-Id: I0f4067aaf9c42c3ce065eebd0e75ad4153f7e9dc
2020-01-18 00:24:20 +08:00
Menghan Li
8e3ea9d1cf Merge "Talkback shouldn't speak action for description." 2020-01-17 16:10:29 +00:00
Menghan Li
fa240f6cfc Merge "Support autoclick secondary action (1/n)" 2020-01-17 14:13:47 +00:00
TreeHugger Robot
8caac569be Merge "Fix broken links in @ChangeId javadoc." 2020-01-17 12:49:49 +00:00
Ruslan Tkhakokhov
58a6cfc803 Merge "Fix ShadowSecureSettings" 2020-01-17 11:53:54 +00:00
Treehugger Robot
c8e4d7953e Merge "Move the app to /system_ext" 2020-01-17 11:44:42 +00:00
Tsung-Mao Fang
084b132295 Ignore test cases
Since ag/10056493 changed the interface, robotest is broken.

Bug: 147865441
Test: run all robotest
Change-Id: I88dce302068dbce3443c1909c092ff926260ad9b
2020-01-17 19:31:12 +08:00
Mathew Inwood
5800245d1b Fix broken links in @ChangeId javadoc.
We will soon have javadoc generated from the doc comments on all
@ChangeId annotated constants. Since the link target referred to
here is a @hide constant, it cannot be resolved as part of DAC doc
generation. Replace it with {@code} specifying the constants value
instead.

Bug: 144927670
Test: In follow up CLs
Change-Id: I9947e722dca228705190e8f2c49e47104c04dea6
2020-01-17 11:22:52 +00:00
ChenJean
7afc1fa6fb Support autoclick secondary action (1/n)
Added radio button preference and control to handle user update value.

Bug: 146019277
Test: Manual
Change-Id: Ie9136f942eec43fc378e7f39d8c2eb7534c531c9
2020-01-17 10:31:07 +00:00
hughchen
3bcd970171 Fix robo test build error
Bug: 147861843
Test: make -j42 RunSettingsRoboTests
Change-Id: I0ba094b955d94148bdd98cb78a1ca5c991275d49
2020-01-17 18:01:55 +08:00
Ruslan Tkhakokhov
ff3d5c978b Fix ShadowSecureSettings
Bug: 147858203
Test: make RunSettingsRoboTests

Add the new override of putStringForUser after it was introduced in
ag/10056493

Change-Id: I38894758268ab0025e01537cafe5cb078391a497
2020-01-17 09:38:09 +00:00
Arc Wang
33c6e65371 [Wi-Fi] Replace WifiEntryShell#getSecurityString with WifiEntry#getSecurityString
Bug: 143326832
Bug: 146407136
Bug: 147781156
Test: manual
      Check if security information correct

Change-Id: I32c247763783a38fed14eb06de863d9819cd6bdd
2020-01-17 17:12:05 +08:00
Goven Liu
4fa11dcb93 Merge "[Wi-Fi] Refactor add wifi networks feature to use WifiNetworkSuggestion." 2020-01-17 08:14:53 +00:00
menghanli
097472fc4a Talkback shouldn't speak action for description.
Fix for Select-To-Speak, Talkback, and Magify app.

Bug: 147793421
Bug: 147709365
Bug: 147708796
Test: Manual test
Change-Id: Id7b62c96df869cbd35f2ffbb442b0a4eb7e0393d
2020-01-17 16:10:21 +08:00
TreeHugger Robot
4a70204f51 Merge "Accessibility shortcut secondary action - fix permission dialog did not pop up" 2020-01-17 07:44:02 +00:00
Raff Tsai
7d7bde6006 Merge "Fix robolectric test error" 2020-01-17 04:43:12 +00:00
Yanting Yang
62fe52f292 Merge "Add bond state checking into BluetoothDevicesSlice" 2020-01-17 04:19:28 +00:00
Betty Chang
af2e3afb04 Merge "[Mainline] Copy the findBestComponent method from EuiccConnector to Settings" 2020-01-17 03:27:32 +00:00
tim peng
26d39236c6 Merge "Unable to set Bluetooth configuration at the first time" 2020-01-17 02:48:54 +00:00
Raff Tsai
ed233a3b72 Fix robolectric test error
Fixes: 147838071
Test: robolectric
Change-Id: Iee28543d69c1df84d38251284c357908d9a5591c
2020-01-17 09:57:08 +08:00
TreeHugger Robot
846f739465 Merge "Support accessibility shortcut secondary action (8/n)" 2020-01-17 01:10:53 +00:00
Winson
720aace363 Catch Security and IllegalStateExceptions when enabling overlays
As part of changes in R, it is now possible for OverlayManager
to throw SecurityExceptions for failure cases besides the
change overlays permission.

This can include actor enforcement, or app visibility, or something like
a package not being installed for a user. Previously, these checks
were not done and the OM would continue silently as normal. Now it will
fail. This behavior has been gated on targetSdk R, but requires changes
for existing code in the tree, as they target the platform development
version.

This treats them as general failures.

Bug: 147340954

Change-Id: If921e4ddf855e9162efb46abb4557b6c98c1e6b9
2020-01-16 23:08:25 +00:00
Sarah Chin
de616afce0 Rename references to getLteOnCdmaMode
Use @SystemApi TelephonyManager#isGlobalModeEnabled()

Test: build
Bug: 147335742
Change-Id: Ie1b01a97cf163d68e4a5529f1718a9a782d44bb0
2020-01-16 12:38:59 -08:00
Bonian Chen
66349e21c3 Merge "[Mainline] Use @SystemApi constants in SmsManager instead of in SmsUsageMonitor" 2020-01-16 20:13:37 +00:00
Bonian Chen
f121495e69 Merge "[Settings] Remove Phone hidden constants access" 2020-01-16 20:12:27 +00:00
Automerger Merge Worker
142e9a1e19 [automerger skipped] Merge "DO NOT MERGE - Merge qt-qpr1-dev-plus-aosp-without-vendor (6129114) into stage-aosp-master" into stage-aosp-master am: db6915778e am: b3bc4cf8f6 -s ours
am skip reason: subject contains skip directive

Change-Id: Iefa8d9e81b087acc374042917919731b300eed68
2020-01-16 19:11:52 +00:00
Automerger Merge Worker
4358f0d6ed [automerger skipped] DO NOT MERGE - Merge qt-qpr1-dev-plus-aosp-without-vendor (6129114) into stage-aosp-master am: ccbee6a795 am: 0ad2bf17b6 -s ours
am skip reason: subject contains skip directive

Change-Id: Icaf54b4d21bb8df029b33347595dc7fb86fd8301
2020-01-16 19:01:06 +00:00
Automerger Merge Worker
b3bc4cf8f6 Merge "DO NOT MERGE - Merge qt-qpr1-dev-plus-aosp-without-vendor (6129114) into stage-aosp-master" into stage-aosp-master am: db6915778e
Change-Id: I83b8e2a547b91bbc577f7827f778f4d06ee07847
2020-01-16 18:54:45 +00:00
Automerger Merge Worker
0ad2bf17b6 DO NOT MERGE - Merge qt-qpr1-dev-plus-aosp-without-vendor (6129114) into stage-aosp-master am: ccbee6a795
Change-Id: Ie97ffd800d66e21d10d47a9b4a89683f71fb1816
2020-01-16 18:34:46 +00:00
TreeHugger Robot
db6915778e Merge "DO NOT MERGE - Merge qt-qpr1-dev-plus-aosp-without-vendor (6129114) into stage-aosp-master" into stage-aosp-master 2020-01-16 18:29:15 +00:00
Menghan Li
f70d04ea0a Merge "Create palette preview for color correction (2/n)." 2020-01-16 15:12:26 +00:00
TreeHugger Robot
5f964f1886 Merge "Remove settings_work_profile feature flag" 2020-01-16 15:10:17 +00:00
menghanli
5d0f336fec Support accessibility shortcut secondary action (8/n)
Integrate with the multiple shortcut selections and change the behavior as below:
- Get the shortcut type from system provider or shared_prefs if this is first time to use.
- Update the shared_prefs for what user seen.

Bug: 142530063
Bug: 142531156
Test: make RunSettingsRoboTests2
Test: make RunSettingsRoboTests ROBOTEST_FILTER=AccessibilityUtilTest
Change-Id: I58aeb960e2c4aa0bc2432be34c1372c0de89117a
2020-01-16 22:57:11 +08:00
SongFerng Wang
5f4fadb949 Merge "Mainline: removed legacy UI for network selection mode." 2020-01-16 14:27:25 +00:00
TreeHugger Robot
bc6bd74228 Merge "Color correction improvement (4/n)" 2020-01-16 14:24:46 +00:00
TreeHugger Robot
7fd5b23da4 Merge "Accessibility shortcut secondary action - fix magnification triple tap logic" 2020-01-16 14:22:55 +00:00
jasonwshsu
c602ceb5ea Accessibility shortcut secondary action - fix permission dialog did not pop up
- Need to set EXTRA_CHECKED after shortcutPreference's checkbox is unchecked

Bug: 142530063
Test: manual
Change-Id: I7f1ea5a9d4b12ac958ac8a074cf7a267faddb4ad
2020-01-16 21:18:21 +08:00
TreeHugger Robot
244afa02d2 Merge "Revert "Settings search - Navigate user to exact page"" 2020-01-16 13:06:24 +00:00
Bonian Chen
4ecff2c833 [Settings] Remove Phone hidden constants access
Remove access to:
1. Phone.CDMA_SUBSCRIPTION_UNKNOWN
2. Phone.PREFERRED_NT_MODE
3. Phone.PREFERRED_CDMA_SUBSCRIPTION

Bug: 147794713
Test: manual
Change-Id: I18c2fa70a47fa7fb082a974dbd5acd61cf9f9c38
2020-01-16 13:05:33 +00:00
changbetty
bbc757e01a [Mainline] Copy the findBestComponent method from EuiccConnector to Settings
Make a copy of EuiccConnector#findBestComponent() into local method findEuiccService().

Bug: 147275124
Test: make RunSettingsRoboTests ROBOTEST_FILTER=ApplicationFeatureProviderImplTest
Change-Id: Ie81569d940fc354053469570e1506b1954d9f24d
2020-01-16 20:46:06 +08:00
Automerger Merge Worker
50d20369ae [automerger skipped] Import translations. DO NOT MERGE am: 250b9e7012 -s ours am: 90cb40e80c -s ours
am skip reason: subject contains skip directive

Change-Id: I0c32b44c220d21e85ab1cc26b467defc9e56beec
2020-01-16 11:49:41 +00:00
Automerger Merge Worker
90cb40e80c [automerger skipped] Import translations. DO NOT MERGE am: 250b9e7012 -s ours
am skip reason: subject contains skip directive

Change-Id: Id9a1fd209c07f005d5d325a54fb159e7cd282b1e
2020-01-16 11:33:44 +00:00
TreeHugger Robot
81d194ed7a Merge "Make contextual card count configurable." 2020-01-16 11:21:38 +00:00
SongFerngWang
affe5406a6 Mainline: removed legacy UI for network selection mode.
This cl base on ag/10098777. Now inserted inactive pSIM
will be included in Telephony's get available and
get selectable subInfo list so that logic is no longer
needed.

Bug: 147128878
Test: build pass
Change-Id: I1a0f431f05268d29afce145c3eb720594cfc57a3
2020-01-16 10:55:46 +00:00
Yanting Yang
9589041e1c Add bond state checking into BluetoothDevicesSlice
Make the Bluetooth device connected checking to be consistent with
BluetoothDeviceUpdater. Because it's more safe to check the bond state
and connected state together to handle abnoraml status from Bluetooth.

Fixes: 147351883
Test: visual, robotests
Change-Id: I4e34b73f16b44972fbb7273a5e13be1f3096835e
2020-01-16 18:38:14 +08:00
Automerger Merge Worker
be9bd728c7 [automerger skipped] Merge "Remove reference of PhoneConstant." am: 6f82fe83f0 am: 83e2fa8b03 am: fcfcf4380b -s ours
am skip reason: Change-Id I22b85799ad547aca1ce4e63af3f39bc7f29618c6 with SHA-1 25f1de88dd is in history

Change-Id: Iea63d74c38fa146aecb3ac6d1ed1e6686b398146
2020-01-16 10:33:49 +00:00
TreeHugger Robot
dc6e5ffe5f Merge "Import translations. DO NOT MERGE" 2020-01-16 10:31:32 +00:00
jasonwshsu
620aec5f8c Accessibility shortcut secondary action - fix magnification triple tap logic
- triple tap in settings is boolean status, not string.

Bug: 142530063
Test: make RunSettingsRoboTests -j52 ROBOTEST_FILTER=ToggleScreenMagnificationPreferenceFragmentTest
Change-Id: Ieec9879f7ef55b694245c6f9143575ba933855e5
2020-01-16 18:21:48 +08:00
Automerger Merge Worker
fcfcf4380b Merge "Remove reference of PhoneConstant." am: 6f82fe83f0 am: 83e2fa8b03
Change-Id: I52bd36fa7085f1915bf4be102af24c1269c1d317
2020-01-16 10:19:58 +00:00