OSDN Git Service

android-x86/frameworks-base.git
7 years agoMerge "AOD: Fix broken triggers after failed prox check" into oc-dev
TreeHugger Robot [Thu, 20 Apr 2017 07:34:09 +0000 (07:34 +0000)]
Merge "AOD: Fix broken triggers after failed prox check" into oc-dev

7 years agoAOD: Fix broken triggers after failed prox check
Adrian Roos [Wed, 19 Apr 2017 21:31:03 +0000 (14:31 -0700)]
AOD: Fix broken triggers after failed prox check

Fixes an issue where after a failed prox check
we would not correctly reset mPulsePending and
thus never trigger a pulse again until the
DozeService restarts.

Also adds logging for dropped and canceled pulses
to aid diagnosing similar or different bugs
in the future.

Also adds a regression test.

Fixes: 37477968
Test: runtest -x /frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/DozeTriggersTest.java
Change-Id: Ic465b7686ae1937a29d07a66fe44cf7ad18419ef

7 years agoMerge "A11y: Better label status bar icons" into oc-dev
Adrian Roos [Thu, 20 Apr 2017 05:20:40 +0000 (05:20 +0000)]
Merge "A11y: Better label status bar icons" into oc-dev

7 years agoMerge "Add min and max learned battery capacity to batterystats." into oc-dev
Jocelyn Dang [Thu, 20 Apr 2017 04:34:10 +0000 (04:34 +0000)]
Merge "Add min and max learned battery capacity to batterystats." into oc-dev

7 years agoMerge changes Ic029cc9f,Id917f3a2 into oc-dev
Hugo Benichi [Thu, 20 Apr 2017 04:27:45 +0000 (04:27 +0000)]
Merge changes Ic029cc9f,Id917f3a2 into oc-dev

* changes:
  NsdService: minor cleanups
  Nsdmanager/NsdService: add logging

7 years agoMerge "Address API council comments" into oc-dev
TreeHugger Robot [Thu, 20 Apr 2017 03:53:33 +0000 (03:53 +0000)]
Merge "Address API council comments" into oc-dev

7 years agoMerge "Loading gps_debug configuration before use" into oc-dev
TreeHugger Robot [Thu, 20 Apr 2017 03:44:29 +0000 (03:44 +0000)]
Merge "Loading gps_debug configuration before use" into oc-dev

7 years agoMerge "Ensure that LLOB sensor is names similr to other android sensors." into oc-dev
Ashutosh Joshi [Thu, 20 Apr 2017 03:10:21 +0000 (03:10 +0000)]
Merge "Ensure that LLOB sensor is names similr to other android sensors." into oc-dev

7 years agoMerge "MediaSessionService: Clear calling identity for incoming calls from apps"...
TreeHugger Robot [Thu, 20 Apr 2017 03:08:21 +0000 (03:08 +0000)]
Merge "MediaSessionService: Clear calling identity for incoming calls from apps" into oc-dev

7 years agoMerge "Fixing issue with positioning tasks when moving to fullscreen." into oc-dev
TreeHugger Robot [Thu, 20 Apr 2017 02:45:16 +0000 (02:45 +0000)]
Merge "Fixing issue with positioning tasks when moving to fullscreen." into oc-dev

7 years agoMerge "Revert "Introduce PACKAGE_FIRST_ADDED broadcast"" into oc-dev
TreeHugger Robot [Thu, 20 Apr 2017 02:15:09 +0000 (02:15 +0000)]
Merge "Revert "Introduce PACKAGE_FIRST_ADDED broadcast"" into oc-dev

7 years agoMerge "Intern Sensor object string using java String.intern()" into oc-dev
Peng Xu [Thu, 20 Apr 2017 02:01:28 +0000 (02:01 +0000)]
Merge "Intern Sensor object string using java String.intern()" into oc-dev

7 years agoNsdService: minor cleanups
Hugo Benichi [Wed, 5 Apr 2017 05:43:29 +0000 (14:43 +0900)]
NsdService: minor cleanups

Minor cleanups in switches of processMessage and handleNativeEvent.

Test: no functional changes
Bug: 33074219

(cherry picked from commit 23dba85fff01a9f51beea8ce811fc98b582f8e71)

Merged-In: I9ad4ce812c0d2c02a671a7a871ad427e4ce29b4a
Change-Id: Ic029cc9fa007d8c485f64f4afcbd4dc10da1ae29

