OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "Add "Threading" section to BackupAgent's class level javadoc" into oc-mr1-dev
Michal Karpinski [Fri, 11 Aug 2017 21:09:52 +0000 (21:09 +0000)]
Merge "Add "Threading" section to BackupAgent's class level javadoc" into oc-mr1-dev

6 years agoMerge "Fixing typo in swipe helper causing views not to be faded when swiped." into...
TreeHugger Robot [Fri, 11 Aug 2017 20:38:01 +0000 (20:38 +0000)]
Merge "Fixing typo in swipe helper causing views not to be faded when swiped." into oc-mr1-dev

6 years agoMerge "Save observer in call to commit" into oc-mr1-dev
TreeHugger Robot [Fri, 11 Aug 2017 20:29:03 +0000 (20:29 +0000)]
Merge "Save observer in call to commit" into oc-mr1-dev

6 years agoMerge "Each package can enqueue one toast at a time." into oc-mr1-dev
TreeHugger Robot [Fri, 11 Aug 2017 20:15:58 +0000 (20:15 +0000)]
Merge "Each package can enqueue one toast at a time." into oc-mr1-dev

6 years agoMerge "Camera: fix legacy device CTS failure" into oc-mr1-dev
TreeHugger Robot [Fri, 11 Aug 2017 19:23:11 +0000 (19:23 +0000)]
Merge "Camera: fix legacy device CTS failure" into oc-mr1-dev

6 years agoMerge "Previous active volume dialog remains above a11y." into oc-mr1-dev
TreeHugger Robot [Fri, 11 Aug 2017 19:19:10 +0000 (19:19 +0000)]
Merge "Previous active volume dialog remains above a11y." into oc-mr1-dev

6 years agoMerge "Explicitly allow shell to update listener/assist" into oc-mr1-dev
TreeHugger Robot [Fri, 11 Aug 2017 19:16:17 +0000 (19:16 +0000)]
Merge "Explicitly allow shell to update listener/assist" into oc-mr1-dev

6 years agoMerge "usb string update" into oc-mr1-dev
TreeHugger Robot [Fri, 11 Aug 2017 18:18:42 +0000 (18:18 +0000)]
Merge "usb string update" into oc-mr1-dev

6 years agoMerge "Change SystemApi as per API council feedback" into oc-mr1-dev
Neil Fuller [Fri, 11 Aug 2017 17:50:58 +0000 (17:50 +0000)]
Merge "Change SystemApi as per API council feedback" into oc-mr1-dev

6 years agoMerge "WebView: remove unused DATA_REDUCTION_PROXY_SETTING_CHANGED API" into oc-mr1-dev
TreeHugger Robot [Fri, 11 Aug 2017 17:38:11 +0000 (17:38 +0000)]
Merge "WebView: remove unused DATA_REDUCTION_PROXY_SETTING_CHANGED API" into oc-mr1-dev

6 years agoMerge "WebView: add WebView#getSafeBrowsingPrivacyPolicyUrl() API" into oc-mr1-dev
Nate Fischer [Fri, 11 Aug 2017 17:36:42 +0000 (17:36 +0000)]
Merge "WebView: add WebView#getSafeBrowsingPrivacyPolicyUrl() API" into oc-mr1-dev

6 years agoMerge "Reset fingerprint lockout upon successful unlock" into oc-mr1-dev
TreeHugger Robot [Fri, 11 Aug 2017 17:26:07 +0000 (17:26 +0000)]
Merge "Reset fingerprint lockout upon successful unlock" into oc-mr1-dev

6 years agoEach package can enqueue one toast at a time.
Beverly [Fri, 11 Aug 2017 16:49:56 +0000 (12:49 -0400)]
Each package can enqueue one toast at a time.

Change-Id: I5fe3db663d1d13ece8c670ca60bdc76dcaa5cc72
Fixes:64529000
Test: manual

6 years agoSave observer in call to commit
Todd Kennedy [Fri, 11 Aug 2017 17:15:04 +0000 (10:15 -0700)]
Save observer in call to commit

The observer used to be saved in a round-about way; being passed
to the "commit" message handler and set there. The idea was that
if there were multiple calls to commit() with different observers,
it would be strange to wipe out the first observer during the
second call to commit. However, setting the observer only in the
commit handler means there are other methods [namely abandon()
and setPermissionsResult()] where the observer will either not
be called unless the commit message handler was run or the first
observer might be wiped out with multiple commit calls.

The only way to track this properly would be to generate a
commit ID and assign an observer with that commit ID. However,
there doesn't appear to be a legit use case for a caller to invoke
commit multiple times on the same session with different observers.
So, we just set the observer directly in the commit() method.

