Commit Graph

246497 Commits

Author SHA1 Message Date
Adam Powell
5c5d6cd64a Merge "Fix a bug where restartLoader would result in a stuck loader" into nyc-dev
am: 596a4a1

* commit '596a4a1592a8f5e7b708d884145e280df9b638d0':
  Fix a bug where restartLoader would result in a stuck loader

Change-Id: I2dfc3fc05e439e565f49fb682b8ddc4f896200e9
2016-04-27 19:18:24 +00:00
TreeHugger Robot
596a4a1592 Merge "Fix a bug where restartLoader would result in a stuck loader" into nyc-dev 2016-04-27 19:12:51 +00:00
Philip P. Moltmann
b20d96c053 Merge "Syncronize pdfium initialization between users." into nyc-dev
am: 9594487

* commit '9594487548d42ea13569bd15369382f7283c8d33':
  Syncronize pdfium initialization between users.

Change-Id: I39ec811fe0fcd1f3c2ad3af1a36b8ee34762037d
2016-04-27 19:10:06 +00:00
TreeHugger Robot
9594487548 Merge "Syncronize pdfium initialization between users." into nyc-dev 2016-04-27 18:53:35 +00:00
Mady Mellor
5f88f9b355 Fix NPE when updating gear vertical location
Since we do this onLayout it's unnecessary to update the location here
plus it causes an NPE as the parent may not be laid out yet when
accessing collapsed height.

Bug: 28390732
Change-Id: I3e61eb7ce854002def3342856557d456249e5e26
2016-04-27 18:53:27 +00:00
Wale Ogunwale
05500c9388 Merge "Dismiss docked stack on user switch" into nyc-dev
am: 25459e1

* commit '25459e135d17a15e295ae0a827a0b4d4a88ebd67':
  Dismiss docked stack on user switch

Change-Id: I2f546a824c4634e2209d92c08207c449c54cafcb
2016-04-27 18:47:08 +00:00
Dimitry Ivanov
89dad3360e Create linker namespace for the system server classloader
Bug: http://b/27702070
Change-Id: I12c9448e877202937cf558de75042bcb46f6a933
(cherry picked from commit eb5866d4b0)
2016-04-27 11:42:29 -07:00
Dimitry Ivanov
b1ef62bb38 Extract pathclassloader initialization to a separate class
To be able to reuse this code when creating a classloader for
the system_server.

Bug: http://b/27245894
Bug: http://b/27702070
Change-Id: I928175a39a1beb0446d863a5b8f5edf94686e768
(cherry picked from commit 5d7d777fa6)
2016-04-27 11:38:41 -07:00
Jeff Sharkey
21f507274b Only log when system UID finds missing data paths.
We're really only interested in tracking down when the system UID
tries touching missing data paths, since it's the only one with enough
permissions to mkdirs() directly without going through installd.

Without the guard added in this CL, we'd end up logging for direct
boot aware apps that tried obtaining CE paths while locked, which is
perfectly valid.

Bug: 28272737
Change-Id: Id24f3160f61d8ad8047d5c551bc6a91c868bd301
2016-04-27 12:38:20 -06:00
TreeHugger Robot
25459e135d Merge "Dismiss docked stack on user switch" into nyc-dev 2016-04-27 18:28:40 +00:00
Jaewan Kim
3533d971c5 Merge "Revert "Prevent recents from closing while moving PiP to fullscreen."" into nyc-dev
am: fa255f6

* commit 'fa255f6ead7097acba8400998c47685cc3defc67':
  Revert "Prevent recents from closing while moving PiP to fullscreen."

Change-Id: Iecf1d14019485cc5335aece8b7e6a4bcc78b495f
2016-04-27 18:24:51 +00:00
Robert Carr
f9aa2a966e Delay pinned animation finish during app transition.
Sometimes in the case of pinned animation, we end
up with multiple animations on screen. For example when
transitioning pip->fullscreen, we are typically closing recents,
and replacing it with a task behind. We need to delay swapping ourselves
to the fullscreen stack until this app transition has finished,
otherwise we will be in the fullscreen stack with the transitioning app,
but not transitioning ourselves and thus assigned a lower Z-order.

