OSDN Git Service
Doris Ling [Thu, 22 Feb 2018 19:20:30 +0000 (11:20 -0800)]
Add divider in Location settings
- add divider above App-level permissions to separate from recent
location requests.
Change-Id: Idf4df29d3b6105df6e2099bba28a7ee00d1cb9f2
Fixes:
73773240
Test: visual
Vladislav Kuzkokov [Thu, 22 Feb 2018 14:54:36 +0000 (14:54 +0000)]
Merge "Add policy disclosure for printing."
TreeHugger Robot [Wed, 21 Feb 2018 23:37:35 +0000 (23:37 +0000)]
Merge "Add BatterySaver as SettingSlice"
Jerry Zhang [Wed, 21 Feb 2018 21:13:03 +0000 (21:13 +0000)]
Merge "Add UsbDefaultFragment and tests"
TreeHugger Robot [Wed, 21 Feb 2018 20:57:36 +0000 (20:57 +0000)]
Merge "Add Open button to launch instant app."
Fan Zhang [Wed, 21 Feb 2018 20:53:49 +0000 (20:53 +0000)]
Merge changes If1b263df,I95afbcf0
* changes:
Move instantiation-through-reflection method to controller
Minor cleanup in DashboardFragment: remove unused code
TreeHugger Robot [Wed, 21 Feb 2018 20:19:59 +0000 (20:19 +0000)]
Merge "Update launch component for work mode condition."
TreeHugger Robot [Wed, 21 Feb 2018 20:16:00 +0000 (20:16 +0000)]
Merge "Remove use of forceUpdate."
TreeHugger Robot [Wed, 21 Feb 2018 19:55:16 +0000 (19:55 +0000)]
Merge "Change def value for LOW_POWER_MODE_TRIGGER_LEVEL"
Fan Zhang [Wed, 21 Feb 2018 19:28:41 +0000 (11:28 -0800)]
Move instantiation-through-reflection method to controller
Bug:
73668763
Test: rerun robotest
Change-Id: If1b263dfd6a8c40f563ce53ce3f368aef5ca5a9f
Matthew Fritze [Wed, 21 Feb 2018 02:27:26 +0000 (18:27 -0800)]
Add BatterySaver as SettingSlice
Convert BatterySaverController to TogglePrefController.
This was the first MasterSwitchController, so we needed
to add the preference case to updateState.
Test: Robotests
Change-Id: I32f3dee0b183807c66c19513b8b064af8f369c2a
Fixes:
67996992
Jerry Zhang [Tue, 13 Feb 2018 02:26:15 +0000 (18:26 -0800)]
Add UsbDefaultFragment and tests
Replace old USB screen in developer options with
UsbDefaultFragment.
Test: pass
Bug:
62876645
Change-Id: I8428a2814b7e1abd7d0fa9fa9980dbc02cfa0034
Ben Lin [Wed, 21 Feb 2018 18:18:57 +0000 (18:18 +0000)]
Merge changes from topic "move-a11y-changes"
* changes:
Revert "Add ability to show/hide Color Correction and Color Inversion."
Revert "Add ability to show/hide accessibility_shortcut_preference."
jackqdyulei [Wed, 21 Feb 2018 02:15:24 +0000 (18:15 -0800)]
Change def value for LOW_POWER_MODE_TRIGGER_LEVEL
Fixes:
73668682
Test: RunSettingsRoboTests
Change-Id: I2122523c958f12bbdd658ae53d63b00769db3520
Fan Zhang [Wed, 21 Feb 2018 18:04:26 +0000 (18:04 +0000)]
Merge "Wifi: Restore hidden flag for hidden networks on update network" am:
0138575b8d am:
e1c58570d6
am:
935ce87d32
Change-Id: I4ad47e788c1ab591dc82a031ef22dadc65bf8582
Fan Zhang [Wed, 21 Feb 2018 17:55:50 +0000 (17:55 +0000)]
Merge "Wifi: Restore hidden flag for hidden networks on update network" am:
0138575b8d
am:
e1c58570d6
Change-Id: Ice03d80eedf64fb08a12471b22bfdff53b4f934b
Fan Zhang [Wed, 21 Feb 2018 17:37:10 +0000 (09:37 -0800)]
Minor cleanup in DashboardFragment: remove unused code
Bug:
73668763
Test: n/a
Change-Id: I95afbcf03987123e4ed8b76efbed299a7beb4448
Fan Zhang [Wed, 21 Feb 2018 17:47:12 +0000 (17:47 +0000)]
Merge "Wifi: Restore hidden flag for hidden networks on update network"
am:
0138575b8d
Change-Id: Ifda4b13017d4fc74f6fabfa5f91b3bda9177fb47
Fan Zhang [Wed, 21 Feb 2018 17:36:06 +0000 (17:36 +0000)]
Merge "Wifi: Restore hidden flag for hidden networks on update network"
Vladislav Kuzkokov [Mon, 19 Feb 2018 15:47:12 +0000 (16:47 +0100)]
Add policy disclosure for printing.
Bug:
64140119
Test: make -j40 RunSettingsRoboTests
Change-Id: Ib453c492f1dc9e6f9bd4019104dfd3eafcd0a8b4
TreeHugger Robot [Wed, 21 Feb 2018 07:09:32 +0000 (07:09 +0000)]
Merge "Push app icon 4 dp to the right."
TreeHugger Robot [Wed, 21 Feb 2018 03:34:37 +0000 (03:34 +0000)]
Merge "Move xmlParserUtils to core"
TreeHugger Robot [Wed, 21 Feb 2018 03:13:46 +0000 (03:13 +0000)]
Merge "Update suggestion/condition UI"
Fan Zhang [Wed, 21 Feb 2018 02:18:56 +0000 (02:18 +0000)]
Merge "Convert VibrationSettings to DashboardFragment."
Doris Ling [Wed, 21 Feb 2018 01:38:48 +0000 (17:38 -0800)]
Update launch component for work mode condition.
- start accounts dashboard instead of users settings.
Change-Id: I1365e6c32ac3de23c24b75e33262957e4a4224a9
Fixes:
73651609
Test: make RunSettingsRoboTests
Fan Zhang [Wed, 21 Feb 2018 01:43:28 +0000 (17:43 -0800)]
Move xmlParserUtils to core
This class is currently used by both search and slice, in the future
will be used by DashboardFragment to build controller list. So the scope
of this class is beyond search now.
Test: rerun robotests
Change-Id: If43ebca065aac31ad24f95a94bfe5be784109605
Fan Zhang [Wed, 21 Feb 2018 01:39:05 +0000 (17:39 -0800)]
Push app icon 4 dp to the right.
- This makes the icon for AppPreference center aligned.
Change-Id: I2624f376d7637fe49b8bc629e87cb55c3b6271cd
Fixes:
72710732
Test: visual
TreeHugger Robot [Wed, 21 Feb 2018 01:08:31 +0000 (01:08 +0000)]
Merge "Put Security-related controllers into a PreferenceCategoryController."
Fan Zhang [Tue, 20 Feb 2018 22:33:58 +0000 (14:33 -0800)]
Convert VibrationSettings to DashboardFragment.
- DashboardFragment integrates Slices and settings search better than
SettingsPreferenceFragment, and is more testable.
Test: robotests
Change-Id: I5f73836f94712c03521eac6b3f67964524381078
Fan Zhang [Tue, 20 Feb 2018 23:38:46 +0000 (23:38 +0000)]
Merge "Fix search highlight"
Doris Ling [Tue, 20 Feb 2018 23:30:47 +0000 (15:30 -0800)]
Update suggestion/condition UI
- reduce top padding for suggestion container
- match condition card corner radius with suggestion card.
- change condition card background color to white
- update suggestion title font from medium to regular.
Change-Id: I0267b37822facf4bd389e2b21c47a1fcf0d00264
Fixes:
70573674
Test: visual
Doris Ling [Tue, 20 Feb 2018 21:36:40 +0000 (13:36 -0800)]
Add Open button to launch instant app.
- move logic from InstantAppButtonsController into
InstantAppButtonsPreferenceController, as it is not really necessary to
have separate control to be in different class.
- add logic to check if the instant app provides a default launch uri.
If so, show a Open button to launch the uri, and move the Install
button into option menu. If not, Install button remains as is.
- also update the instant app button layout to match the regular 2
buttons layout.
Change-Id: Ibcae780ad697ca93a48604b03c8f4600dd3c0472
Fixes:
69562807
Test: make RunSettingsRoboTests
Fan Zhang [Tue, 20 Feb 2018 19:25:56 +0000 (11:25 -0800)]
Fix search highlight
- Fragments should not have advanced button when coming from search.
Change-Id: I10a192216b7ff702e73b791acbcc1eb1d71cb407
Fixes:
73348428
Test: robotests
TreeHugger Robot [Tue, 20 Feb 2018 21:03:04 +0000 (21:03 +0000)]
Merge "Get rid of direct usage of Utils.onBuildStartFragmentIntent"
Fan Zhang [Tue, 20 Feb 2018 20:02:29 +0000 (20:02 +0000)]
Merge changes I34732bdb,Ieafd3be6
* changes:
Remove some unused code
Remove unused slice metadata
TreeHugger Robot [Tue, 20 Feb 2018 18:52:24 +0000 (18:52 +0000)]
Merge "Update FakeUid for new methods"
Fan Zhang [Tue, 20 Feb 2018 18:18:54 +0000 (10:18 -0800)]
Remove some unused code
Bug: n/a
Test: rebuild
Change-Id: I34732bdbf59d8380bef50f9a5da8b974375ea345
Bill Yi [Tue, 20 Feb 2018 18:16:41 +0000 (18:16 +0000)]
Import translations. DO NOT MERGE am:
3b4a3e0a0f -s ours
am:
1bc57cbf3c -s ours
Change-Id: I153443f06806810009bf5bc735104471df8ab98b
Bill Yi [Tue, 20 Feb 2018 18:09:10 +0000 (18:09 +0000)]
Import translations. DO NOT MERGE
am:
3b4a3e0a0f -s ours
Change-Id: I68a6f27af09691e2a27712ecab8c876f5eb26283
TreeHugger Robot [Tue, 20 Feb 2018 18:05:49 +0000 (18:05 +0000)]
Merge "Import translations. DO NOT MERGE"
TreeHugger Robot [Tue, 20 Feb 2018 17:57:53 +0000 (17:57 +0000)]
Merge "Migrate more places to subsetting launcher"
Fan Zhang [Tue, 20 Feb 2018 17:57:42 +0000 (09:57 -0800)]
Remove unused slice metadata
Bug: n/a
Test: n/a
Change-Id: Ieafd3be6418e9b9217e0c56094d7ee4a8fcff851
Fan Zhang [Mon, 19 Feb 2018 22:31:50 +0000 (14:31 -0800)]
Get rid of direct usage of Utils.onBuildStartFragmentIntent
Change-Id: I87eb97d6da4cd4f99be5bcdb1e3e245eb1c7bd1c
Fixes:
73250851
Test: robotests
Lei Yu [Tue, 20 Feb 2018 17:06:18 +0000 (17:06 +0000)]
Merge "Change the order of battery tips"
Narayan Kamath [Tue, 20 Feb 2018 13:55:53 +0000 (13:55 +0000)]
Merge "Remove uses of libcore.util.Objects.hashCode / equals."
Bill Yi [Tue, 20 Feb 2018 08:57:01 +0000 (00:57 -0800)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I1e41ebfa49aad56d5fad9889dcea6f487457400d
Bill Yi [Tue, 20 Feb 2018 07:57:46 +0000 (23:57 -0800)]
Import translations. DO NOT MERGE
Change-Id: I2b9dfc6b51a0a18e420e9dcee21b7fc466ae458c
Auto-generated-cl: translation import
Anurag Das [Mon, 18 Dec 2017 09:17:01 +0000 (14:47 +0530)]
Wifi: Restore hidden flag for hidden networks on update network
Currently when user modifies any of the network parameter for hidden
networks, hidden flag is not updated. As a result this network is no
longer part of hidden networks, we are unable to reconnect when user
triggers wifi off and on.
This commit sets the value of hiddenSSID flag of config at the Settings
side on network update.
Test: manual test with hidden access point
Bug:
73256783
Change-Id: Ic20f03345645d8bf3bc9c3ff44910dd3f2797fec
TreeHugger Robot [Mon, 19 Feb 2018 23:11:09 +0000 (23:11 +0000)]
Merge "Migrate more settings to SubSettingsLauncher"
Fan Zhang [Mon, 19 Feb 2018 21:54:09 +0000 (13:54 -0800)]
Migrate more places to subsetting launcher
Bug:
73250851
Test: robotests
Change-Id: Iaf29df45ddb42fd58f181cb01e10998a97cb7c34
Fan Zhang [Sat, 17 Feb 2018 01:01:17 +0000 (17:01 -0800)]
Migrate more settings to SubSettingsLauncher
Bug:
73250851
Test: robotests
Change-Id: I4100bef20e2ed477e4e31c9b7816f1b03f3f2809
TreeHugger Robot [Mon, 19 Feb 2018 20:18:01 +0000 (20:18 +0000)]
Merge "Migrate more settings to SubSettingLauncher"
Narayan Kamath [Mon, 19 Feb 2018 14:09:56 +0000 (14:09 +0000)]
Remove uses of libcore.util.Objects.hashCode / equals.
Use public API in java.util.Objects instead.
Test: make
Change-Id: I2644164cc8ae5a6a25339abf7f2ed6e1c428c4ac
TreeHugger Robot [Mon, 19 Feb 2018 06:45:02 +0000 (06:45 +0000)]
Merge "Migrate more settings to use SubSettingsLauncher"
Fan Zhang [Sat, 17 Feb 2018 00:20:30 +0000 (16:20 -0800)]
Migrate more settings to SubSettingLauncher
Bug:
73250851
Test: robotest
Change-Id: Ifc27b90d68bf4a907f169e19338e9b52ea5f9922
Fan Zhang [Fri, 16 Feb 2018 18:37:37 +0000 (10:37 -0800)]
Migrate more settings to use SubSettingsLauncher
Bug:
73250851
Test: robotests
Change-Id: I08f6f380489646231d6d8ceb1488e2efb036bf69
TreeHugger Robot [Mon, 19 Feb 2018 03:26:26 +0000 (03:26 +0000)]
Merge "Import translations. DO NOT MERGE"
Bill Yi [Sun, 18 Feb 2018 17:42:03 +0000 (17:42 +0000)]
Import translations. DO NOT MERGE am:
27f30d2f46 -s ours
am:
9843b2e552 -s ours
Change-Id: I4e7ec3a5349efff5ec801993ca96b8578f045c10
Bill Yi [Sun, 18 Feb 2018 17:32:29 +0000 (17:32 +0000)]
Import translations. DO NOT MERGE
am:
27f30d2f46 -s ours
Change-Id: I02d655e5e18147b0cc6a95069db935ed39b1719d
TreeHugger Robot [Sat, 17 Feb 2018 17:52:57 +0000 (17:52 +0000)]
Merge "[Settings] Add focus for SSIDtext to show IME"
TreeHugger Robot [Sat, 17 Feb 2018 10:55:25 +0000 (10:55 +0000)]
Merge "[Settings] Update margin of summary of ring volumn"
Bill Yi [Sat, 17 Feb 2018 07:15:09 +0000 (23:15 -0800)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: Ia171cb822fd79c5828a9042873f4b52b6e9c6541
Bill Yi [Sat, 17 Feb 2018 06:18:15 +0000 (22:18 -0800)]
Import translations. DO NOT MERGE
Change-Id: I09b555b14e3825d857a3c67cc9b5c946fdfa4cf6
Auto-generated-cl: translation import
TreeHugger Robot [Sat, 17 Feb 2018 03:48:02 +0000 (03:48 +0000)]
Merge "Allow extras to be passed to app info subscreens"
TreeHugger Robot [Sat, 17 Feb 2018 02:33:14 +0000 (02:33 +0000)]
Merge "Make BatteryDatabaseManager singleton"
Amith Yamasani [Fri, 16 Feb 2018 19:30:18 +0000 (11:30 -0800)]
Update FakeUid for new methods
Bug:
70297451
Test: N/A
Change-Id: I8a9db76c85df2b3e3c5027f52d36914ad338aa35
jackqdyulei [Fri, 16 Feb 2018 22:57:10 +0000 (14:57 -0800)]
Change the order of battery tips
Bug:
72492206
Test: RunSettingsRoboTests
Change-Id: I27b2d5c27fbac2259d9ee483b755ac799dd0de68
Ben Lin [Fri, 16 Feb 2018 23:26:13 +0000 (15:26 -0800)]
Put Security-related controllers into a PreferenceCategoryController.
This way when everything is hidden in security, the whole category is
hidden also.
Bug: None
Test: Robotests
Change-Id: Ib4120975133df7910c5d5229a82d4052364501ac
Ben Lin [Fri, 16 Feb 2018 22:14:59 +0000 (22:14 +0000)]
Revert "Add ability to show/hide Color Correction and Color Inversion."
This reverts commit
f1346930bc18530940e464b4eb772d7717763a40.
Reason for revert: Moving logic elsewhere.
Change-Id: Ia07b3f4c33e0078e8f35c69d5ed51daf197ff165
Sudheer Shanka [Fri, 16 Feb 2018 23:05:25 +0000 (23:05 +0000)]
Merge "Raise priority of SHOW_ADMIN_SUPPORT_DETAILS intent filter."
Adrian Roos [Fri, 16 Feb 2018 22:47:11 +0000 (22:47 +0000)]
Merge "Use new OverlayManager categories"
Ben Lin [Fri, 16 Feb 2018 22:23:03 +0000 (22:23 +0000)]
Revert "Add ability to show/hide accessibility_shortcut_preference."
This reverts commit
4983dc1227dd3fd0c5b70ca397bdb287884478dc.
Reason for revert: Moving logic somewhere else.
Change-Id: I2f2e3ac6545e8599de32afb1fe6f6d108601e37d
Fan Zhang [Fri, 16 Feb 2018 16:58:51 +0000 (16:58 +0000)]
Merge changes I1c3620d3,Ic0bf23f6
* changes:
Move some subsetting launch to SubSettingLauncher
Migrate more subsetting launching to SubSettingLauncher
Fan Zhang [Fri, 16 Feb 2018 16:51:29 +0000 (16:51 +0000)]
Merge "Fix a failing robotest"
Fan Zhang [Fri, 16 Feb 2018 05:54:41 +0000 (05:54 +0000)]
Merge "Add string for instant app launch button."
Fan Zhang [Fri, 16 Feb 2018 05:54:03 +0000 (05:54 +0000)]
Merge "Ignore null value in Account settings summary."
Fan Zhang [Fri, 16 Feb 2018 05:30:03 +0000 (21:30 -0800)]
Fix a failing robotest
This is not a correct fix, in the longer term we should stop using
framework internal strings entirely.
Test: robotest
Change-Id: I47f93793fde1e9d5ba850ca4897f820d4919dda4
Fan Zhang [Fri, 16 Feb 2018 04:49:41 +0000 (04:49 +0000)]
Merge "Refactor Utils.startWithFragment to SubSettingLauncher"
Fan Zhang [Fri, 16 Feb 2018 00:34:40 +0000 (16:34 -0800)]
Move some subsetting launch to SubSettingLauncher
Bug:
73250851
Test: robotests
Change-Id: I1c3620d335eaf99bb110bcbb3e33ff3b2a05f84e
Fan Zhang [Thu, 15 Feb 2018 23:19:33 +0000 (15:19 -0800)]
Migrate more subsetting launching to SubSettingLauncher
Bug:
73250851
Test: robotests
Change-Id: Ic0bf23f6ac6f717bdd3d477fdb84af68badae8e6
Fan Zhang [Thu, 15 Feb 2018 21:56:56 +0000 (13:56 -0800)]
Refactor Utils.startWithFragment to SubSettingLauncher
- Use the new launcher in AccountTypePrefernce for now. Will migrate the
rest in follow up CLs.
Change-Id: I67aa49f54b39ecea4ecfdc32ccbd827d21fc79b8
Bug:
73250851
Test: robotest
Doris Ling [Thu, 15 Feb 2018 22:16:15 +0000 (14:16 -0800)]
Add string for instant app launch button.
Bug:
69562807
Test: rebuild
Change-Id: I8968091664ac6c693ef9269225192bb42b7907ca
Julia Reynolds [Mon, 12 Feb 2018 21:47:59 +0000 (16:47 -0500)]
Allow extras to be passed to app info subscreens
And pass though some extras through to notification settings.
This enables us to highlight appropriate preferences on the
subscreens while still funneling users through the app info
screen.
Test: make RunSettingsRoboTests
Bug:
72764587
Change-Id: I0197b595fe4bf3504588d9dd2985dd20de73c640
Doris Ling [Thu, 15 Feb 2018 01:50:25 +0000 (17:50 -0800)]
Ignore null value in Account settings summary.
If an account type has no valid label, null is returned. Check the value
to make sure that it is a valid label before adding it to the summary.
Change-Id: I0cf3ef9a976e1a7fe16720da237f416c674791fc
Fixes:
73375480
Test: make RunSettingsRoboTests
Fan Zhang [Wed, 14 Feb 2018 22:57:51 +0000 (14:57 -0800)]
Remove IA mapping for old connected device page
Change-Id: I201c09facb9e21d452c58ff3d257bdd37e6b854d
Fixes:
69471219
Test: robotest
TreeHugger Robot [Thu, 15 Feb 2018 03:46:19 +0000 (03:46 +0000)]
Merge "Centralize the automatic storage manager on check."
TreeHugger Robot [Wed, 14 Feb 2018 23:53:28 +0000 (23:53 +0000)]
Merge "Add android.permission.MANAGE_SCOPED_ACCESS_DIRECTORY_PERMISSIONS"
jackqdyulei [Wed, 14 Feb 2018 20:43:09 +0000 (12:43 -0800)]
Make BatteryDatabaseManager singleton
In BatteryTipLoader, two threads may access BatteryDatabaseManager
simultaneously. In this case thread A may close the database thread B
holds, then settings will crash.
In this cl, we make the BatteryDatabaseManager as singleton and
synchronize all the database related method. Then it shouldn't have
the crash anymore.
Bug:
73346734
Test: RunSettingsRoboTests
Change-Id: Ib53b2894b25155cca0c6ec60d1a816663d27a578
Felipe Leme [Wed, 14 Feb 2018 21:15:19 +0000 (13:15 -0800)]
Add android.permission.MANAGE_SCOPED_ACCESS_DIRECTORY_PERMISSIONS
This permission is required to access the ScopedAccessProvider. Although
Settings doesn't currently needs it because it has implicit access because
it runs as UID 1000, it's better to explicitly grant it.
Bug:
72055774
Test: atest CtsAppSecurityHostTestCases:ScopedDirectoryAccessTest#testResetDoNotAskAgain,testResetGranted
Change-Id: I843d7e4a1f674b4e012ac7f744d6ffccadde5a24
Daniel Nishi [Wed, 24 Jan 2018 02:28:11 +0000 (18:28 -0800)]
Centralize the automatic storage manager on check.
Bug:
70893105
Test: Existing tests pass.
Change-Id: I83fa0e1033eb530a02eca230d0dd79495cbcbc9d
TreeHugger Robot [Wed, 14 Feb 2018 17:34:56 +0000 (17:34 +0000)]
Merge "Re-added support for deprecated BIND_AUTOFILL permission."
TreeHugger Robot [Wed, 14 Feb 2018 17:22:55 +0000 (17:22 +0000)]
Merge "Handle Looper in PreferenceController"
TreeHugger Robot [Wed, 14 Feb 2018 17:22:55 +0000 (17:22 +0000)]
Merge "Fix instrumentation tests"
Yuchen Chang [Mon, 12 Feb 2018 07:42:59 +0000 (15:42 +0800)]
[Settings] Add focus for SSIDtext to show IME
Add focus to SSIDtext to show IME when choosing add network.
Bug:
72882629
Test: RunSettingsRobotests & Manual test
Change-Id: I1c51c4b800a7668c6760c88b97e920cf75c26b26
Adrian Roos [Wed, 24 Jan 2018 15:36:38 +0000 (16:36 +0100)]
Use new OverlayManager categories
Using this, we split overlays based on their category, so that
cutout emulation and theme overlays no longer clash in their
respective settings.
Bug:
72436677
Test: make ROBOTEST_FILTER=EmulateDisplayCutoutPreferenceControllerTest RunSettingsRoboTests
Change-Id: I23f22113351b3948beb9e3a1fb969700852539cc
HJ ChangLiao [Wed, 14 Feb 2018 03:03:31 +0000 (11:03 +0800)]
[Settings] Update margin of summary of ring volumn
Update margin of summary of ring volumn settings,
to align with Title.
Bug:
69978042
Test: Robotest and manual test
Change-Id: Id621bc4b2d755f84d68df6729731356dcdd3a625
TreeHugger Robot [Wed, 14 Feb 2018 02:35:10 +0000 (02:35 +0000)]
Merge "Don't set USB mode if user is a monkey"
Felipe Leme [Wed, 14 Feb 2018 02:09:09 +0000 (18:09 -0800)]
Re-added support for deprecated BIND_AUTOFILL permission.
This permission was renamed during the O previews but it was supported on the
final O release, so we need to carry it over.
Test: manual verification
Bug:
70682223
Change-Id: I24b41358fba7449d9216b49aa8b90480906cfb67
Sudheer Shanka [Wed, 14 Feb 2018 01:19:38 +0000 (17:19 -0800)]
Raise priority of SHOW_ADMIN_SUPPORT_DETAILS intent filter.
We don't want SHOW_ADMIN_SUPPORT_DETAILS intent to be handled
by other apps.
Bug:
69981936
Test: make -j32 RunSettingsRoboTests
Test: manual - Install another app which handles SHOW_ADMIN_SUPPORT_DETAILS
intent and verify that when SHOW_ADMIN_SUPPORT_DETAILS intent is
triggered, Settings activity gets launched.
Change-Id: I6f764fe53b32559da829d515dd448c817b6bf7c9
Jerry Zhang [Tue, 13 Feb 2018 23:58:14 +0000 (15:58 -0800)]
Don't set USB mode if user is a monkey
Test: tests pass
Fixes:
73246183
Change-Id: I9570c8bd8b11edd6eb0944a4aa766c22b4cc3619