Change-Id: I5e0d6c163ea84d1f49780aa899afb2e1cdf17584
Fixes: 64564511
Test: cts-tradefed run commandAndExit cts-dev -t android.appsecurity.cts.PkgInstallSignatureVerificationTest#testInstallEphemeralRequiresV2Signature -m CtsAppSecurityHostTestCases

6 years agoMerge "Pleasant sound implemented for in-call notif." into oc-mr1-dev
TreeHugger Robot [Fri, 11 Aug 2017 16:56:10 +0000 (16:56 +0000)]
Merge "Pleasant sound implemented for in-call notif." into oc-mr1-dev

6 years agoMerge "Add dirty_image_objects file." into oc-mr1-dev
Mathieu Chartier [Fri, 11 Aug 2017 16:32:32 +0000 (16:32 +0000)]
Merge "Add dirty_image_objects file." into oc-mr1-dev

6 years agoMerge "Group new free notis if autogroup summary exists" into oc-mr1-dev
TreeHugger Robot [Fri, 11 Aug 2017 16:22:59 +0000 (16:22 +0000)]
Merge "Group new free notis if autogroup summary exists" into oc-mr1-dev

6 years agoMerge "Dismiss SystemUIDialogs on ACTION_CLOSE_SYSTEM_DIALOGS" into oc-mr1-dev
Philipp Weiß [Fri, 11 Aug 2017 15:33:05 +0000 (15:33 +0000)]
Merge "Dismiss SystemUIDialogs on ACTION_CLOSE_SYSTEM_DIALOGS" into oc-mr1-dev

6 years agoExplicitly allow shell to update listener/assist
Julia Reynolds [Fri, 11 Aug 2017 15:26:04 +0000 (11:26 -0400)]
Explicitly allow shell to update listener/assist

Oddly, this was flaky; sometimes shell could update
the entries

Fixes: 63793946
Test: cts
cts-tradefed run cts-dev --module DevicePolicyManager
--test com.android.cts.devicepolicy.ManagedProfileTest
cts-tradefed run cts-dev --module DevicePolicyManager --test
com.android.cts.devicepolicy.ManagedProfileTest
cts-tradefed run cts-dev --module DevicePolicyManager
--test com.android.cts.devicepolicy.ManagedProfileTest

Change-Id: I5cc6d6a49ad083e68cac1717f97b025966619102

6 years agoChange SystemApi as per API council feedback
Neil Fuller [Fri, 11 Aug 2017 12:22:36 +0000 (13:22 +0100)]
Change SystemApi as per API council feedback

API council have requested a manifest constant be added
to the SystemApi directly in preference to an indirect
SystemApi constant here:
android.provider.TimeZoneRulesDataContract.READER_PERMISSION.

This is the first of three changes to (1) add the new constant,
(2) switch over code using the constant, (3) remove the
constant.

Bug: 64568899
Test: None, build only
Change-Id: Ib9766591979886d1db3b1d7321536dabf5cf81a8
(cherry picked from commit 8bb4140516c0e18d6c3cbb4215cedc306a2a6da9)

6 years agousb string update
Julia Reynolds [Fri, 11 Aug 2017 13:05:20 +0000 (09:05 -0400)]
usb string update

Change-Id: Ib55ce7dbb0e9e5d25e01fd70b99cad5494cd619c
Fixes: 63157187
Test: make

6 years agoMerge "Enforce policy for camera gesture in keyguard" into oc-dev am: 49bef543b3...
Esteban Talavera [Fri, 11 Aug 2017 12:50:34 +0000 (12:50 +0000)]
Merge "Enforce policy for camera gesture in keyguard" into oc-dev am: 49bef543b3  -s ours
am: b6ba151a6f  -s ours

Change-Id: Ie26efb399e409d4ca90b434f9dbe6ee648d08c36

6 years agoMerge "Enforce policy for camera gesture in keyguard" into oc-dev
Esteban Talavera [Fri, 11 Aug 2017 12:34:00 +0000 (12:34 +0000)]
Merge "Enforce policy for camera gesture in keyguard" into oc-dev
am: 49bef543b3  -s ours

Change-Id: I69369945e8fc5c1090c8ee217b5d193f5fb1236d

6 years agoMerge "Enforce policy for camera gesture in keyguard" into oc-dev
TreeHugger Robot [Fri, 11 Aug 2017 12:25:01 +0000 (12:25 +0000)]
Merge "Enforce policy for camera gesture in keyguard" into oc-dev

6 years agoMerge "FRP: clear FRP when setup complete if not set up" into oc-mr1-dev
TreeHugger Robot [Fri, 11 Aug 2017 12:10:46 +0000 (12:10 +0000)]
Merge "FRP: clear FRP when setup complete if not set up" into oc-mr1-dev

6 years agoMerge "Fix the strings accordingly for policy transparency dialogs" into oc-mr1-dev
TreeHugger Robot [Fri, 11 Aug 2017 10:42:24 +0000 (10:42 +0000)]
Merge "Fix the strings accordingly for policy transparency dialogs" into oc-mr1-dev

