313907 Commits

Author SHA1 Message Date
TreeHugger Robot
28602c0921 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
2017-04-19 21:04:26 +00:00
Chad Brubaker
904e6cad28 Merge "Change ANDROID_ID for Instant Apps" into oc-dev 2017-04-19 21:00:55 +00:00
Todd Kennedy
7bed530d27 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
2017-04-19 14:00:48 -07:00
TreeHugger Robot
7844a34308 Merge "Fix issue with unresolved IDs in adaptive icons" into oc-dev 2017-04-19 20:54:10 +00:00
TreeHugger Robot
d5dfde890c Merge "QS BluetoothTile proiritizes connected device" into oc-dev 2017-04-19 20:44:27 +00:00
TreeHugger Robot
992541027b Merge "Move CompanionDeviceManagerService to a place of its own" into oc-dev 2017-04-19 20:42:35 +00:00
TreeHugger Robot
611fae13df Merge "Fix compose shader child local matrix mutation" into oc-dev 2017-04-19 20:41:06 +00:00
Wale Ogunwale
57d0c0bb43 Merge "Don't show starting window for overlay activities" into oc-dev 2017-04-19 20:36:40 +00:00
TreeHugger Robot
3a427c3bd9 Merge "Flesh out more API docs." into oc-dev 2017-04-19 20:31:05 +00:00
Jason Monk
307f76e33f Fix tint on accessibility stream
Test: make
Change-Id: I91daf405c85490ed0cb9d3909cd96d03884ce191
Fixes: 37485060
2017-04-19 16:30:40 -04:00
Jerry Zhang
a73f9f874a Merge "Only send HOST_STATE intents when host mode is used." into oc-dev 2017-04-19 20:28:07 +00:00
TreeHugger Robot
95cdc61248 Merge "Up the character limit for thermal strings" into oc-dev 2017-04-19 20:24:25 +00:00
Jeff Hao
e2c6cbbd72 Merge "Handle shared libraries for split apks." into oc-dev 2017-04-19 20:16:23 +00:00
TreeHugger Robot
4d95e40bb3 Merge "Make javadoc of companion service name more like others" into oc-dev 2017-04-19 20:15:04 +00:00
Jeff Sharkey
9a1967e157 Merge "Some folks like sending null fields." into oc-dev 2017-04-19 20:11:26 +00:00
TreeHugger Robot
f3157e1692 Merge "Add comment to Typeface.Builder about file descriptor." into oc-dev 2017-04-19 20:08:57 +00:00
Matt Sarett
dc3ab163d3 Merge "Add unit test for Skia path behavior" into oc-dev 2017-04-19 20:03:54 +00:00
Evan Rosky
4ab21012a7 Merge "Improve ViewDebug reporting for focus properties" into oc-dev 2017-04-19 19:50:30 +00:00
TreeHugger Robot
3a8d8db6ad Merge "Force data usage bottom label to be LTR." into oc-dev 2017-04-19 19:43:58 +00:00
TreeHugger Robot
214a8bdaee Merge "Bring up the QS state colors to increase contrast" into oc-dev 2017-04-19 19:43:06 +00:00
Selim Cinek
df5501b0cc 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
2017-04-19 12:40:18 -07:00
Fan Zhang
6a305c039b 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
2017-04-19 12:38:19 -07:00
Geoffrey Pitsch
f6491e1d43 Log when an app targeting O does not specify a channel
Bug: 37485692
Test: runtest systemui-notification
Change-Id: Iffe6a016dfd399c39e0acb281f454271ef13f7fd
2017-04-19 15:21:56 -04:00
TreeHugger Robot
ef0512a87a Merge "TextClassifierImpl: Fix empty locale list issue." into oc-dev 2017-04-19 19:20:43 +00:00
Todd Kennedy
e61b60115f Allow verifier to be optional
Change-Id: Ibf01e5283b744f7745e92523787abb3d31a2c813
Fixes: 37412895
Test: Manual; disable verifier and notice that the device doesn't boot loop
2017-04-19 12:13:51 -07:00
TreeHugger Robot
681ff5c7d8 Merge "Fix FragmentTransaction.show() to show the fragment." into oc-dev 2017-04-19 19:06:09 +00:00
TreeHugger Robot
b1f7358d98 Merge "Add a wakelock timeout when downloading xtra data for GNSS." into oc-dev 2017-04-19 19:01:00 +00:00
Romain Guy
08587d45b1 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
2017-04-19 11:58:05 -07:00
Robert Carr
ecc06b3230 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
2017-04-19 11:55:32 -07:00
Christopher Tate
fb9bd09db0 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
2017-04-19 11:53:51 -07:00
TreeHugger Robot
043ae355e9 Merge "Fix issue where the notification could snap to the menu while its invisible" into oc-dev 2017-04-19 18:42:35 +00:00
TreeHugger Robot
c1d9cdfe79 Merge "Update snooze visuals to match latest design" into oc-dev 2017-04-19 18:41:56 +00:00
Zheng Zhang
9996f8589d 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
2017-04-19 18:32:55 +00:00
Winson Chung
3a64998124 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
2017-04-19 11:29:02 -07:00
Zheng Zhang
74b8c15d2b 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
2017-04-19 18:26:33 +00:00
TreeHugger Robot
5b84ba3b15 Merge "DO NOT MERGE ANYWHERE: Move content from verison 123 to 122, and skip verison 123." into cw-f-dev 2017-04-19 18:21:46 +00:00
TreeHugger Robot
f3ff7b8207 Merge "Adds getLayoutInflater() to return a cached value." into oc-dev 2017-04-19 18:15:36 +00:00
Chad Brubaker
0d277a7b18 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
2017-04-19 11:10:53 -07:00
Winson Chung
d1a1c8004e Merge "Adding consistent platform PiP action asset." into oc-dev 2017-04-19 18:10:20 +00:00
Evan Rosky
f4c31bf67b Merge "Handle edge-case where no focusables exist" into oc-dev 2017-04-19 18:08:29 +00:00
Jason Monk
e262cc234b Merge "Swap back content alphas for light and dark." into oc-dev 2017-04-19 18:07:12 +00:00
Jeff Hao
c6687daa3b 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
2017-04-19 10:59:45 -07:00
Chris Craik
f6b0e60bd0 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
2017-04-19 10:57:25 -07:00
Jeff Sharkey
60a82cd4c2 Flesh out more API docs.
Flesh out docs for Context.getCacheDir(), Intent.addFlags(),
Intent.removeFlags(), and PackageManager.setApplicationCategoryHint().

Test: builds, boots
Bug: 37470473, 37327774, 35812899
Change-Id: Ided031185258a89c3e275d65c162d537065ad49e
2017-04-19 11:51:21 -06:00
Ian Lake
146c01daf8 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
2017-04-19 10:43:49 -07:00
Yohei Yukawa
4132f86041 Merge "Avoid acquiring a lock on the InputReader thread" into oc-dev 2017-04-19 17:37:17 +00:00
TreeHugger Robot
f431ea56e1 Merge "Add missing services to incident_report" into oc-dev 2017-04-19 17:33:59 +00:00
TreeHugger Robot
83c9413b75 Merge "Fix issue with fontScale changes not taking effect" into oc-dev 2017-04-19 17:32:30 +00:00
TreeHugger Robot
26e1d91939 Merge "AAPT: Auto-alias application adaptive-icon" into oc-dev 2017-04-19 17:32:05 +00:00
Dianne Hackborn
f82236ef0a 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
2017-04-19 10:30:00 -07:00