7 years agoMerge "Delay PiP transition to fullscreen until activities draw." into oc-dev
TreeHugger Robot [Thu, 20 Apr 2017 01:23:19 +0000 (01:23 +0000)]
Merge "Delay PiP transition to fullscreen until activities draw." into oc-dev

7 years agoMerge "Validate incoming data properly." into oc-dev
TreeHugger Robot [Thu, 20 Apr 2017 01:12:30 +0000 (01:12 +0000)]
Merge "Validate incoming data properly." into oc-dev

7 years agoLoading gps_debug configuration before use
Wyatt Riley [Thu, 20 Apr 2017 00:57:14 +0000 (17:57 -0700)]
Loading gps_debug configuration before use

Was calling this after (one of) the SUPL value injections,
now calling before.

Also masking an overly verbose related log message.

Test: Build, loaded on Marlin, GPS & Xtra delete works.
Bug: 37500417
Change-Id: I768048c8b2d2a6af97a3b4b8a059b08650d616a5

7 years agoMerge "Add a null check for visibleFile." into oc-dev
TreeHugger Robot [Thu, 20 Apr 2017 01:01:03 +0000 (01:01 +0000)]
Merge "Add a null check for visibleFile." into oc-dev

7 years agoMerge "Move expensive TextClock operations to onAttach" into oc-dev
TreeHugger Robot [Thu, 20 Apr 2017 00:26:47 +0000 (00:26 +0000)]
Merge "Move expensive TextClock operations to onAttach" into oc-dev

7 years agoMerge changes Ic76d996f,Ib9eefacb,If1b63340,I399c66af into oc-dev
Selim Cinek [Thu, 20 Apr 2017 00:08:51 +0000 (00:08 +0000)]
Merge changes Ic76d996f,Ib9eefacb,If1b63340,I399c66af into oc-dev

* changes:
  Changed the documentation of the colorization
  Fixed the appearance of colorized fullscreenintent notifications
  Adapted the interpolator when using fingerprint
  The row is now labeling the expand button

7 years agoMerge "Fix issue #37470038: API Review: ServiceConnection.onBindingDead()" into oc-dev
TreeHugger Robot [Wed, 19 Apr 2017 23:55:36 +0000 (23:55 +0000)]
Merge "Fix issue #37470038: API Review: ServiceConnection.onBindingDead()" into oc-dev

7 years agoMerge "Prevent settings from crashing when ContentProvider crashes" into oc-dev
TreeHugger Robot [Wed, 19 Apr 2017 23:53:34 +0000 (23:53 +0000)]
Merge "Prevent settings from crashing when ContentProvider crashes" into oc-dev

7 years agoMerge "Treat the intent filter verifier app as foreground" into oc-dev
TreeHugger Robot [Wed, 19 Apr 2017 23:49:37 +0000 (23:49 +0000)]
Merge "Treat the intent filter verifier app as foreground" into oc-dev

7 years agoMerge "Package installer related changes to javadoc" into oc-dev
TreeHugger Robot [Wed, 19 Apr 2017 23:34:22 +0000 (23:34 +0000)]
Merge "Package installer related changes to javadoc" into oc-dev

7 years agoAdd min and max learned battery capacity to batterystats.
Jocelyn Dang [Fri, 14 Apr 2017 20:15:14 +0000 (13:15 -0700)]
Add min and max learned battery capacity to batterystats.

BUG: 32645990
Test: manual

Change-Id: I3da569e48571cb86c640aed732abdf6c46a2bc73

7 years agoMerge "Adjust the bind timeout" into oc-dev
TreeHugger Robot [Wed, 19 Apr 2017 23:07:34 +0000 (23:07 +0000)]
Merge "Adjust the bind timeout" into oc-dev

7 years agoMerge "don't blindly reuse content providers" into oc-dev
TreeHugger Robot [Wed, 19 Apr 2017 23:07:07 +0000 (23:07 +0000)]
Merge "don't blindly reuse content providers" into oc-dev

7 years agoMerge "Opt out default focus highlight for TV." into oc-dev
TreeHugger Robot [Wed, 19 Apr 2017 22:57:46 +0000 (22:57 +0000)]
Merge "Opt out default focus highlight for TV." into oc-dev