6 years agoDismiss SystemUIDialogs on ACTION_CLOSE_SYSTEM_DIALOGS
phweiss [Wed, 5 Jul 2017 16:54:54 +0000 (18:54 +0200)]
Dismiss SystemUIDialogs on ACTION_CLOSE_SYSTEM_DIALOGS

This fixes the bug where different dialogs can appear
over the ambient screen or the Recent Apps screen.

Bug: 63286397
Test: manual, runtest systemui
Change-Id: I86d0cdd3d30e0ea8cbdae2dc220e1f988cf6decb
(cherry picked from commit 679dc2492ce1286a44c9dcd60e18dc97dd886a0a)

6 years agoMerge "Remove preloaded media route resources" into oc-mr1-dev
TreeHugger Robot [Fri, 11 Aug 2017 03:00:21 +0000 (03:00 +0000)]
Merge "Remove preloaded media route resources" into oc-mr1-dev

6 years agoWebView: add WebView#getSafeBrowsingPrivacyPolicyUrl() API
Nate Fischer [Thu, 10 Aug 2017 06:02:36 +0000 (23:02 -0700)]
WebView: add WebView#getSafeBrowsingPrivacyPolicyUrl() API

This adds a dedicated API for fetching a URL for the Safe Browsing
reporting privacy policy.

This URL should be displayed by applications on custom Safe Browsing
interstitials.

Bug: 64077668
Test: make update-api (it compiles and javadocs look good)
Change-Id: I2873260edcaa924e68517c8679079e147b9995f4

6 years agoMerge "Removed isUserStoppingOrShuttingDownLocked" into oc-mr1-dev
TreeHugger Robot [Fri, 11 Aug 2017 01:28:01 +0000 (01:28 +0000)]
Merge "Removed isUserStoppingOrShuttingDownLocked" into oc-mr1-dev

6 years agoMerge "Fix CTS, Remove CONFIGURE_ASSIST_GESTURE permission" into oc-dr1-dev
Kevin Chyn [Fri, 11 Aug 2017 01:09:34 +0000 (01:09 +0000)]
Merge "Fix CTS, Remove CONFIGURE_ASSIST_GESTURE permission" into oc-dr1-dev
am: cad75e2437

Change-Id: Ib609a68d8da9eab5e4993565c61aec9ea6b1ba35

6 years agoMerge "DO NOT MERGE: Update BatteryStatsImpl to handle change in no. of freqs." into...
Sudheer Shanka [Fri, 11 Aug 2017 01:05:43 +0000 (01:05 +0000)]
Merge "DO NOT MERGE: Update BatteryStatsImpl to handle change in no. of freqs." into oc-mr1-dev

6 years agoMerge "FP permission checks should not crash system process" into oc-mr1-dev
TreeHugger Robot [Fri, 11 Aug 2017 01:01:58 +0000 (01:01 +0000)]
Merge "FP permission checks should not crash system process" into oc-mr1-dev

6 years agoMerge "Fix CTS, Remove CONFIGURE_ASSIST_GESTURE permission" into oc-dr1-dev
TreeHugger Robot [Fri, 11 Aug 2017 00:59:08 +0000 (00:59 +0000)]
Merge "Fix CTS, Remove CONFIGURE_ASSIST_GESTURE permission" into oc-dr1-dev

6 years agoRemove preloaded media route resources
Christofer Åkersten [Thu, 10 Aug 2017 23:04:48 +0000 (08:04 +0900)]
Remove preloaded media route resources

Remove system preloads previously removed in ag/2549555 and mistakenly
readded in merge ag/2691682.

Bug: 64567067
Bug: 64534957
Change-Id: I707ebf9f998aaeb472e41ebde2802db3d3f20a4d
Test: build

6 years agoMerge "Update ConnOnActivityStartTest to be hermetic." into oc-mr1-dev
Sudheer Shanka [Thu, 10 Aug 2017 22:52:40 +0000 (22:52 +0000)]
Merge "Update ConnOnActivityStartTest to be hermetic." into oc-mr1-dev

6 years agoAdd dirty_image_objects file.
Jeff Hao [Mon, 31 Jul 2017 20:35:01 +0000 (13:35 -0700)]
Add dirty_image_objects file.

Allows grouping of classes with dirty static fields to be grouped
together in the image to have fewer dirty pages.

Bug: 62554875
Test: mm test-art-host

(cherry picked from commit 37641ae54ab72509276d0fdd3f0fabeea9988c4a)

Change-Id: Ibc30b13edb9554f79df86e98253ae318a5ece342