Bug: 28333917
Bug: 27793381
Bug: 28332969
Change-Id: Ie18cc04ceeabd94093017f79676253e1189f5249
2016-04-27 11:19:05 -07:00
Rob Carr
fa255f6ead Merge "Revert "Prevent recents from closing while moving PiP to fullscreen."" into nyc-dev 2016-04-27 18:13:27 +00:00
Jeff Hao
c7b9482b0c Support to pass <uses-library> option through to dex2oat.
This change takes an app's shared libraries specified by <uses-library>
and passes it through to dex2oat to be used during compilation.

Part of a multi-project change.

Bug: 26880306

(cherry-picked from 7b331b6a8a)

Change-Id: I523b1b74775e7ed27072498509e743f1f10b1164
2016-04-27 11:11:17 -07:00
Bo Liu
55f3776d82 Merge "Revert "Expose setDrawGLFunctionDetachedCallback to webview"" into nyc-dev
am: 08ca2e3

* commit '08ca2e3a7593ced4967c56709a1fe675408d42dc':
  Revert "Expose setDrawGLFunctionDetachedCallback to webview"

Change-Id: If58db854b7fa14a380137acb3568060c27824856
2016-04-27 18:06:25 +00:00
Raph Levien
b163870d46 Give guidance on alternatives to deprecated locale field
The deprecation message for the "locale" field should clearly state
what to do instead when only the primary locale is needed.

Bug: 27532422
Change-Id: I3e83cc1e9054d4e199d7e34b1a42b7bcd6c77f62
2016-04-27 11:02:12 -07:00
Bo Liu
08ca2e3a75 Merge "Revert "Expose setDrawGLFunctionDetachedCallback to webview"" into nyc-dev 2016-04-27 17:58:34 +00:00
Hui Shu
a02b03f187 Merge "API Review: Add @IntDef and other annotations to Menu Item flags." into nyc-dev
am: 9a5f9c2

* commit '9a5f9c208752bdb8c14fd2f2ef88408442f49c84':
  API Review: Add @IntDef and other annotations to Menu Item flags.

Change-Id: Iaa1b562fdfdfe281eab24200cdcfd87efffc080a
2016-04-27 17:56:52 +00:00
Selim Gurun
9a5f9c2087 Merge "API Review: Add @IntDef and other annotations to Menu Item flags." into nyc-dev 2016-04-27 17:48:32 +00:00
Dirk Dougherty
d9036ba7ef resolve merge conflicts of 0d00d28 to nyc-dev
Change-Id: Ib922635fe200a4216ce2970660daf3105d521cc9
2016-04-27 10:44:43 -07:00
Adam Powell
e5552be22a Fix a bug where restartLoader would result in a stuck loader
Framework edition

In some cases restartLoader calls that happen in quick succession
could cause the new loader to become stuck and never run. Treat loader
restarts for loaders that have not yet started the same as starting a
brand new loader.

Bug 27437287
https://code.google.com/p/android/issues/detail?id=56464

Change-Id: Ia4e276fc8e63d43b9c52c6155cea827b194d8b19
2016-04-27 10:42:19 -07:00
Clara Bayarri
d608a0adcb Fix TextUtils#getReverse deprecated doc
Note there is no alternative method to use.

Bug: 28296055
Change-Id: I1e44c1dad6009434a92c6a53862e6f061114bc56
2016-04-27 10:28:03 -07:00
Philip P. Moltmann
be2e712187 Syncronize pdfium initialization between users.
Only initalize pdfium once per process and only destroy it once all
users are gone.

Bug: 28387883, 28370309, 28388184
Change-Id: I41e8f6da247a7cfab5fb9d159c047293719192c3
2016-04-27 10:13:16 -07:00
Michael Wright
1ad3955a60 Remove onUhandledInputEvent API.
This callback was never used by WebView and anyone that overrides it
is going to just be broken since we never actually call into it from
the method that WebView does call. Furthermore, the WebView team has
decided that the API has too many complications to ever implement,
the most notable of which is that MotionEvents tend to come in
streams that would need to be buffered in order to detect the event
before it can be determined whether they were handled or not which
means that any uses of the API are inevitably going to be janky
experiences.