7 years agoMerge "Fix tint on accessibility stream" into oc-dev
TreeHugger Robot [Wed, 19 Apr 2017 22:56:21 +0000 (22:56 +0000)]
Merge "Fix tint on accessibility stream" into oc-dev

7 years agoRevert "Introduce PACKAGE_FIRST_ADDED broadcast"
Christopher Tate [Wed, 19 Apr 2017 22:49:17 +0000 (15:49 -0700)]
Revert "Introduce PACKAGE_FIRST_ADDED broadcast"

This reverts commit ee3b42af3f23c37cbd2799c1527f89ac623844be.

Bug 37219124
Test: manual

7 years agoA11y: Better label status bar icons
Adrian Roos [Wed, 19 Apr 2017 22:32:43 +0000 (15:32 -0700)]
A11y: Better label status bar icons

Some apps put just their app name as
the title. For those we should probably
show the text instead.

Fixes: 30739573
Test: receive notification that has the same title as app name, observe that the content description shows the title
Change-Id: I2e066507beee50c669ce34c6de33876a2474fca6

7 years agoMerge "Fix issue #37306208: CTS: ServiceTest#testForegroundService..." into oc-dev
Dianne Hackborn [Wed, 19 Apr 2017 22:20:52 +0000 (22:20 +0000)]
Merge "Fix issue #37306208: CTS: ServiceTest#testForegroundService..." into oc-dev

7 years agoAdd a null check for visibleFile.
Garfield Tan [Mon, 17 Apr 2017 21:22:32 +0000 (14:22 -0700)]
Add a null check for visibleFile.

It's null if we're operating on an external thumbdrive/sd card etc. Add
a null check as we do in moveInMediaStore().

Test: Manual tests.
Bug: 37412897
Change-Id: Idd2c1d67a36893f980a239a9999c32369da27abd

7 years agoValidate incoming data properly.
Martijn Coenen [Tue, 18 Apr 2017 22:54:43 +0000 (15:54 -0700)]
Validate incoming data properly.

Make sure calls to readBuffer() and readEmbeddedBuffer()
get the correct size, parent and offset passed in, so
these can be validated by libhwbinder.

Modified HwBlob to take a length argument as well,
so it can be validated.

Bug: 30498700
Test: hidl_test, hidl_test_java, Youtube, Maps, Netflix, Camera
Change-Id: I28712db97ae29b46acfe952d3d92d1ce5f666a4d

7 years agoChanged the documentation of the colorization
Selim Cinek [Wed, 19 Apr 2017 21:59:34 +0000 (14:59 -0700)]
Changed the documentation of the colorization

There was still a reference to ongoing, which wasn't needed

Test: non, documentation change
Fixes: 34469375
Change-Id: Ic76d996f92f339db869f25d7696313eefc0c07bb

7 years agoFixed the appearance of colorized fullscreenintent notifications
Selim Cinek [Tue, 18 Apr 2017 00:10:05 +0000 (17:10 -0700)]
Fixed the appearance of colorized fullscreenintent notifications

Previously the background would stay grey.

Test: manual, add fullscreen intent colorized notification
Change-Id: Ib9eefacba58256d2cb0c6f0d70cf0e9b5afdaf06
Fixes: 35968024

7 years agoFix issue #37470038: API Review: ServiceConnection.onBindingDead()
Dianne Hackborn [Wed, 19 Apr 2017 21:53:18 +0000 (14:53 -0700)]
Fix issue #37470038: API Review: ServiceConnection.onBindingDead()

Renamed.

Test: booted and ran.

Change-Id: Ic21f7ef66d43fb6db9f7ebbc833f28c09474ea59

7 years agoMerge "Allow verifier to be optional" into oc-dev
TreeHugger Robot [Wed, 19 Apr 2017 21:51:21 +0000 (21:51 +0000)]
Merge "Allow verifier to be optional" into oc-dev

7 years agoMerge "Change mask path to only use cubicTo notation so that isConvex is always true...
TreeHugger Robot [Wed, 19 Apr 2017 21:36:03 +0000 (21:36 +0000)]
Merge "Change mask path to only use cubicTo notation so that isConvex is always true. Bug: 37100106" into oc-dev

7 years agoOpt out default focus highlight for TV.
Jiaquan He [Tue, 18 Apr 2017 22:39:59 +0000 (15:39 -0700)]
Opt out default focus highlight for TV.

Test: Checked that the default focus highlight doesn't show on TV.
Bug: 37160940
Change-Id: Id3719ce1aa602ba6792cc94c9fa034670509cda0