6 years agoCamera: fix legacy device CTS failure
Yin-Chia Yeh [Thu, 10 Aug 2017 22:41:50 +0000 (15:41 -0700)]
Camera: fix legacy device CTS failure

Bug: 64259581
Test: emulator CTS failure is fixed
Change-Id: I9988ffb7877c3f5d62c82ab3c7b8744720824fba

6 years agoMerge "Stop focusing views before layout." into oc-dr1-dev
Phil Weaver [Thu, 10 Aug 2017 22:44:39 +0000 (22:44 +0000)]
Merge "Stop focusing views before layout." into oc-dr1-dev
am: a5dab05b61

Change-Id: I31f4ce541ac56887549a654b5e313e1f361152c3

6 years agoDO NOT MERGE: Update BatteryStatsImpl to handle change in no. of freqs.
Sudheer Shanka [Thu, 10 Aug 2017 19:02:31 +0000 (12:02 -0700)]
DO NOT MERGE: Update BatteryStatsImpl to handle change in no. of freqs.

Bug: 62240247
Test: cts-tradefed run singleCommand cts-dev -m CtsIncidentHostTestCases -t \
      com.android.server.cts.BatteryStatsValidationTest

Change-Id: I1328fe7bf29229e9563cde6eea80addf2b91ea5d

6 years agoMerge "Stop focusing views before layout." into oc-dr1-dev
Phil Weaver [Thu, 10 Aug 2017 22:34:03 +0000 (22:34 +0000)]
Merge "Stop focusing views before layout." into oc-dr1-dev

6 years agoMerge "Delete all ro.hwui.* props" into oc-mr1-dev
John Reck [Thu, 10 Aug 2017 21:57:02 +0000 (21:57 +0000)]
Merge "Delete all ro.hwui.* props" into oc-mr1-dev

6 years agoFixing typo in swipe helper causing views not to be faded when swiped.
Winson Chung [Thu, 10 Aug 2017 21:13:37 +0000 (14:13 -0700)]
Fixing typo in swipe helper causing views not to be faded when swiped.

Bug: 63516235
Test: Enable flag to fade when swiped and verify it fades
Change-Id: I49e7840d5423d018c1f88a02e8b272c80d0143a2

6 years agoPleasant sound implemented for in-call notif.
Beverly [Wed, 26 Jul 2017 18:13:40 +0000 (14:13 -0400)]
Pleasant sound implemented for in-call notif.

Replacing tone generator with an audio file for in-call notifications from text messages.

Fixes: 38194285
Test: runtest -x frameworks/base/services/tests/notification/src/com/android/server/notification/BuzzBeepBlinkTest.java
Change-Id: I9ec28ff54ae259ae906b3db08ece7059707c7edb

6 years agoGroup new free notis if autogroup summary exists
Julia Reynolds [Thu, 10 Aug 2017 20:58:54 +0000 (16:58 -0400)]
Group new free notis if autogroup summary exists

In the case where an app posted enough notifications to
get an autogrpup summary, but then canceled most of them,
add all new group-less notifications to the autogroup summary
even if the total number of notifications currently posted
by the app is < the autogroup trigger number

Test: runtest systemui-notification, cts
Change-Id: I6f7a8a0140abcff2b0f78eacfbf23cfab12897fa
Fixes: 64158706

6 years agoPrevious active volume dialog remains above a11y.
Beverly [Thu, 10 Aug 2017 18:55:34 +0000 (14:55 -0400)]
Previous active volume dialog remains above a11y.

When the volume dialog is unexpanded, the a11y volume
slider displays below the current active volume stream. Previously,
when adjusting a11y volume, the previous active stream's volume dialog
row goes out of view once a11y becomes the active stream.
This caused the a11y volume dialog row to display strangely.
Now, the previous active volume dialog remains above the a11y volume
dialog when adjusting a11y volume.

Change-Id: Ice09a5c52dc524956bc5acf33f27bfd4a9843400
Fixes: 64326406
Test: manual

6 years agoFix CTS, Remove CONFIGURE_ASSIST_GESTURE permission
Kevin Chyn [Thu, 10 Aug 2017 18:40:37 +0000 (11:40 -0700)]
Fix CTS, Remove CONFIGURE_ASSIST_GESTURE permission

Test: make -j56 cts
run cts -m CtsPermission2TestCases -t android.permission2.cts.PermissionPolicyTest#testPlatformPermissionPolicyUnaltered --skip-connectivity-check --skip-preconditions --serial <device serial>

Fixes: 64560640

Change-Id: Ic807028567da9a4f3f108121d3e36358a513cf04

6 years agoMerge "SharedMemory API changes" into oc-mr1-dev
TreeHugger Robot [Thu, 10 Aug 2017 19:41:53 +0000 (19:41 +0000)]
Merge "SharedMemory API changes" into oc-mr1-dev

