OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "Don't animate black background on cold launch from launcher" into oc-dr1-dev
Andrii Kulian [Fri, 11 Aug 2017 23:39:59 +0000 (23:39 +0000)]
Merge "Don't animate black background on cold launch from launcher" into oc-dr1-dev
am: cff260adfc

Change-Id: Iad8a5b4524d70801eeb7b4abb14626b3ae127e32

6 years agoMerge "Don't animate black background on cold launch from launcher" into oc-dr1-dev
Andrii Kulian [Fri, 11 Aug 2017 23:31:44 +0000 (23:31 +0000)]
Merge "Don't animate black background on cold launch from launcher" into oc-dr1-dev

6 years agoMerge "Removing non-preferred activity from resolution set should not disrupt the...
TreeHugger Robot [Fri, 11 Aug 2017 23:27:16 +0000 (23:27 +0000)]
Merge "Removing non-preferred activity from resolution set should not disrupt the preferred resolution" into oc-mr1-dev

6 years agoMerge "@hide new API" into oc-mr1-dev
TreeHugger Robot [Fri, 11 Aug 2017 23:20:07 +0000 (23:20 +0000)]
Merge "@hide new API" into oc-mr1-dev

6 years agoMerge "Camera2: Legacy: Add onRequestQueueEmpty callback" into oc-mr1-dev
TreeHugger Robot [Fri, 11 Aug 2017 22:47:53 +0000 (22:47 +0000)]
Merge "Camera2: Legacy: Add onRequestQueueEmpty callback" into oc-mr1-dev

6 years agoMerge "WTF when device has no persistent periodic syncs..." into oc-dr1-dev
Makoto Onuki [Fri, 11 Aug 2017 22:36:24 +0000 (22:36 +0000)]
Merge "WTF when device has no persistent periodic syncs..." into oc-dr1-dev
am: 7b0dec4142

Change-Id: I5498e5a3796a463501917874772be335785e1ca4

6 years agoMerge "Change default temp threshold to use shutdown temp" into oc-dr1-dev
Jason Monk [Fri, 11 Aug 2017 22:29:00 +0000 (22:29 +0000)]
Merge "Change default temp threshold to use shutdown temp" into oc-dr1-dev
am: 84626a4e3d

Change-Id: I4c3c5be04aaa1eee409ea706b387370cedf5b15b

6 years agoMerge "Promoting installExistingPackage to SystemApi" into oc-mr1-dev
TreeHugger Robot [Fri, 11 Aug 2017 21:56:59 +0000 (21:56 +0000)]
Merge "Promoting installExistingPackage to SystemApi" into oc-mr1-dev

6 years agoMerge "Fix a bug that SurfaceView loses transformation" into oc-mr1-dev
TreeHugger Robot [Fri, 11 Aug 2017 21:49:22 +0000 (21:49 +0000)]
Merge "Fix a bug that SurfaceView loses transformation" into oc-mr1-dev

6 years agoMerge "Merge "docs: corrected grammar mistake in Class Overview" into oc-dev am:...
Android Build Merger (Role) [Fri, 11 Aug 2017 21:48:29 +0000 (21:48 +0000)]
Merge "Merge "docs: corrected grammar mistake in Class Overview" into oc-dev am: dc12cb1fb2 am: f125024688" into oc-mr1-dev

6 years agoMerge "docs: corrected grammar mistake in Class Overview" into oc-dev am: dc12cb1fb2
Cindy Kuang [Fri, 11 Aug 2017 21:42:58 +0000 (21:42 +0000)]
Merge "docs: corrected grammar mistake in Class Overview" into oc-dev am: dc12cb1fb2
am: f125024688

Change-Id: If510d503dc91c2bfd6a7a282dbf7210cbc7f2698

6 years agoMerge "Merge "docs: replaced "i.e." to fix formatting error" into oc-dev am: 0580ac8...
Android Build Merger (Role) [Fri, 11 Aug 2017 21:40:57 +0000 (21:40 +0000)]
Merge "Merge "docs:  replaced "i.e." to fix formatting error" into oc-dev am: 0580ac8a65 am: 07f5257b19" into oc-mr1-dev

6 years agoMerge "Change PiP menu activity title to prevent duplicate announcement." into oc...
TreeHugger Robot [Fri, 11 Aug 2017 21:38:41 +0000 (21:38 +0000)]
Merge "Change PiP menu activity title to prevent duplicate announcement." into oc-mr1-dev

6 years agoMerge "WTF when device has no persistent periodic syncs..." into oc-dr1-dev
TreeHugger Robot [Fri, 11 Aug 2017 21:37:06 +0000 (21:37 +0000)]
Merge "WTF when device has no persistent periodic syncs..." into oc-dr1-dev