7 years agoAdjust the bind timeout
Todd Kennedy [Wed, 19 Apr 2017 21:12:34 +0000 (14:12 -0700)]
Adjust the bind timeout

We were using a timeout of 5s when it should have always
been in the hundreds of ms. Setting the timeout to 300ms
for 'eng' build and 200ms for all other builds.

Change-Id: I31e17457e7bfdb3bf703be430074b718cae8c17a
Fixes: 37474581
Test: Manual; still resolve instant apps

7 years agoMerge "Log when an app targeting O does not specify a channel" into oc-dev
TreeHugger Robot [Wed, 19 Apr 2017 21:10:09 +0000 (21:10 +0000)]
Merge "Log when an app targeting O does not specify a channel" into oc-dev

7 years agoMerge "Set the color space as nullptr on native bitmaps when sRGB is requested" into...
TreeHugger Robot [Wed, 19 Apr 2017 21:09:41 +0000 (21:09 +0000)]
Merge "Set the color space as nullptr on native bitmaps when sRGB is requested" into oc-dev

7 years agoMerge changes from topic 'chooser' into oc-dev
TreeHugger Robot [Wed, 19 Apr 2017 21:04:21 +0000 (21:04 +0000)]
Merge changes from topic 'chooser' into oc-dev

* changes:
  Rely on view animations for ResolverActivity
  Create a valid ActivityOptions Bundle even for default animations
  Remove scale up animation for startActivity from RemoteViews

7 years agoMerge "Change ANDROID_ID for Instant Apps" into oc-dev
Chad Brubaker [Wed, 19 Apr 2017 21:00:50 +0000 (21:00 +0000)]
Merge "Change ANDROID_ID for Instant Apps" into oc-dev

7 years agodon't blindly reuse content providers
Todd Kennedy [Wed, 19 Apr 2017 21:00:48 +0000 (14:00 -0700)]
don't blindly reuse content providers

when a provider is already running, we would automatically
give it out to other processes that request it. for instant
apps, don't do that.

Change-Id: I159913adc599e88dac6253104776589592b251fd
Fixes: 37501319
Test: cts-tradefed run commandAndExit cts-dev -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.EphemeralTest

7 years agoMerge "Fix issue with unresolved IDs in adaptive icons" into oc-dev
TreeHugger Robot [Wed, 19 Apr 2017 20:54:06 +0000 (20:54 +0000)]
Merge "Fix issue with unresolved IDs in adaptive icons" into oc-dev

7 years agoMerge "QS BluetoothTile proiritizes connected device" into oc-dev
TreeHugger Robot [Wed, 19 Apr 2017 20:44:21 +0000 (20:44 +0000)]
Merge "QS BluetoothTile proiritizes connected device" into oc-dev

7 years agoMerge "Move CompanionDeviceManagerService to a place of its own" into oc-dev
TreeHugger Robot [Wed, 19 Apr 2017 20:42:31 +0000 (20:42 +0000)]
Merge "Move CompanionDeviceManagerService to a place of its own" into oc-dev

7 years agoMerge "Fix compose shader child local matrix mutation" into oc-dev
TreeHugger Robot [Wed, 19 Apr 2017 20:41:02 +0000 (20:41 +0000)]
Merge "Fix compose shader child local matrix mutation" into oc-dev

7 years agoMerge "Don't show starting window for overlay activities" into oc-dev
Wale Ogunwale [Wed, 19 Apr 2017 20:36:36 +0000 (20:36 +0000)]
Merge "Don't show starting window for overlay activities" into oc-dev

7 years agoMerge "Flesh out more API docs." into oc-dev
TreeHugger Robot [Wed, 19 Apr 2017 20:31:01 +0000 (20:31 +0000)]
Merge "Flesh out more API docs." into oc-dev

7 years agoFix tint on accessibility stream
Jason Monk [Wed, 19 Apr 2017 20:30:40 +0000 (16:30 -0400)]
Fix tint on accessibility stream

Test: make
Change-Id: I91daf405c85490ed0cb9d3909cd96d03884ce191
Fixes: 37485060

7 years agoMerge "Only send HOST_STATE intents when host mode is used." into oc-dev
Jerry Zhang [Wed, 19 Apr 2017 20:28:03 +0000 (20:28 +0000)]
Merge "Only send HOST_STATE intents when host mode is used." into oc-dev