6 years agoStop focusing views before layout.
Phil Weaver [Thu, 10 Aug 2017 19:31:34 +0000 (12:31 -0700)]
Stop focusing views before layout.

Rolls back one line of ag/2257919.

Bug: 63811145
Test: TalkBack no longer reads the page backwards in:
Settings > System > Reset > Factory data reset
Settings > Connected devices > Android Beam

Change-Id: I6b04e64cd650ebda193da4a54bf0721bd256820c

6 years agoMerge "Added focus behavior changes to Build.VERSION documentation." into oc-mr1-dev
Evan Rosky [Thu, 10 Aug 2017 19:21:29 +0000 (19:21 +0000)]
Merge "Added focus behavior changes to Build.VERSION documentation." into oc-mr1-dev

6 years agoMerge "CharSequenceTransformation should not change anything when comparision fails...
TreeHugger Robot [Thu, 10 Aug 2017 18:48:55 +0000 (18:48 +0000)]
Merge "CharSequenceTransformation should not change anything when comparision fails." into oc-mr1-dev

6 years agoMerge "Hide the SEND_EMBMS_INTENTS permission" into oc-mr1-dev
Hall Liu [Thu, 10 Aug 2017 18:20:47 +0000 (18:20 +0000)]
Merge "Hide the SEND_EMBMS_INTENTS permission" into oc-mr1-dev

6 years agoMerge "Revert "Initial support for proposed android.net.lowpan"" into oc-dr1-dev
Ian Pedowitz [Thu, 10 Aug 2017 17:45:50 +0000 (17:45 +0000)]
Merge "Revert "Initial support for proposed android.net.lowpan"" into oc-dr1-dev
am: 0716c8e60e  -s ours

Change-Id: Iebfcbec5681f6b600c662ba1f3e705f10be79437

6 years agoMerge "Low battery notification has unique sound." into oc-mr1-dev
TreeHugger Robot [Thu, 10 Aug 2017 17:37:05 +0000 (17:37 +0000)]
Merge "Low battery notification has unique sound." into oc-mr1-dev

6 years agoMerge "Revert "Initial support for proposed android.net.lowpan"" into oc-dr1-dev
TreeHugger Robot [Thu, 10 Aug 2017 17:32:47 +0000 (17:32 +0000)]
Merge "Revert "Initial support for proposed android.net.lowpan"" into oc-dr1-dev

6 years agoDelete all ro.hwui.* props
John Reck [Mon, 17 Jul 2017 16:55:02 +0000 (09:55 -0700)]
Delete all ro.hwui.* props

Remove all ro.hwui.* tuning props and instead
calculate them from the screen resolution.

Or just hardcode them to what all devices
were hardcoding them to anyway.

Bug: 63741221
Test: Check cache size results on sailfish

Change-Id: I8b0d210572a246f4fefb076935cf5156a70c274c
Merged-In: I8b0d210572a246f4fefb076935cf5156a70c274c
(cherry picked from commit 8dc02f99d09130ace2ee738c2e689db1b3f33181)

6 years agoMerge "Localization of zen mode default rules." into oc-mr1-dev
TreeHugger Robot [Thu, 10 Aug 2017 16:41:36 +0000 (16:41 +0000)]
Merge "Localization of zen mode default rules." into oc-mr1-dev

6 years agoRevert "Initial support for proposed android.net.lowpan"
Ian Pedowitz [Thu, 10 Aug 2017 02:15:31 +0000 (19:15 -0700)]
Revert "Initial support for proposed android.net.lowpan"

This reverts commit 4e0c2195dd999859f4e79cec1884326fb52a5916.