Bug: 14279909
Change-Id: I068601ce947bccacabfe55b86b06005449b65bcf
2016-04-27 13:07:18 -04:00
Calin Juravle
4a701da75b Merge "Read -Xjittransitionweight from system properties." into nyc-dev
am: eb613a6

* commit 'eb613a61d3e708932993551eb22a0e6fd5007d08':
  Read -Xjittransitionweight from system properties.

Change-Id: I0be17d34a080a67b9f33ecf36cf38ac7eca81cda
2016-04-27 17:03:58 +00:00
Adrian Roos
fa139757aa Prevent dismissal on RemoteInputView
Prevents swiping out a notification when started on
the RemoteInputView, as this can easily happen during
text manipulation otherwise.

Change-Id: I8f658eab88ca1daf8ffcb7a5d1fac4468f5f0845
Fixes: 28336831
2016-04-27 09:59:15 -07:00
TreeHugger Robot
eb613a61d3 Merge "Read -Xjittransitionweight from system properties." into nyc-dev 2016-04-27 16:56:33 +00:00
Phil Weaver
2fdd6e9ccf Merge "Fix crash with a11y set text with text filters." into nyc-dev
am: 7a61d60

* commit '7a61d6031b0ce9de00bfc77caa196396ad1781d5':
  Fix crash with a11y set text with text filters.

Change-Id: I69de849d434f21f736d0a26be153397d00b7295b
2016-04-27 16:55:10 +00:00
Fan Zhang
4ed77db35b Merge "Make theme decoration method public." into nyc-mr1-dev 2016-04-27 16:53:01 +00:00
Phil Weaver
7a61d6031b Merge "Fix crash with a11y set text with text filters." into nyc-dev 2016-04-27 16:49:27 +00:00
Hangyu Kuang
1242d5168d Merge changes from topic \'atv-hdr\' into nyc-dev
am: 39bb2c2

* commit '39bb2c29b427b0cf2396a8691176584094ae805c':
  Unhide getHdrCapabilities and HdrCapabilities.
  Plumb HDR capabilities to Display
  Revert "Revert "Hook up HDR capabilities from native SurfaceControl""

Change-Id: I788b086849725edf8266513871ea09ed0a4ff006
2016-04-27 16:46:27 +00:00
Wale Ogunwale
9a98c526dd Dismiss docked stack on user switch
Having the docked stack across user switches currently leads
to issues like wrong configuration state for apps. Dismissing
docked stack for now until we find a better way to handle this.

Bug: 28195260
bug: 28221061
Change-Id: I568a2c69783b1f0d7016fe1a21df959f7c2c9145
2016-04-27 16:43:25 +00:00
Hangyu Kuang
39bb2c29b4 Merge changes from topic 'atv-hdr' into nyc-dev
* changes:
  Unhide getHdrCapabilities and HdrCapabilities.
  Plumb HDR capabilities to Display
  Revert "Revert "Hook up HDR capabilities from native SurfaceControl""
2016-04-27 16:38:21 +00:00
Fyodor Kupolov
c94c249371 Broadcast USER_INITIALIZE after user is unlocked
Previously USER_INITIALIZE was sent before USER_UNLOCKED. This was leaving
BOOT_COMPLETED as the only option for non-directBootAware apps to do one time
initialization.

Now USER_INITIALIZE is sent immediately after the user is unlocked.

Bug: 28278011
Change-Id: Id82eae91af80a66454d4027050120ae841decfeb
2016-04-27 09:31:09 -07:00
Adrian Roos
ceeb04c7c4 RemoteInput: add logging and metrics
Bug: 28277176
Change-Id: I79421927cc686f989231c29dd505b70ed22739f7
2016-04-27 09:04:25 -07:00
Clara Bayarri
cbfef3ea30 Merge "Cleanup LocaleList docs given API review" into nyc-dev
am: 4dc63f7

* commit '4dc63f78a910e421d106cffc105b085f1ab1e2ae':
  Cleanup LocaleList docs given API review