7 years agoMerge "Up the character limit for thermal strings" into oc-dev
TreeHugger Robot [Wed, 19 Apr 2017 20:24:14 +0000 (20:24 +0000)]
Merge "Up the character limit for thermal strings" into oc-dev

7 years agoMerge "Handle shared libraries for split apks." into oc-dev
Jeff Hao [Wed, 19 Apr 2017 20:16:18 +0000 (20:16 +0000)]
Merge "Handle shared libraries for split apks." into oc-dev

7 years agoMerge "Make javadoc of companion service name more like others" into oc-dev
TreeHugger Robot [Wed, 19 Apr 2017 20:14:59 +0000 (20:14 +0000)]
Merge "Make javadoc of companion service name more like others" into oc-dev

7 years agoMerge "Some folks like sending null fields." into oc-dev
Jeff Sharkey [Wed, 19 Apr 2017 20:11:23 +0000 (20:11 +0000)]
Merge "Some folks like sending null fields." into oc-dev

7 years agoMerge "Add comment to Typeface.Builder about file descriptor." into oc-dev
TreeHugger Robot [Wed, 19 Apr 2017 20:08:53 +0000 (20:08 +0000)]
Merge "Add comment to Typeface.Builder about file descriptor." into oc-dev

7 years agoMerge "Add unit test for Skia path behavior" into oc-dev
Matt Sarett [Wed, 19 Apr 2017 20:03:49 +0000 (20:03 +0000)]
Merge "Add unit test for Skia path behavior" into oc-dev

7 years agoMerge "Improve ViewDebug reporting for focus properties" into oc-dev
Evan Rosky [Wed, 19 Apr 2017 19:50:24 +0000 (19:50 +0000)]
Merge "Improve ViewDebug reporting for focus properties" into oc-dev

7 years agoMerge "Force data usage bottom label to be LTR." into oc-dev
TreeHugger Robot [Wed, 19 Apr 2017 19:43:53 +0000 (19:43 +0000)]
Merge "Force data usage bottom label to be LTR." into oc-dev

7 years agoMerge "Bring up the QS state colors to increase contrast" into oc-dev
TreeHugger Robot [Wed, 19 Apr 2017 19:43:02 +0000 (19:43 +0000)]
Merge "Bring up the QS state colors to increase contrast" into oc-dev

7 years agoAdapted the interpolator when using fingerprint
Selim Cinek [Sat, 15 Apr 2017 03:01:27 +0000 (20:01 -0700)]
Adapted the interpolator when using fingerprint

When using fingerprint and when launching without touch
we are now using a different interpolator.

Test: unlock with fingerprint, unlock after double-tap, observe different interpolator
Change-Id: If1b63340759089cdf55820d59b6dcce2ca8bed6d
Fixes: 37311479

7 years agoForce data usage bottom label to be LTR.
Fan Zhang [Tue, 18 Apr 2017 22:15:21 +0000 (15:15 -0700)]
Force data usage bottom label to be LTR.

The bottom label has to be LTR to be in sync with the main view above
it, which does not support RTL.

Change-Id: Ib5cccd1cccb249dad0badd36f4d491faf0bbb562
Fix: 37222561
Test: visual

7 years agoLog when an app targeting O does not specify a channel
Geoffrey Pitsch [Wed, 19 Apr 2017 19:21:56 +0000 (15:21 -0400)]
Log when an app targeting O does not specify a channel

Bug: 37485692
Test: runtest systemui-notification
Change-Id: Iffe6a016dfd399c39e0acb281f454271ef13f7fd

7 years agoMerge "TextClassifierImpl: Fix empty locale list issue." into oc-dev
TreeHugger Robot [Wed, 19 Apr 2017 19:20:39 +0000 (19:20 +0000)]
Merge "TextClassifierImpl: Fix empty locale list issue." into oc-dev

7 years agoAllow verifier to be optional
Todd Kennedy [Wed, 19 Apr 2017 19:13:51 +0000 (12:13 -0700)]
Allow verifier to be optional

Change-Id: Ibf01e5283b744f7745e92523787abb3d31a2c813
Fixes: 37412895
Test: Manual; disable verifier and notice that the device doesn't boot loop

7 years agoMerge "Fix FragmentTransaction.show() to show the fragment." into oc-dev
TreeHugger Robot [Wed, 19 Apr 2017 19:06:04 +0000 (19:06 +0000)]
Merge "Fix FragmentTransaction.show() to show the fragment." into oc-dev

