Commit Graph

245370 Commits

Author SHA1 Message Date
Bill Yi
597d560f2e Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-04-27 19:58:27 +00:00
Bill Yi
44983082a7 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-04-27 19:57:21 +00:00
Jeff Hao
864bc48e01 Merge "Support to pass <uses-library> option through to dex2oat." into nyc-dev 2016-04-27 19:54:04 +00:00
Rohit Agrawal
682583c890 AAPT: ProGuard config for components in main dex.
Create an analogue of "aapt -G" which outputs a proguard configuration
that keeps only components which need to be in the main dex.

Bug: 27383099
Bug: 28425556

Change-Id: Ic18c8c563794ff27a5598a214111d1b446a005f1
(cherry picked from commit 86229cb622)
2016-04-27 19:50:55 +00:00
TreeHugger Robot
9f72683fee Merge "Added logging for Data Saver toggle switch." into nyc-dev 2016-04-27 19:45:28 +00:00
TreeHugger Robot
6d9e1cf79a Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-04-27 19:43:39 +00:00
Raph Levien
78dd08d5dd Merge "Give guidance on alternatives to deprecated locale field" into nyc-dev 2016-04-27 19:42:23 +00:00
Peng Xu
7b0a3be001 Merge "Intialize Java Sensor object uuid in JNI" into nyc-dev 2016-04-27 19:37:59 +00:00
Raph Levien
b639ae697a Merge "Fix TextUtils#getReverse deprecated doc" into nyc-dev 2016-04-27 19:31:12 +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
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
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
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
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
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
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
7a61d6031b Merge "Fix crash with a11y set text with text filters." into nyc-dev 2016-04-27 16:49: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
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
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
b08bbd994c Import translations. DO NOT MERGE
Change-Id: I3a9d207063511cfd862a522bc245fbf70abfbf3b
Auto-generated-cl: translation import
2016-04-27 06:26:50 -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
9fa8b54589 Merge "More bugreport logging for scheduleconditionprovider." into nyc-dev 2016-04-27 12:59:05 +00:00
Bill Yi
6c82c5ab41 Import translations. DO NOT MERGE
Change-Id: Ice98eb3ed66513d4e324e5f1939006048caec376
Auto-generated-cl: translation import
2016-04-27 05:43:40 -07:00
Martijn Coenen
6b8a522f16 Don't count vm_map_ram as used memory in vmallocinfo.
Bug: 28378463
Change-Id: I1f22464dbd31bc9ee7f2307ce7eec4a0e2bbad06
2016-04-27 14:32:30 +02:00
Bill Yi
c853d960aa Import translations. DO NOT MERGE
Change-Id: I8193ab50ed5c7603bceda66cbb10c4aa7f93240f
Auto-generated-cl: translation import
2016-04-27 05:23:30 -07:00
TreeHugger Robot
074e23c37b Merge "Fix infinite loop during package-usage.list file upgrade" into nyc-dev 2016-04-27 11:02:51 +00:00
Andrei Stingaceanu
cf38110526 Fix ListView losing scroll position
Restrict restoring the selected position when AdapterView
gets restored for Spinner instances only.

Bug: 26991402
Bug: 23619366
Change-Id: Ib002eac5ed0b8810a3e9988ad36f03450cb03b9b
2016-04-27 11:29:26 +01:00
Erik Kline
9c51583daf Merge "IpManager: add a provisioning timeout option" into nyc-dev 2016-04-27 09:40:08 +00:00