6 years agoMerge "docs: replaced "i.e." to fix formatting error" into oc-dev am: 0580ac8a65
Cindy Kuang [Fri, 11 Aug 2017 21:34:57 +0000 (21:34 +0000)]
Merge "docs:  replaced "i.e." to fix formatting error" into oc-dev am: 0580ac8a65
am: 07f5257b19

Change-Id: I0ac6fa46922bb2866cfb416763dfcfac10fdd909

6 years agoMerge "Reland: PackageManager: update documentation for FEATURE_WIFI_PASSPOINT" into...
TreeHugger Robot [Fri, 11 Aug 2017 21:28:00 +0000 (21:28 +0000)]
Merge "Reland: PackageManager: update documentation for FEATURE_WIFI_PASSPOINT" into oc-mr1-dev

6 years agoMerge "Ensure dexopt is executed only with consistent package data" into oc-mr1-dev
Calin Juravle [Fri, 11 Aug 2017 21:22:03 +0000 (21:22 +0000)]
Merge "Ensure dexopt is executed only with consistent package data" into oc-mr1-dev

6 years agoMerge "Change default temp threshold to use shutdown temp" into oc-dr1-dev
Jason Monk [Fri, 11 Aug 2017 21:19:04 +0000 (21:19 +0000)]
Merge "Change default temp threshold to use shutdown temp" into oc-dr1-dev

6 years agoMerge "docs: corrected grammar mistake in Class Overview" into oc-dev
Cindy Kuang [Fri, 11 Aug 2017 21:14:33 +0000 (21:14 +0000)]
Merge "docs: corrected grammar mistake in Class Overview" into oc-dev
am: dc12cb1fb2

Change-Id: I297557eb072b1fce0395c93c2a770623b5ba1642

6 years agoMerge "Merge "Catch BadParcelableException in RemoteConnection when setting extras...
Android Build Merger (Role) [Fri, 11 Aug 2017 21:13:27 +0000 (21:13 +0000)]
Merge "Merge "Catch BadParcelableException in RemoteConnection when setting extras." into oc-dr1-dev am: bcfa22584b" into oc-mr1-dev

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 "Catch BadParcelableException in RemoteConnection when setting extras." into...
Pankaj Kanwar [Fri, 11 Aug 2017 21:07:06 +0000 (21:07 +0000)]
Merge "Catch BadParcelableException in RemoteConnection when setting extras." into oc-dr1-dev
am: bcfa22584b

Change-Id: I36289ff0e5d2949d93ecbc0c18e131772706c9cc

6 years agoMerge "docs: replaced "i.e." to fix formatting error" into oc-dev
Cindy Kuang [Fri, 11 Aug 2017 21:01:15 +0000 (21:01 +0000)]
Merge "docs:  replaced "i.e." to fix formatting error" into oc-dev
am: 0580ac8a65

Change-Id: I094bd99bcaaf51633ac887d38a9323ed5fdc54e2

6 years agoMerge "Catch BadParcelableException in RemoteConnection when setting extras." into...
Pankaj Kanwar [Fri, 11 Aug 2017 20:52:52 +0000 (20:52 +0000)]
Merge "Catch BadParcelableException in RemoteConnection when setting extras." into oc-dr1-dev

6 years agoMerge "docs: corrected grammar mistake in Class Overview" into oc-dev
Cindy Kuang [Fri, 11 Aug 2017 20:38:35 +0000 (20:38 +0000)]
Merge "docs: corrected grammar mistake in Class Overview" into oc-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 "docs: replaced "i.e." to fix formatting error" into oc-dev
Cindy Kuang [Fri, 11 Aug 2017 20:33:34 +0000 (20:33 +0000)]
Merge "docs:  replaced "i.e." to fix formatting error" into oc-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 agoWTF when device has no persistent periodic syncs...
Makoto Onuki [Fri, 11 Aug 2017 19:11:39 +0000 (12:11 -0700)]
WTF when device has no persistent periodic syncs...

... when it most likely has some.

Bug: 64536115
Test: manual
Change-Id: I24c4c950b0266ef22918156c29384bc452f523af

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 agoChange default temp threshold to use shutdown temp
Jason Monk [Fri, 11 Aug 2017 16:53:36 +0000 (12:53 -0400)]
Change default temp threshold to use shutdown temp

Base the temp threshold to be based on the shutdown temp lowered
by some amount to ensure the warning can be seen before a shutdown.

Test: runtest systemui
Change-Id: I033a776e874d76018592954932ed5127e1b228ae
Fixes: 62845934

6 years agoEnsure dexopt is executed only with consistent package data
Calin Juravle [Fri, 11 Aug 2017 00:23:00 +0000 (17:23 -0700)]
Ensure dexopt is executed only with consistent package data