7 years agoMerge "Add a wakelock timeout when downloading xtra data for GNSS." into oc-dev
TreeHugger Robot [Wed, 19 Apr 2017 19:00:54 +0000 (19:00 +0000)]
Merge "Add a wakelock timeout when downloading xtra data for GNSS." into oc-dev

7 years agoSet the color space as nullptr on native bitmaps when sRGB is requested
Romain Guy [Wed, 19 Apr 2017 18:58:05 +0000 (11:58 -0700)]
Set the color space as nullptr on native bitmaps when sRGB is requested

This regression is a fallout from the recent API council feedback
fallout. The default color space used to be always set to null but
it's now the named SRGB instance. This change passes null to native
when the specified color space is known to be sRGB.

Bug: 37496760
Test: runtest managed-provisioning
Change-Id: Ie933c84e429a682a58ee253b57b77bd61b88ee5e

7 years agoDelay PiP transition to fullscreen until activities draw.
Robert Carr [Tue, 18 Apr 2017 21:25:10 +0000 (14:25 -0700)]
Delay PiP transition to fullscreen until activities draw.

To avoid awful stretching.

Bug: 37473110
Test: Transition app fullscreen verify no awful video stretching.
Change-Id: I810a72207e45b8f83a63c9f0b3cc9a433569852c

7 years agoTreat the intent filter verifier app as foreground
Christopher Tate [Wed, 19 Apr 2017 18:32:35 +0000 (11:32 -0700)]
Treat the intent filter verifier app as foreground

Similarly to other install-time validation, its work is a direct
extension of the OS's processing of a user-initiated install action,
so it's appropriately modeled as being "foreground" work.

Bug 37502027
Test: manual

Change-Id: Ib6426fa3c7cb05c4e758ddad3356011e4753629e

7 years agoMerge "Fix issue where the notification could snap to the menu while its invisible...
TreeHugger Robot [Wed, 19 Apr 2017 18:42:31 +0000 (18:42 +0000)]
Merge "Fix issue where the notification could snap to the menu while its invisible" into oc-dev

7 years agoMerge "Update snooze visuals to match latest design" into oc-dev
TreeHugger Robot [Wed, 19 Apr 2017 18:41:44 +0000 (18:41 +0000)]
Merge "Update snooze visuals to match latest design" into oc-dev

7 years agoMerge "DO NOT MERGE ANYWHERE: Move content from verison 123 to 122, and skip verison...
Zheng Zhang [Wed, 19 Apr 2017 18:32:55 +0000 (18:32 +0000)]
Merge "DO NOT MERGE ANYWHERE: Move content from verison 123 to 122, and skip verison 123." into cw-f-dev am: 5b84ba3b15  -s ours
am: 74b8c15d2b  -s ours

Change-Id: I4e023353faf1cbded69661da7013785bd130297c

7 years agoFixing issue with positioning tasks when moving to fullscreen.
Winson Chung [Wed, 19 Apr 2017 17:16:17 +0000 (10:16 -0700)]
Fixing issue with positioning tasks when moving to fullscreen.

- Previously, this code was incorrectly moving things to the top of the
  stack, though the stack was never moved to the front so it was never
  visible.  But as a result, testDisallowMultipleTasksInPinnedStack()
  was failing if there was already something in the fullscreen stack.

Bug: 36844394
Test: android.server.cts.ActivityManagerPinnedStackTests
Change-Id: I5108bf72b8760b187d0c92ec673bbe5cf9527e90

7 years agoMerge "DO NOT MERGE ANYWHERE: Move content from verison 123 to 122, and skip verison...
Zheng Zhang [Wed, 19 Apr 2017 18:26:33 +0000 (18:26 +0000)]
Merge "DO NOT MERGE ANYWHERE: Move content from verison 123 to 122, and skip verison 123." into cw-f-dev
am: 5b84ba3b15  -s ours

Change-Id: Ic447d9ee4910f467e8ca6dad7d02693846e4fab8

7 years agoMerge "DO NOT MERGE ANYWHERE: Move content from verison 123 to 122, and skip verison...
TreeHugger Robot [Wed, 19 Apr 2017 18:21:43 +0000 (18:21 +0000)]
Merge "DO NOT MERGE ANYWHERE: Move content from verison 123 to 122, and skip verison 123." into cw-f-dev