Fixes: 64111427
Test: Grabbed OC CTS binaries
Test: Extracted android-cts.zip  and from android-cts/tools directory launched ./cts-tradefed
Test: On the DUT (running build which has this CL cherrypicked), ran the below (will run this test on both abi's):
Test: run cts -m CtsPermission2TestCases -t android.permission2.cts.PermissionPolicyTest#testPlatformPermissionPolicyUnaltered --skip-connectivity-check --skip-preconditions --serial <device serial>
Test: Note, while b/64111427 is fixed, this uncovered b/64560640

Change-Id: I1d2132678281a917f03c69d5ead1d28313d7f46d
Merged-In: Icab67ba2c40bc02968e3f8ed2da5a4a3be6cf77f

6 years agoMerge "ClassLoaderFactory: Correct broken refactoring from change 19da1cf72e8." into...
Narayan Kamath [Thu, 10 Aug 2017 15:34:22 +0000 (15:34 +0000)]
Merge "ClassLoaderFactory: Correct broken refactoring from change 19da1cf72e8." into oc-mr1-dev

6 years agoMerge "Fix handling of @removed APIs." into oc-mr1-dev
Jeff Sharkey [Thu, 10 Aug 2017 15:18:58 +0000 (15:18 +0000)]
Merge "Fix handling of @removed APIs." into oc-mr1-dev

6 years agoFix the strings accordingly for policy transparency dialogs
Tony Mak [Thu, 10 Aug 2017 14:41:12 +0000 (15:41 +0100)]
Fix the strings accordingly for policy transparency dialogs

Bug: 64555046

Test: Built and observe the strings.

Change-Id: If0343d701dee24d392b0578131e50b9002433a9b

6 years agoClassLoaderFactory: Correct broken refactoring from change 19da1cf72e8.
Narayan Kamath [Thu, 10 Aug 2017 11:09:13 +0000 (12:09 +0100)]
ClassLoaderFactory: Correct broken refactoring from change 19da1cf72e8.

Bug: 64493351
Test: cts-tradefed run cts-dev -t android.appsecurity.cts.ClassloaderSplitsTest -m CtsAppSecurityHostTestCases
Change-Id: Ib4868c1e0320002f5122193621e9ab56fe34819f

6 years agoMerge "PackageParser: Parse android:classLoader during the full parse." into oc-mr1-dev
Narayan Kamath [Thu, 10 Aug 2017 11:04:40 +0000 (11:04 +0000)]
Merge "PackageParser: Parse android:classLoader during the full parse." into oc-mr1-dev

6 years agoMerge "Remove config_demoModePackage resource" into oc-dr1-dev
Justin Klaassen [Thu, 10 Aug 2017 06:53:34 +0000 (06:53 +0000)]
Merge "Remove config_demoModePackage resource" into oc-dr1-dev
am: 934a1081fe

Change-Id: I31ce02bfd8c736d8e0d46173759558faf7a6cc2f

6 years agoMerge "Remove config_demoModePackage resource" into oc-dr1-dev
TreeHugger Robot [Thu, 10 Aug 2017 06:42:32 +0000 (06:42 +0000)]
Merge "Remove config_demoModePackage resource" into oc-dr1-dev

6 years agoMerge "Add permission check before setMain()" into oc-mr1-dev
TreeHugger Robot [Thu, 10 Aug 2017 06:39:31 +0000 (06:39 +0000)]
Merge "Add permission check before setMain()" into oc-mr1-dev

6 years agoMerge "Do not translate "Wi-Fi calling" for VF DE" into oc-dr1-dev
Jayachandran Chinnakkannu [Thu, 10 Aug 2017 06:06:04 +0000 (06:06 +0000)]
Merge "Do not translate "Wi-Fi calling" for VF DE" into oc-dr1-dev
am: 256fe97329

Change-Id: I2938b5aab766f236d351d66e8912cc05091502fc

6 years agoMerge "Do not translate "Wi-Fi calling" for VF DE" into oc-dr1-dev
Jayachandran Chinnakkannu [Thu, 10 Aug 2017 06:00:34 +0000 (06:00 +0000)]
Merge "Do not translate "Wi-Fi calling" for VF DE" into oc-dr1-dev

6 years agoMerge "Add settings and reset operations for demo users" into oc-dr1-dev
Christine Franks [Thu, 10 Aug 2017 05:37:57 +0000 (05:37 +0000)]
Merge "Add settings and reset operations for demo users" into oc-dr1-dev
am: 88710dead0

Change-Id: Id1b8515e9323731f7bacd55d850460f00fc2c651

6 years agoMerge "Add settings and reset operations for demo users" into oc-dr1-dev
TreeHugger Robot [Thu, 10 Aug 2017 05:28:47 +0000 (05:28 +0000)]
Merge "Add settings and reset operations for demo users" into oc-dr1-dev

6 years agoMerge "Go: add features for low ram / normal ram devices." into oc-mr1-dev
TreeHugger Robot [Thu, 10 Aug 2017 04:35:09 +0000 (04:35 +0000)]
Merge "Go: add features for low ram / normal ram devices." into oc-mr1-dev

6 years agoMerge "Add metric constant for settings preference int value change." into oc-mr1-dev
TreeHugger Robot [Thu, 10 Aug 2017 03:41:06 +0000 (03:41 +0000)]
Merge "Add metric constant for settings preference int value change." into oc-mr1-dev

6 years agoRemove config_demoModePackage resource
Justin Klaassen [Wed, 9 Aug 2017 04:07:24 +0000 (21:07 -0700)]
Remove config_demoModePackage resource

Bug: 62712426
Test: lunch walleye-eng && make -j19
Change-Id: Ifa1080d85222a43871598eaf0fe9813625d9115d

6 years agoMerge "FingerprintService should release wakelock only if isHeld" into oc-mr1-dev
TreeHugger Robot [Thu, 10 Aug 2017 02:47:00 +0000 (02:47 +0000)]
Merge "FingerprintService should release wakelock only if isHeld" into oc-mr1-dev

6 years agoMerge "Don't lock down system user in demo mode" into oc-dr1-dev
Christine Franks [Thu, 10 Aug 2017 02:25:09 +0000 (02:25 +0000)]
Merge "Don't lock down system user in demo mode" into oc-dr1-dev
am: 4f540fe8d0

Change-Id: Ib4670a8e4685a9f9bd933ccba9878bd59ccb6059

6 years agoAdd settings and reset operations for demo users
Christine Franks [Mon, 7 Aug 2017 21:28:35 +0000 (14:28 -0700)]
Add settings and reset operations for demo users

- Allow Global settings to be set in demo mode
- Allow Secure settings to be set by demo users
- Allow fully enabling apps for demo users
- Send enable broadcast as foreground broadcast

Bug: 62712426
Test: runtest -c \
com.android.server.devicepolicy.DevicePolicyManagerTest \
frameworks-services

Change-Id: Icd5d1eda12aa6b97bd4770713710a982bb0fc8e5

6 years agoMerge "Don't lock down system user in demo mode" into oc-dr1-dev
TreeHugger Robot [Thu, 10 Aug 2017 02:17:48 +0000 (02:17 +0000)]
Merge "Don't lock down system user in demo mode" into oc-dr1-dev

6 years agoFP permission checks should not crash system process
Kevin Chyn [Wed, 9 Aug 2017 18:45:21 +0000 (11:45 -0700)]
FP permission checks should not crash system process

Fixes: 62335242

Test: modify FingerprintManager, check that system_server doesn't crash.
If the application tries to fake the opPackageName, they will receive
a SecurityException from appOps

Change-Id: I0ea213ca1b2c63811573405945a9fcda19472529

6 years agoMerge "Merge "Fix source for PiP hover accessibility events" into oc-dr1-dev am:...
Android Build Merger (Role) [Thu, 10 Aug 2017 00:21:24 +0000 (00:21 +0000)]
Merge "Merge "Fix source for PiP hover accessibility events" into oc-dr1-dev am: a4b5e0893f" into oc-mr1-dev

6 years agoMerge "Fix source for PiP hover accessibility events" into oc-dr1-dev
Phil Weaver [Thu, 10 Aug 2017 00:19:04 +0000 (00:19 +0000)]
Merge "Fix source for PiP hover accessibility events" into oc-dr1-dev
am: a4b5e0893f

Change-Id: I5e79cbadd085c2ce3eacae628388ce13bdded508

6 years agoMerge "DropBoxManagerService: Don't store redundant information" into oc-mr1-dev
TreeHugger Robot [Thu, 10 Aug 2017 00:18:56 +0000 (00:18 +0000)]
Merge "DropBoxManagerService: Don't store redundant information" into oc-mr1-dev

6 years agoGo: add features for low ram / normal ram devices.
Dianne Hackborn [Tue, 8 Aug 2017 22:50:31 +0000 (15:50 -0700)]
Go: add features for low ram / normal ram devices.

Automatically populated from ActivityManager.isLowRamDevice().

Test: manual

Change-Id: I027b8ae0205c9793a91ffdd2635479610a62aff9

6 years agoMerge "Fix source for PiP hover accessibility events" into oc-dr1-dev
Phil Weaver [Thu, 10 Aug 2017 00:13:04 +0000 (00:13 +0000)]
Merge "Fix source for PiP hover accessibility events" into oc-dr1-dev

6 years agoMerge "Fix BLE scan leaks" into oc-mr1-dev
TreeHugger Robot [Wed, 9 Aug 2017 23:45:13 +0000 (23:45 +0000)]
Merge "Fix BLE scan leaks" into oc-mr1-dev

6 years agoMerge "Cherry-pick: Add null check for Wi-Fi command" into oc-dr1-dev
Takashi Furukawa [Wed, 9 Aug 2017 23:28:41 +0000 (23:28 +0000)]
Merge "Cherry-pick: Add null check for Wi-Fi command" into oc-dr1-dev
am: b9a56a4af7  -s ours

Change-Id: Ib675b2f620cb2a3f57aa1ad3f1cbe891d24102e4

6 years agoHide the SEND_EMBMS_INTENTS permission
Hall Liu [Wed, 9 Aug 2017 23:16:44 +0000 (16:16 -0700)]
Hide the SEND_EMBMS_INTENTS permission

Bug: 64340162
Change-Id: Ia9370c0e80bb3a99df5008febc994846204272c1

6 years agoMerge "Revert multi-package APK flag to off." into oc-mr1-dev
Garry Boyer [Wed, 9 Aug 2017 23:24:28 +0000 (23:24 +0000)]
Merge "Revert multi-package APK flag to off." into oc-mr1-dev

6 years agoMerge "Cherry-pick: Add null check for Wi-Fi command" into oc-dr1-dev
TreeHugger Robot [Wed, 9 Aug 2017 23:12:57 +0000 (23:12 +0000)]
Merge "Cherry-pick: Add null check for Wi-Fi command" into oc-dr1-dev

6 years agoMerge "Don't set inset frame for letterboxed app in fullscreen" into oc-dr1-dev
Andrii Kulian [Wed, 9 Aug 2017 22:53:49 +0000 (22:53 +0000)]
Merge "Don't set inset frame for letterboxed app in fullscreen" into oc-dr1-dev
am: 7afbe54e0d

Change-Id: I9e3d26c49742cde534ade6a8568e0d021d6e2321

6 years agoMerge "Support copying from index8 into another index8." into oc-dr1-dev
Derek Sollenberger [Wed, 9 Aug 2017 22:50:12 +0000 (22:50 +0000)]
Merge "Support copying from index8 into another index8." into oc-dr1-dev
am: f112fde96d  -s ours

Change-Id: I28e0f5b34ea30d1a8edaa3858b2bb569612a57e5

6 years agoMerge "Don't set inset frame for letterboxed app in fullscreen" into oc-dr1-dev
Andrii Kulian [Wed, 9 Aug 2017 22:40:59 +0000 (22:40 +0000)]
Merge "Don't set inset frame for letterboxed app in fullscreen" into oc-dr1-dev

6 years agoMerge "Support copying from index8 into another index8." into oc-dr1-dev
TreeHugger Robot [Wed, 9 Aug 2017 22:33:34 +0000 (22:33 +0000)]
Merge "Support copying from index8 into another index8." into oc-dr1-dev

6 years agoMerge "WifiManager: update docs on setWifiEnabled" into oc-dr1-dev
Rebecca Silberstein [Wed, 9 Aug 2017 22:33:00 +0000 (22:33 +0000)]
Merge "WifiManager: update docs on setWifiEnabled" into oc-dr1-dev
am: 54233f96d7

Change-Id: I47400de6e07c228e48c1467060a2179af9e4b4d9

6 years agoCharSequenceTransformation should not change anything when comparision fails.
Felipe Leme [Tue, 8 Aug 2017 19:39:04 +0000 (12:39 -0700)]
CharSequenceTransformation should not change anything when comparision fails.

Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases -t android.autofillservice.cts.CharSequenceTransformationTest#testMismatch
Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases

Fixes: 64482785

Change-Id: Ia6036e0a1c6f5f084e6b13c7bdd3a9e24be7ac1a

6 years agoMerge "WifiManager: update docs on setWifiEnabled" into oc-dr1-dev
TreeHugger Robot [Wed, 9 Aug 2017 22:23:14 +0000 (22:23 +0000)]
Merge "WifiManager: update docs on setWifiEnabled" into oc-dr1-dev

6 years agoMerge "Update isWiredHeadsetOn() to support USB headsets." into oc-dr1-dev
Paul Mclean [Wed, 9 Aug 2017 22:13:48 +0000 (22:13 +0000)]
Merge "Update isWiredHeadsetOn() to support USB headsets." into oc-dr1-dev
am: 75384f617d

Change-Id: I693a3cf37c55085eee470091edf5fff0bc62ece8

6 years agoMerge "Update isWiredHeadsetOn() to support USB headsets." into oc-dr1-dev
Paul Mclean [Wed, 9 Aug 2017 21:59:55 +0000 (21:59 +0000)]
Merge "Update isWiredHeadsetOn() to support USB headsets." into oc-dr1-dev

6 years agoAdd permission check before setMain()
Shubang [Wed, 9 Aug 2017 03:48:54 +0000 (20:48 -0700)]
Add permission check before setMain()

Test: make; cts-tradefed; run cts -m CtsTvTestCases;
Bug: 64489430
Change-Id: I1365165eb1ba76b3a54a3141cc19e8245c99f279

6 years agoRemoved isUserStoppingOrShuttingDownLocked
Fyodor Kupolov [Wed, 9 Aug 2017 17:32:02 +0000 (10:32 -0700)]
Removed isUserStoppingOrShuttingDownLocked

It was causing issues when user state was removed (or user was never
started).
Replaced it with isUserRunningLocked which returns false if user state
is null/shutdown or stopping.

Test: manual - create/switch to/from guest user
Bug: 64319208
Change-Id: I88dae7111692e760b10cd7db13d5cd17dae2f2cb

6 years agoMerge "Fix BLE scan leaks" into oc-dev am: 6e749c392b
Vinay Kalia [Wed, 9 Aug 2017 21:23:16 +0000 (21:23 +0000)]
Merge "Fix BLE scan leaks" into oc-dev am: 6e749c392b
am: 3e832cf58e

Change-Id: I4edafeb10fcb2dabffe2b139893ae18139930656