The main objects bookkeeping packages (PackageParser.Package and its
corresponding ApplicationInfo) may be updated at different times. This
creates a window where the data stored in the ApplicationInfo is out of
date with respect to the data stored in PackageParser.Package.

During install, the two objects are "synced" during doRename which updates
the package code paths.

This CLs moves the dexopt invocation from the install flow after doRename
to ensure that dexopt logic gets a consistent view of the package.

Bug: 64493351

Test: run cts-dev -t android.appsecurity.cts.ClassloaderSplitsTest -m
CtsAppSecurityHostTestCases
      inspect oat files after
adb install-multiple CtsClassloaderSplitApp/CtsClassloaderSplitApp.apk
    CtsClassloaderSplitAppFeatureA/CtsClassloaderSplitAppFeatureA.apk
    CtsClassloaderSplitAppFeatureB/CtsClassloaderSplitAppFeatureB.apk

Change-Id: I9131bcf49eb473a8fdc5eb0032d94080d4e9e94b

6 years agoDon't animate black background on cold launch from launcher
Andrii Kulian [Fri, 11 Aug 2017 18:27:00 +0000 (11:27 -0700)]
Don't animate black background on cold launch from launcher

When animating cold start from launcher we can't compute the
progress in SurfaceControlWithBackground#calculateBgCrop() via
tracking status bar insets. This CL won't animate bg crop
in case the progress does not make sense.

Bug: 64598822
Test: Cold launch letterboxed app from launcher.
Change-Id: I82182a3c46dd4f81bcf056d1163f78c450bd9b83

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 ago@hide new API
Todd Kennedy [Fri, 11 Aug 2017 17:42:14 +0000 (10:42 -0700)]
@hide new API

Change-Id: Ic9cf7ecd80dd99eb8bcfc9810f4a9fddfe8f8fe4
Fixes: 64568898
Test: None. No code change.

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 agoFix a bug that SurfaceView loses transformation
Sheng-Hao Tsao [Thu, 10 Aug 2017 05:41:20 +0000 (13:41 +0800)]
Fix a bug that SurfaceView loses transformation

SurfaceView created for on-screen preview sometimes loses
transformation information in the Camera2 API with HALv1
environment, and therefore produced wrongly transformed frames.

It's because in RequestThreadManager.configureOutputs(), the
transformation set by LegacyCameraDevice.setSurfaceOrientation()
is cleared at mGLThreadManager.setConfigurationAndWait().

The bug is fixed by setting transformation information again
after mGLThreadManager.setConfigurationAndWait().

BUG=63313861
TEST=Check on minnie with GCA and CameraIQTesting app. Preview always
displays correct transformation in Camera2<=>HALv1 environment.

Change-Id: Ic395047a120a21b3968dedb4314bdbe519c932e6

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 agoCamera2: Legacy: Add onRequestQueueEmpty callback
Shuzhen Wang [Fri, 11 Aug 2017 16:11:23 +0000 (09:11 -0700)]
Camera2: Legacy: Add onRequestQueueEmpty callback

onRequestQueueEmpty callback needs to be supported for legacy HAL1
devices.

Test: Camera CTS
Bug: 64483624
Change-Id: I268a1fe7577788c4e4e13dfecd7bb7abe0d82e6c

6 years agoCatch BadParcelableException in RemoteConnection when setting extras.
Tyler Gunn [Fri, 11 Aug 2017 16:24:41 +0000 (09:24 -0700)]
Catch BadParcelableException in RemoteConnection when setting extras.

Unlike the code in Telecom which can use Bundle.setDefusable(..), this
framework code is used within a Connection Manager's code space, so the
setDefusable method does not work.

To prevent crashing the Connection Manager's app, catching the exception
and ignoring extras in this case (not much else we can do).

I've also filed a bug against the offending component known for putting
bad parcelables into the extras.

Test: Modified code to force this scenario.
Bug: 64499462
Change-Id: If44ad2e2c8e285d513969c6babe5a798242da53d

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 agoChange PiP menu activity title to prevent duplicate announcement.
Winson Chung [Thu, 10 Aug 2017 20:59:57 +0000 (13:59 -0700)]
Change PiP menu activity title to prevent duplicate announcement.

Bug: 64489467
Test: Hover over PiP in accessibility
Change-Id: I27532f6a7825e57757d8ddab336c5cee5fa92acd

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 agodocs: replaced "i.e." to fix formatting error
Cindy Kuang [Wed, 9 Aug 2017 17:08:15 +0000 (10:08 -0700)]
docs:  replaced "i.e." to fix formatting error

Test: make ds-docs

Bug: 6440865
Change-Id: I428476ddfe55f14df531ea6a1c3e3a09f7a29e7d

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