7 years agoMerge "Adds getLayoutInflater() to return a cached value." into oc-dev
TreeHugger Robot [Wed, 19 Apr 2017 18:15:31 +0000 (18:15 +0000)]
Merge "Adds getLayoutInflater() to return a cached value." into oc-dev

7 years agoChange ANDROID_ID for Instant Apps
Chad Brubaker [Wed, 12 Apr 2017 23:56:53 +0000 (16:56 -0700)]
Change ANDROID_ID for Instant Apps

ANDROID_ID for Instant Apps now has the following properties:
1) per-app scoped
2) reset if the user clears the Instant App
3) remains the same if the Instant App gets upgraded to an installed
app.

Note that if the user goes instant -> installed_1 -> uninstall ->
installed_2 the ANDROID_ID at installed_1 will not be the same as
installed_2. This was deemed better than the id changing on the upgrade
step.

Test: manual
Change-Id: I532975c50049c94ff80902a897e001dd35a69f9f

7 years agoMerge "Adding consistent platform PiP action asset." into oc-dev
Winson Chung [Wed, 19 Apr 2017 18:10:16 +0000 (18:10 +0000)]
Merge "Adding consistent platform PiP action asset." into oc-dev

7 years agoMerge "Handle edge-case where no focusables exist" into oc-dev
Evan Rosky [Wed, 19 Apr 2017 18:08:23 +0000 (18:08 +0000)]
Merge "Handle edge-case where no focusables exist" into oc-dev

7 years agoMerge "Swap back content alphas for light and dark." into oc-dev
Jason Monk [Wed, 19 Apr 2017 18:07:04 +0000 (18:07 +0000)]
Merge "Swap back content alphas for light and dark." into oc-dev

7 years agoHandle shared libraries for split apks.
Jeff Hao [Thu, 6 Apr 2017 00:09:59 +0000 (17:09 -0700)]
Handle shared libraries for split apks.

As we dexopt all the code paths of a package, we now append the code
paths to the list of shared libraries. These paths are passed as
relative paths since the apks are staged during installation, and are
not where they will be at runtime.

Part of a multi-project change.

Bug: 34169257
Test: cts-tradefed run singleCommand cts -d --module
CtsAppSecurityHostTestCases -t android.appsecurity.cts.SplitTests

(cherry-picked from commit 832641bb7205126829d425401a5262ab2e26fa80)

Change-Id: I28b1f8db6035ec62a5947679ed09013b1f9523a2

7 years agoFix compose shader child local matrix mutation
Chris Craik [Wed, 19 Apr 2017 17:38:14 +0000 (10:38 -0700)]
Fix compose shader child local matrix mutation

Bug: 37495696
Test: cts-tradefed run singleCommand cts-dev --module CtsGraphicsTestCases --test android.graphics.cts.ComposeShaderTest

Adds back the verify step that discards a stale native ComposeShader if a child
changes.

Change-Id: I44f40c1edfdb7633994a69efb583cf28ee2c26b2

7 years agoFlesh out more API docs.
Jeff Sharkey [Wed, 19 Apr 2017 00:19:16 +0000 (18:19 -0600)]
Flesh out more API docs.

Flesh out docs for Context.getCacheDir(), Intent.addFlags(),
Intent.removeFlags(), and PackageManager.setApplicationCategoryHint().

Test: builds, boots
Bug: 374704733732777435812899
Change-Id: Ided031185258a89c3e275d65c162d537065ad49e

7 years agoRely on view animations for ResolverActivity
Ian Lake [Tue, 18 Apr 2017 17:45:37 +0000 (10:45 -0700)]
Rely on view animations for ResolverActivity

The ResolverActivity (and its subclass ChooserActivity)
already have view animations for animating the share
sheet. Disable the windowEnter/ExitTransition to ensure
that there's just a single animation running.

Test: visual inspection of the transition

BUG: 34234073
Change-Id: I51f6d4d6388e965a4f7efb532f936c207623f938

7 years agoMerge "Avoid acquiring a lock on the InputReader thread" into oc-dev
Yohei Yukawa [Wed, 19 Apr 2017 17:37:13 +0000 (17:37 +0000)]
Merge "Avoid acquiring a lock on the InputReader thread" into oc-dev

