Commit Graph

58446 Commits

Author SHA1 Message Date
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
Curtis Belmonte
13a5924c8d Update L2U string for face unlock in settings
Test: Checked in Settings for flame-userdebug build
Bug: 143905457
Change-Id: I2705b6bf9ae0a140f69ffaa5490a91500745f1e0
Merged-In: I1e98b95e81dea355c66e8c0f30664db21632d05c
2020-01-17 14:14:49 -08:00
Automerger Merge Worker
b3559b7152 [automerger skipped] Merge "Merge "Move the app to /system_ext" am: c8e4d7953e" into stage-aosp-master am: 38b21bca73 -s ours am: 10a451b563 -s ours
am skip reason: Change-Id Icd2f7fc7021e84fad9980d58688dc640ca4245f8 with SHA-1 68da89b6d8 is in history

Change-Id: Ib78d755490c32e3bc4e776cbba059b26136becef
2020-01-17 22:12:10 +00:00
Automerger Merge Worker
58b23a6128 [automerger skipped] Merge "Move the app to /system_ext" am: c8e4d7953e am: 3aa8d52dd6 -s ours am: 41c2ff7b7a -s ours
am skip reason: Change-Id Icd2f7fc7021e84fad9980d58688dc640ca4245f8 with SHA-1 68da89b6d8 is in history

Change-Id: Iaf3f0148702058eb1451e6295f145fd2a6246ff2
2020-01-17 22:11:26 +00:00
Automerger Merge Worker
5340b7da3c [automerger skipped] Merge "Move the app to /system_ext" am: c8e4d7953e am: 495d861928 am: 6efee9f387 -s ours
am skip reason: Change-Id Icd2f7fc7021e84fad9980d58688dc640ca4245f8 with SHA-1 68da89b6d8 is in history

Change-Id: I07e1612bd2f92960e4b8871f9cb04ad62d51c988
2020-01-17 22:03:59 +00:00
Automerger Merge Worker
10a451b563 [automerger skipped] Merge "Merge "Move the app to /system_ext" am: c8e4d7953e" into stage-aosp-master am: 38b21bca73 -s ours
am skip reason: Change-Id Icd2f7fc7021e84fad9980d58688dc640ca4245f8 with SHA-1 13aaa6ab4e is in history

Change-Id: Id6961509a549a849f473c6169d92f4497db8e117
2020-01-17 22:00:32 +00:00
Automerger Merge Worker
41c2ff7b7a [automerger skipped] Merge "Move the app to /system_ext" am: c8e4d7953e am: 3aa8d52dd6 -s ours
am skip reason: Change-Id Icd2f7fc7021e84fad9980d58688dc640ca4245f8 with SHA-1 13aaa6ab4e is in history

Change-Id: I74bedb53e41a950202d6f27980717e35930765e2
2020-01-17 21:59:58 +00:00
Automerger Merge Worker
6efee9f387 Merge "Move the app to /system_ext" am: c8e4d7953e am: 495d861928
Change-Id: If9903907b9b81a9d98920ffd3f11b11e6af0d5db
2020-01-17 21:49:07 +00:00
Kevin Chyn
dbdd06ca85 No longer need to cancel authentication from ConfirmDeviceCredentialActivity
CDCA no longer needs to cancel authentication in onPause. Since it
internally invokes BiometricPrompt, and BiometricPrompt's components e.g.
BiometricService and AuthController are aware of the "top-ness" of its
client, this code is redundant.

Fixes: 145991060

Test: Follow comment#3 in the bug above, repeat 10+ times
Test: Set up work profile, set up work profile password. Open work profile
      app, but before entering password, swipe up to go to home screen.
      Authentication is cancelled as expected.

Change-Id: I0b4d7d89cb9801ddbb6e3bd07f71191035cc75ec
2020-01-17 13:29:49 -08:00
Android Build Merger (Role)
38b21bca73 Merge "Merge "Move the app to /system_ext" am: c8e4d7953e" into stage-aosp-master 2020-01-17 20:17:59 +00:00
Jeongik Cha
3aa8d52dd6 Merge "Move the app to /system_ext"
am: c8e4d7953e

Change-Id: If82ec56401d73d7a18c47e14ca80d2cce54f07ec
2020-01-17 12:14:41 -08:00
Automerger Merge Worker
495d861928 Merge "Move the app to /system_ext" am: c8e4d7953e
Change-Id: I515919946b7438ca0e7971127a394545c1e61ea0
2020-01-17 20:13:16 +00:00