Change-Id: Ib18269339ee121b69ae6cb629ec65adca86a410e
2016-04-27 15:42:56 +00:00
Clara Bayarri
4dc63f78a9 Merge "Cleanup LocaleList docs given API review" into nyc-dev 2016-04-27 15:32:58 +00:00
Alex Hills
42b0c4dcf0 Move allowGeneratedReplies to Action
Bug:28044251
Change-Id: If25d63a32f82537432858b1a31e78292638631b7
2016-04-27 10:48:52 -04:00
John Reck
0e87e55a08 Merge "API tweaks to PixelCopy and make it public" into nyc-dev
am: 7f209d3

* commit '7f209d37f17d4df09475137c38b84a3338c84023':
  API tweaks to PixelCopy and make it public

Change-Id: I3642b7c915213f9c9bcc5ede1710335d56eb9d75
2016-04-27 14:44:36 +00:00
John Reck
7f209d37f1 Merge "API tweaks to PixelCopy and make it public" into nyc-dev 2016-04-27 14:36:53 +00:00
Adrian Roos
dedd1df2f2 Fix MessagingStyle HUNs
- Supply the appropriate HUN view
- Make sure we can properly parcel and unparcel the Style

Change-Id: I86c70b9c41689da98f45219b244aac0dec461002
Fixes: 28400885
2016-04-27 07:25:19 -07:00
Calin Juravle
8d74de5546 Read -Xjittransitionweight from system properties.
Bug: 27865109
Change-Id: I4a752a68693ac7d764d006f1282398c2e95ef1d0
2016-04-27 15:08:11 +01:00
Adrian Roos
4c1fcc892e Fix remote input view clobbering
- If a notification is updated, make sure that the focus
  is kept even when the change cannot be applied inline.
- Make sure to update the pending intent to match one
  of the new actions in case the old one is no longer
  valid, and to prevent sending text to the wrong action
  unintentionally.
- Keep focus when switching between heads-up and expanded.
- Prevent the action container from becoming transiently
  gone during reapplying.

Fixes: 27357771
Change-Id: Ie9f49935827f6efb15b73f8d686f0c110448456a
2016-04-27 06:57:48 -07:00
Clara Bayarri
66f6bd32d8 Cleanup LocaleList docs given API review
-- Remove default constructor from public API since getEmptyLocaleList exists
-- Merge the Locale and Locale[] constructors by providing a single Locale… varargs constructor
-- forLanguageTags, get, toLanguageTags, size, need docs
-- get(int location) should be get(int index)

Plus general docs improvements

Bug: 28296200
Change-Id: I8b4e67184f8c723daebcd251f04947d48bbb5478
2016-04-27 14:55:45 +01:00
Bill Yi
966f996fce Import translations. DO NOT MERGE
Change-Id: Ibdbc996e18f225c7ea1a3ce65ad4b9f4f213a72a
Auto-generated-cl: translation import
2016-04-27 06:47:31 -07:00
Bill Yi
b08bbd994c Import translations. DO NOT MERGE
Change-Id: I3a9d207063511cfd862a522bc245fbf70abfbf3b
Auto-generated-cl: translation import
2016-04-27 06:26:50 -07:00
Bill Yi
d983af0417 Import translations. DO NOT MERGE
Change-Id: I4020df44a4ff061fd5a9d560a1340aee6f05351f
Auto-generated-cl: translation import
2016-04-27 06:13:08 -07:00
Bill Yi
8f32d05d5c Import translations. DO NOT MERGE
Change-Id: Ibb4e5316af0f8a302487f3b737efef8b99f0fe9f
Auto-generated-cl: translation import
2016-04-27 06:10:42 -07:00
Julia Reynolds
9b26033d37 Merge "More bugreport logging for scheduleconditionprovider." into nyc-dev
am: 9fa8b54

* commit '9fa8b54589b68dc6da3a7201cad1fc43e01e59e3':
  More bugreport logging for scheduleconditionprovider.

Change-Id: Id0f3ceecaac68cc14c6791fd8b06303b3f27c2aa
2016-04-27 13:08:58 +00:00
Bill Yi
7aa32cd799 Import translations. DO NOT MERGE
Change-Id: If2e9411130f011e057c4e51fb49f4f92e6421fb4
Auto-generated-cl: translation import
2016-04-27 06:01:25 -07:00