7 years agoMerge "Add missing services to incident_report" into oc-dev
TreeHugger Robot [Wed, 19 Apr 2017 17:33:55 +0000 (17:33 +0000)]
Merge "Add missing services to incident_report" into oc-dev

7 years agoMerge "Fix issue with fontScale changes not taking effect" into oc-dev
TreeHugger Robot [Wed, 19 Apr 2017 17:32:25 +0000 (17:32 +0000)]
Merge "Fix issue with fontScale changes not taking effect" into oc-dev

7 years agoMerge "AAPT: Auto-alias application adaptive-icon" into oc-dev
TreeHugger Robot [Wed, 19 Apr 2017 17:32:02 +0000 (17:32 +0000)]
Merge "AAPT: Auto-alias application adaptive-icon" into oc-dev

7 years agoFix issue #37306208: CTS: ServiceTest#testForegroundService...
Dianne Hackborn [Wed, 19 Apr 2017 17:26:01 +0000 (10:26 -0700)]
Fix issue #37306208: CTS: ServiceTest#testForegroundService...

..._removeNotificationOnStop failure

We weren't removing the foreground timeout when a service is
brought down and still waiting for the app to make it foreground.
Instead, turn this in to an immediate crash of the app when we
detect it while bringing down the service.  Also make various
paths more robust against trying to do things with a ServiceRecord
that isn't currently in ActiveServices.

Test: bit CtsAppTestCases:ServiceTest

Change-Id: I06f4ac48fb983483569677ab1ac6e5b0b681c4ae

7 years agoSome folks like sending null fields.
Jeff Sharkey [Wed, 19 Apr 2017 17:22:02 +0000 (11:22 -0600)]
Some folks like sending null fields.

Test: cts-tradefed run commandAndExit cts-dev -m CtsContentTestCases -t android.content.pm.cts.ComponentInfoTest
Bug: 37495524
Change-Id: I9040534d717ac70d580bd2a7f5488369ab7c3a47

7 years agoMerge "Internal copy of Palette API." into oc-dev
TreeHugger Robot [Wed, 19 Apr 2017 17:24:02 +0000 (17:24 +0000)]
Merge "Internal copy of Palette API." into oc-dev

7 years agoBring up the QS state colors to increase contrast
Jason Monk [Wed, 19 Apr 2017 17:11:11 +0000 (13:11 -0400)]
Bring up the QS state colors to increase contrast

Test: visual
Change-Id: I5182e3dae7be89bf38d0ed33e3cbefedc664c718
Fixes: 37443237

7 years agoMerge "Adding API AppWidgetHost.getAppWidgetIds() to get active widgets of the host...
Sunny Goyal [Wed, 19 Apr 2017 17:10:37 +0000 (17:10 +0000)]
Merge "Adding API AppWidgetHost.getAppWidgetIds() to get active widgets of the host" into oc-dev

7 years agoMerge "Mark Restricted APN connections as restricted." into oc-dev
Robert Greenwalt [Wed, 19 Apr 2017 17:09:30 +0000 (17:09 +0000)]
Merge "Mark Restricted APN connections as restricted." into oc-dev

7 years agoDO NOT MERGE ANYWHERE: Move content from verison 123 to 122, and skip verison 123.
Zheng Zhang [Wed, 19 Apr 2017 01:16:33 +0000 (18:16 -0700)]
DO NOT MERGE ANYWHERE: Move content from verison 123 to 122, and skip verison 123.

HFP profile config landed late in Emerald development, and was committed
as version 122 there.
When it merged to master, there were conflicts since 122 was already
taken, so it was resolved as version 123.
We didn't catch the subtle bug then:
This means Emerald devices will reset HFP profile config in error once
they upgrade to Feldspar.
Correct this by merging 122, and making 123 a no-op.

Bug: 37338202
Change-Id: Ibf4c824d27300641fd1bb15f5884baf056bd8d7e

7 years agoMerge "MediaSessionService: Nullify the media button sesison when it's removed" into...
TreeHugger Robot [Wed, 19 Apr 2017 16:42:38 +0000 (16:42 +0000)]
Merge "MediaSessionService: Nullify the media button sesison when it's removed" into oc-dev

7 years agoMerge "RecoverySystem: Enable the package compatibility verification." into oc-dev
Tao Bao [Wed, 19 Apr 2017 16:30:22 +0000 (16:30 +0000)]
Merge "RecoverySystem: Enable the package compatibility verification." into oc-dev