OSDN Git Service

android-x86/frameworks-base.git
10 years agoMerge "Adjust nativeLibraryDir for package contexts of multiArch installs." into...
Narayan Kamath [Wed, 16 Jul 2014 17:58:26 +0000 (17:58 +0000)]
Merge "Adjust nativeLibraryDir for package contexts of multiArch installs." into lmp-dev

10 years agoAdjust nativeLibraryDir for package contexts of multiArch installs.
Narayan Kamath [Wed, 16 Jul 2014 07:53:30 +0000 (08:53 +0100)]
Adjust nativeLibraryDir for package contexts of multiArch installs.

When we're creating a package context for a multi-arch app,
adjust the native library directory to match the bitness of
the process creating the context.

This change also removes apkRoot (which wasn't really being used)
and replaces it with a fully constructed secondary library path.
The secondary library path is a transitional measure until we
can reorganize the system image so that we can use nativeLibraryRoot
for system paths as well (nativeLibraryRootRequiresIsa will then
be true for all packages except for legacy installs).

bug: 16013931

Change-Id: I5ae090334b377b9e087aecf40075fab81b20b132

10 years agoMerge "Messaging auto persist switch (1/4)" into lmp-dev
Ye Wen [Wed, 16 Jul 2014 17:57:34 +0000 (17:57 +0000)]
Merge "Messaging auto persist switch (1/4)" into lmp-dev

10 years agoMessaging auto persist switch (1/4)
Ye Wen [Mon, 14 Jul 2014 23:19:04 +0000 (16:19 -0700)]
Messaging auto persist switch (1/4)

b/14095333

Change-Id: I0860b662bceb250601c815028f377c28ad0e3159

10 years agoam 6c57fc30: (-s ours) DO NOT MERGE - Fix LayoutLib.
Deepanshu Gupta [Wed, 16 Jul 2014 17:35:24 +0000 (17:35 +0000)]
am 6c57fc30: (-s ours) DO NOT MERGE - Fix LayoutLib.

* commit '6c57fc30198e8f3a2756aab6bc832450391eec94':
  DO NOT MERGE - Fix LayoutLib.

10 years agoDO NOT MERGE - Fix LayoutLib.
Deepanshu Gupta [Wed, 16 Jul 2014 17:23:28 +0000 (10:23 -0700)]
DO NOT MERGE - Fix LayoutLib.

This fixes a bad merge and contains partial cherrypicks of the following
commits to make LayoutLib working again:
103d40960daa0420995aa12881bef33892a0a2ab
803d77d8904a8fd66f0370cca6ed7f8b7cf68907
6a08225cee197e5baf80dd06dae46988db284122

Bug: 15987446
Change-Id: I41563305206d30ecdbc7f609c4b90d53edb42689

10 years agoMerge "Clearing "cache" shouldn't include "code cache."" into lmp-dev
Jeff Sharkey [Wed, 16 Jul 2014 17:14:57 +0000 (17:14 +0000)]
Merge "Clearing "cache" shouldn't include "code cache."" into lmp-dev

10 years agoClearing "cache" shouldn't include "code cache."
Jeff Sharkey [Wed, 16 Jul 2014 17:13:01 +0000 (10:13 -0700)]
Clearing "cache" shouldn't include "code cache."

Bug: 16187224
Change-Id: I075b651d1ff89d4f0232497d28a6b11270cba4d9

10 years agoMerge "Remove @hide annotations from important carrier privileged APIs." into lmp-dev
Derek Tan [Wed, 16 Jul 2014 17:08:45 +0000 (17:08 +0000)]
Merge "Remove @hide annotations from important carrier privileged APIs." into lmp-dev

10 years agoRemove @hide annotations from important carrier privileged APIs.
Derek Tan [Tue, 15 Jul 2014 00:25:05 +0000 (17:25 -0700)]
Remove @hide annotations from important carrier privileged APIs.

Most of these APIs are protected by MODIFY_PHONE_STATE or carrier
privilege. Some APIs are protected by READ_PHONE_STATE.

Change-Id: Ifa04b5fb6d4bb5f21af7f728bee7dcbf77c8583b

10 years agoam 57553775: am 63477e67: Merge "cherrypick from klp-docs docs: Corrected doc for...
Andrew Solovay [Wed, 16 Jul 2014 13:29:08 +0000 (13:29 +0000)]
am 57553775: am 63477e67: Merge "cherrypick from klp-docs docs: Corrected doc for getLaunchIntentForPackage(). Change-Id: I2eab0956eaedac71289e19a3618a3553908f8c38" into klp-modular-docs

* commit '575537759222e0277c3979e33342407aa7ca1a78':
  cherrypick from klp-docs docs: Corrected doc for getLaunchIntentForPackage(). Change-Id: I2eab0956eaedac71289e19a3618a3553908f8c38

10 years agoam 8231174e: am bf42978e: Merge "NDK filesizes and hashes updated" into klp-modular...
Robert Ly [Wed, 16 Jul 2014 13:29:04 +0000 (13:29 +0000)]
am 8231174e: am bf42978e: Merge "NDK filesizes and hashes updated" into klp-modular-docs

* commit '8231174ec5b4d720cde2d1d7abb40ee9bde32c7d':
  NDK filesizes and hashes updated

10 years agoam b5cd1976: am c79f3d69: Merge "cherrypick from klp-modular-dev docs: Fix issue...
Ricardo Cervera [Wed, 16 Jul 2014 13:29:00 +0000 (13:29 +0000)]
am b5cd1976: am c79f3d69: Merge "cherrypick from klp-modular-dev docs: Fix issue with CardView preview docs Bug: 16277161 Change-Id: Iea8cbff81fbf3ac50c9009fbf21dc65c625e71ee" into klp-modular-docs

* commit 'b5cd197646a18239e976649ffa99d39c6f568d2b':
  cherrypick from klp-modular-dev docs: Fix issue with CardView preview docs Bug: 16277161 Change-Id: Iea8cbff81fbf3ac50c9009fbf21dc65c625e71ee

10 years agoam 1374f6ea: am 649e8f9b: Merge "docs: add edu video highlights" into klp-modular...
Robert Ly [Wed, 16 Jul 2014 13:28:56 +0000 (13:28 +0000)]
am 1374f6ea: am 649e8f9b: Merge "docs: add edu video highlights" into klp-modular-docs

* commit '1374f6ea86f982e7600b9b2714747bc654243591':
  docs: add edu video highlights

10 years agoam 0791c612: am 3f8d9c9e: Merge "docs: Replaced deprecated fill_parent with match_par...
Andrew Solovay [Wed, 16 Jul 2014 13:28:53 +0000 (13:28 +0000)]
am 0791c612: am 3f8d9c9e: Merge "docs: Replaced deprecated fill_parent with match_parent." into klp-modular-docs

* commit '0791c612b9dff787fa5e081d6bb207116333b21a':
  docs: Replaced deprecated fill_parent with match_parent.

10 years agoam b2b1c5fa: am 6a5dd936: docs: Fixed typo in L Preview API Overview. bug: 15696551
Quddus Chong [Wed, 16 Jul 2014 13:28:49 +0000 (13:28 +0000)]
am b2b1c5fa: am 6a5dd936: docs: Fixed typo in L Preview API Overview. bug: 15696551

* commit 'b2b1c5fa89a497f8e75cde7011795eae625a1722':
  docs: Fixed typo in L Preview API Overview. bug: 15696551

10 years agoam 0acf9d2f: am de138276: docs: Fix typos in the L preview docs. Bug: 16240486
Ricardo Cervera [Wed, 16 Jul 2014 13:28:44 +0000 (13:28 +0000)]
am 0acf9d2f: am de138276: docs: Fix typos in the L preview docs. Bug: 16240486

* commit '0acf9d2f9a1c74308db4632530f5b57e6cde5f9d':
  docs: Fix typos in the L preview docs. Bug: 16240486

10 years agoam ddf853e0: am 7f6af88e: Fixed a randomly discovered typo and missing hyphen. Change...
David Friedman [Wed, 16 Jul 2014 13:28:37 +0000 (13:28 +0000)]
am ddf853e0: am 7f6af88e: Fixed a randomly discovered typo and missing hyphen. Change not staged.

* commit 'ddf853e0ce8a32a7d7e7f070b49f44a4edb2fff0':
  Fixed a randomly discovered typo and missing hyphen. Change not staged.

10 years agoam 63477e67: Merge "cherrypick from klp-docs docs: Corrected doc for getLaunchIntentF...
Andrew Solovay [Wed, 16 Jul 2014 13:22:57 +0000 (13:22 +0000)]
am 63477e67: Merge "cherrypick from klp-docs docs: Corrected doc for getLaunchIntentForPackage(). Change-Id: I2eab0956eaedac71289e19a3618a3553908f8c38" into klp-modular-docs

* commit '63477e67eba4e8f3d3c17c3774cd99d23db39456':
  cherrypick from klp-docs docs: Corrected doc for getLaunchIntentForPackage(). Change-Id: I2eab0956eaedac71289e19a3618a3553908f8c38

10 years agoam bf42978e: Merge "NDK filesizes and hashes updated" into klp-modular-docs
Robert Ly [Wed, 16 Jul 2014 13:22:54 +0000 (13:22 +0000)]
am bf42978e: Merge "NDK filesizes and hashes updated" into klp-modular-docs

* commit 'bf42978e14e352984eb5443687fccd5b15dc27a3':
  NDK filesizes and hashes updated

10 years agoam c79f3d69: Merge "cherrypick from klp-modular-dev docs: Fix issue with CardView...
Ricardo Cervera [Wed, 16 Jul 2014 13:22:50 +0000 (13:22 +0000)]
am c79f3d69: Merge "cherrypick from klp-modular-dev docs: Fix issue with CardView preview docs Bug: 16277161 Change-Id: Iea8cbff81fbf3ac50c9009fbf21dc65c625e71ee" into klp-modular-docs

* commit 'c79f3d696a24ade6017b0e91d92898190c204dd2':
  cherrypick from klp-modular-dev docs: Fix issue with CardView preview docs Bug: 16277161 Change-Id: Iea8cbff81fbf3ac50c9009fbf21dc65c625e71ee

10 years agoam 649e8f9b: Merge "docs: add edu video highlights" into klp-modular-docs
Robert Ly [Wed, 16 Jul 2014 13:22:47 +0000 (13:22 +0000)]
am 649e8f9b: Merge "docs: add edu video highlights" into klp-modular-docs

* commit '649e8f9b2b9442fc29570f86a2f92fe5b7538c45':
  docs: add edu video highlights

10 years agoam 3f8d9c9e: Merge "docs: Replaced deprecated fill_parent with match_parent." into...
Andrew Solovay [Wed, 16 Jul 2014 13:22:44 +0000 (13:22 +0000)]
am 3f8d9c9e: Merge "docs: Replaced deprecated fill_parent with match_parent." into klp-modular-docs

* commit '3f8d9c9e0a67a87009ee42904d3f08fe2f1371c6':
  docs: Replaced deprecated fill_parent with match_parent.

10 years agoam 6a5dd936: docs: Fixed typo in L Preview API Overview. bug: 15696551
Quddus Chong [Wed, 16 Jul 2014 13:22:44 +0000 (13:22 +0000)]
am 6a5dd936: docs: Fixed typo in L Preview API Overview. bug: 15696551

* commit '6a5dd93652ffce88891c2bd2dc7a19c764075631':
  docs: Fixed typo in L Preview API Overview. bug: 15696551

10 years agoam de138276: docs: Fix typos in the L preview docs. Bug: 16240486
Ricardo Cervera [Wed, 16 Jul 2014 13:22:43 +0000 (13:22 +0000)]
am de138276: docs: Fix typos in the L preview docs. Bug: 16240486

* commit 'de138276f1c0a02f91e32f889639c629d883f948':
  docs: Fix typos in the L preview docs. Bug: 16240486

10 years agoam 7f6af88e: Fixed a randomly discovered typo and missing hyphen. Change not staged.
David Friedman [Wed, 16 Jul 2014 13:22:43 +0000 (13:22 +0000)]
am 7f6af88e: Fixed a randomly discovered typo and missing hyphen. Change not staged.

* commit '7f6af88e9460b788f68e956c9b104bc68fcfc8c4':
  Fixed a randomly discovered typo and missing hyphen. Change not staged.

10 years agoMerge "No need to explicitly enable TLS-PSK cipher suites." into lmp-dev
Alex Klyubin [Wed, 16 Jul 2014 15:25:13 +0000 (15:25 +0000)]
Merge "No need to explicitly enable TLS-PSK cipher suites." into lmp-dev

10 years agoUnhide MediaPlayer.setAudioAttributes(), javadoc clarifications
Jean-Michel Trivi [Tue, 15 Jul 2014 22:42:25 +0000 (15:42 -0700)]
Unhide MediaPlayer.setAudioAttributes(), javadoc clarifications

Unhide MediaPlayer.setAudioAttributes() method.

Update javadoc to explicitly state that the factory methods
  do not let you set the audio stream type, attributes or session.

Change-Id: I0d097c314db010698b035349befe0659ab4d1dde

10 years agoAdd code cache directory for apps.
Jeff Sharkey [Wed, 16 Jul 2014 03:39:15 +0000 (20:39 -0700)]
Add code cache directory for apps.

This provides a directory where apps can cache compiled or optimized
code generated at runtime.  The platform will delete all files in
this location on both app and platform upgrade.

Bug: 16187224
Change-Id: I641b21d841c436247f35ff235317e3a4ba520441

10 years agoMark resource-only splits as hasCode=false.
Jeff Sharkey [Wed, 16 Jul 2014 03:18:34 +0000 (20:18 -0700)]
Mark resource-only splits as hasCode=false.

PackageManagerService now skips dexopt for split APKs that don't
declare they have code.  Also surface more detailed error messages
in logs.

Bug: 14975160
Change-Id: Ie6078dba724815020cee59b7fc52317e88ca097a

10 years agoParse more split APK manifest details.
Jeff Sharkey [Tue, 15 Jul 2014 21:54:09 +0000 (14:54 -0700)]
Parse more split APK manifest details.

Allow split APKs to define activities, services, receivers,
providers, and metadata.  However, support for many manifest items
are explicitly omitted.

Only dexopt split APKs that include code.

Bug: 14975160
Change-Id: I2fbf99e2a62328aa2185e5924755af33060282fc

10 years agoMerge "Revert "Remove enableSystemApp methods."" into lmp-dev
Adam Connors [Wed, 16 Jul 2014 14:13:16 +0000 (14:13 +0000)]
Merge "Revert "Remove enableSystemApp methods."" into lmp-dev

10 years agoam c8fcb3bc: am 57553775: am 63477e67: Merge "cherrypick from klp-docs docs: Correcte...
Andrew Solovay [Wed, 16 Jul 2014 13:36:16 +0000 (13:36 +0000)]
am c8fcb3bc: am 57553775: am 63477e67: Merge "cherrypick from klp-docs docs: Corrected doc for getLaunchIntentForPackage(). Change-Id: I2eab0956eaedac71289e19a3618a3553908f8c38" into klp-modular-docs

* commit 'c8fcb3bcdb71fe16624bea146a67b13c150adb82':
  cherrypick from klp-docs docs: Corrected doc for getLaunchIntentForPackage(). Change-Id: I2eab0956eaedac71289e19a3618a3553908f8c38

10 years agoam e104012f: am 8231174e: am bf42978e: Merge "NDK filesizes and hashes updated" into...
Robert Ly [Wed, 16 Jul 2014 13:36:10 +0000 (13:36 +0000)]
am e104012f: am 8231174e: am bf42978e: Merge "NDK filesizes and hashes updated" into klp-modular-docs

* commit 'e104012f1b4dc1ea1e34477403fae486c3db717d':
  NDK filesizes and hashes updated

10 years agoam 9e4db5b7: am b5cd1976: am c79f3d69: Merge "cherrypick from klp-modular-dev docs...
Ricardo Cervera [Wed, 16 Jul 2014 13:36:05 +0000 (13:36 +0000)]
am 9e4db5b7: am b5cd1976: am c79f3d69: Merge "cherrypick from klp-modular-dev docs: Fix issue with CardView preview docs Bug: 16277161 Change-Id: Iea8cbff81fbf3ac50c9009fbf21dc65c625e71ee" into klp-modular-docs

* commit '9e4db5b76ad11dd468d65e5030044d530872908f':
  cherrypick from klp-modular-dev docs: Fix issue with CardView preview docs Bug: 16277161 Change-Id: Iea8cbff81fbf3ac50c9009fbf21dc65c625e71ee

10 years agoam 4460bff8: am 1374f6ea: am 649e8f9b: Merge "docs: add edu video highlights" into...
Robert Ly [Wed, 16 Jul 2014 13:35:59 +0000 (13:35 +0000)]
am 4460bff8: am 1374f6ea: am 649e8f9b: Merge "docs: add edu video highlights" into klp-modular-docs

* commit '4460bff8b39907bc8e39e60a27b078f20c35cc62':
  docs: add edu video highlights

10 years agoam 52f0b574: am 0791c612: am 3f8d9c9e: Merge "docs: Replaced deprecated fill_parent...
Andrew Solovay [Wed, 16 Jul 2014 13:35:54 +0000 (13:35 +0000)]
am 52f0b574: am 0791c612: am 3f8d9c9e: Merge "docs: Replaced deprecated fill_parent with match_parent." into klp-modular-docs

* commit '52f0b5740e97777658859edb8489bc3f4e6c0b16':
  docs: Replaced deprecated fill_parent with match_parent.

10 years agoam 13fc31df: am b2b1c5fa: am 6a5dd936: docs: Fixed typo in L Preview API Overview...
Quddus Chong [Wed, 16 Jul 2014 13:35:49 +0000 (13:35 +0000)]
am 13fc31df: am b2b1c5fa: am 6a5dd936: docs: Fixed typo in L Preview API Overview. bug: 15696551

* commit '13fc31df3cdf441b2034c4526ce45f730d80777a':
  docs: Fixed typo in L Preview API Overview. bug: 15696551

10 years agoam 3b0909c4: am 0acf9d2f: am de138276: docs: Fix typos in the L preview docs. Bug...
Ricardo Cervera [Wed, 16 Jul 2014 13:35:44 +0000 (13:35 +0000)]
am 3b0909c4: am 0acf9d2f: am de138276: docs: Fix typos in the L preview docs. Bug: 16240486

* commit '3b0909c49b15a467f769d17aca4d44940d7bb28e':
  docs: Fix typos in the L preview docs. Bug: 16240486

10 years agoam ede1910a: am ddf853e0: am 7f6af88e: Fixed a randomly discovered typo and missing...
David Friedman [Wed, 16 Jul 2014 13:35:25 +0000 (13:35 +0000)]
am ede1910a: am ddf853e0: am 7f6af88e: Fixed a randomly discovered typo and missing hyphen. Change not staged.

* commit 'ede1910aa4718bf0398a482eba4a89a9edfe4a67':
  Fixed a randomly discovered typo and missing hyphen. Change not staged.

10 years agoRevert "Remove enableSystemApp methods."
Adam Connors [Mon, 14 Jul 2014 09:01:25 +0000 (09:01 +0000)]
Revert "Remove enableSystemApp methods."

We need to go back to uninstalling system apps so we can
re-install non-default system applications through Play.

This reverts commit e3dbcd138c07f2d32ac84229d0a49052cc18d424.

Change-Id: I0a7af094614c4a10800971c82e10571f7312e079

10 years agoMerge "Finalizing lock-to-app UX" into lmp-dev
Jason Monk [Wed, 16 Jul 2014 17:07:08 +0000 (17:07 +0000)]
Merge "Finalizing lock-to-app UX" into lmp-dev

10 years agoMerge "Hook in startRecogniton call" into lmp-dev
Sandeep Siddhartha [Wed, 16 Jul 2014 16:57:06 +0000 (16:57 +0000)]
Merge "Hook in startRecogniton call" into lmp-dev

10 years agoMerge "Add code cache directory for apps." into lmp-dev
Jeff Sharkey [Wed, 16 Jul 2014 16:53:24 +0000 (16:53 +0000)]
Merge "Add code cache directory for apps." into lmp-dev

10 years agoHook in startRecogniton call
Sandeep Siddhartha [Fri, 11 Jul 2014 02:38:18 +0000 (19:38 -0700)]
Hook in startRecogniton call

Add required info to the sound model database: users & recognition modes

Change-Id: I6e12cbc6342a2767c0e3d8328c0a3be899ac9952

10 years agoDO NOT MERGE: camera2: Performance potpourri.
Ruben Brunk [Fri, 11 Jul 2014 18:46:20 +0000 (11:46 -0700)]
DO NOT MERGE: camera2: Performance potpourri.

Bug: 16208403
Bug: 15116722

Fixes many of the performance issues in the Camera2 API and
LEGACY mode CPU path, including:
- Only call getParameters/setParameters when the request has changed.
- Cache Request/Result objects.
- Cache object hashes for long-lived CameraMetadata, TypeReference,
  and Key objects with frequently used hash methods.
- Switch to Command pattern instead of repeated if/equals calls.
  in frequently hit CameraMetadata get/set methods.
- Move string construction for logging behind flags to avoid extra
  StringBuilder calls in frequently acquired lock methods.
- Cache results from frequently used JNI calls in object Builders.

Change-Id: I77bc4a023d4fe8bc46efcf771ff18ee268dcb9a9

10 years agoMerge "Prevent dismissing autoredacted private notifications." into lmp-dev
Dan Sandler [Wed, 16 Jul 2014 16:27:35 +0000 (16:27 +0000)]
Merge "Prevent dismissing autoredacted private notifications." into lmp-dev

10 years agoPrevent dismissing autoredacted private notifications.
Dan Sandler [Mon, 14 Jul 2014 21:13:50 +0000 (17:13 -0400)]
Prevent dismissing autoredacted private notifications.

Bug: 16295169
Change-Id: Ic1a13ae1a501ae4a5633ef9c84c59ff13543eb1b

10 years agoClean up autoredaction text.
Dan Sandler [Mon, 14 Jul 2014 20:48:27 +0000 (16:48 -0400)]
Clean up autoredaction text.

Also show the timestamp if the original notification does.

Bug: 16289371
Change-Id: I6898990629c036dc7c1a129609449e556f8afa72

10 years agoMerge "Fix windows not showing when SHOW_WHEN_LOCKED changes" into lmp-dev
Adrian Roos [Wed, 16 Jul 2014 12:11:55 +0000 (12:11 +0000)]
Merge "Fix windows not showing when SHOW_WHEN_LOCKED changes" into lmp-dev

10 years agoMerge "Zen: handle exit conditions across reboots." into lmp-dev
John Spurlock [Wed, 16 Jul 2014 12:01:23 +0000 (12:01 +0000)]
Merge "Zen: handle exit conditions across reboots." into lmp-dev

10 years agoFix install --abi for apps with no native code.
Narayan Kamath [Wed, 16 Jul 2014 07:27:40 +0000 (08:27 +0100)]
Fix install --abi for apps with no native code.

We will need to record the overriden ABI in the package
settings (and applicationInfo) so that we launch the app
with it.

Change-Id: Ib71aae69d006a4b0e85e7101c0e0cebf1a950997

10 years agoZen: handle exit conditions across reboots.
John Spurlock [Tue, 15 Jul 2014 14:22:02 +0000 (10:22 -0400)]
Zen: handle exit conditions across reboots.

- Use the persisted exit condition (and a new
  persisted exit component) to immediately resubscribe
  to the manual exit condition (if present)
- Fire false immediately for old countdown conditions.
- Add a new zen lens to noman dump, and a bit more info.
- Refresh the current exit condition when reopening the panel.

Bug:15844990
Bug:16212455
Change-Id: I8bfaf1b2a6cf3d8818002a9db5c527ad3aa4c05c

10 years agoMerge "Clean up autoredaction text." into lmp-dev
Dan Sandler [Wed, 16 Jul 2014 16:27:25 +0000 (16:27 +0000)]
Merge "Clean up autoredaction text." into lmp-dev

10 years agoDO NOT MERGE Add support for AVD reverse() to ASLD, clean up transition handling
Alan Viverette [Sun, 13 Jul 2014 23:32:54 +0000 (16:32 -0700)]
DO NOT MERGE Add support for AVD reverse() to ASLD, clean up transition handling

BUG: 16162242
Change-Id: I29336491d01d40e5369503ece858bcbe5aa99b19
(cherry picked from commit 4e9c797a9c024e5a4226ed37eece16e3db2edb78)

10 years agoImplement real QS user switcher
Adrian Roos [Wed, 16 Jul 2014 14:44:49 +0000 (16:44 +0200)]
Implement real QS user switcher

Replaces the stop-gap user switcher with the real deal.
Dimensions may need some further adjustments.

Bug: 15545213
Change-Id: I4399635c03553dac935049d5b8297fe5f5c1dc9a

10 years agoDO NOT MERGE - Fix build issue isScreenOn
Bill Yi [Mon, 14 Jul 2014 20:35:35 +0000 (13:35 -0700)]
DO NOT MERGE - Fix build issue isScreenOn

Change-Id: I8821efd561d375c32702be55903fe401ab719e80

10 years agoam 35396800: Merge "docs: Added note on disabling debugging for WebView apps. Bug...
Ricardo Cervera [Tue, 15 Jul 2014 21:05:38 +0000 (21:05 +0000)]
am 35396800: Merge "docs: Added note on disabling debugging for WebView apps. Bug: 16232761" into klp-modular-dev

* commit '3539680063e039f5d543677805de7f4639575b1e':
  docs: Added note on disabling debugging for WebView apps. Bug: 16232761

10 years agoMerge "Put annotations in the right place" into lmp-dev
Justin Mattson [Wed, 16 Jul 2014 04:36:22 +0000 (04:36 +0000)]
Merge "Put annotations in the right place" into lmp-dev

10 years agoPut annotations in the right place
Justin Mattson [Wed, 16 Jul 2014 03:40:45 +0000 (20:40 -0700)]
Put annotations in the right place

Put annotations in the theme defintion rather than in the public.xml
file.

Change-Id: I078b7676423be4cd362df251be630c1617da030c

10 years agoMerge "Add more params to WebViewClient.shouldInterceptRequest." into lmp-dev
Marcin Kosiba [Wed, 16 Jul 2014 04:32:56 +0000 (04:32 +0000)]
Merge "Add more params to WebViewClient.shouldInterceptRequest." into lmp-dev

10 years agoAdd more params to WebViewClient.shouldInterceptRequest.
Marcin Kosiba [Tue, 15 Jul 2014 16:33:47 +0000 (17:33 +0100)]
Add more params to WebViewClient.shouldInterceptRequest.

This changes shouldInterceptRequest to take an object containing the
following new parameters: isMainFrame, hasUserGesture, method, headers.
This also lets the embedder specify the following additional properties
of the response: status code, response phrase, headers.

BUG: 7589347
Change-Id: Id922c5e7023eb067db871e6f782f599492a2428f

10 years agoPlumb temporary view detach calls through WebView.
Ben Murdoch [Thu, 3 Jul 2014 13:47:44 +0000 (14:47 +0100)]
Plumb temporary view detach calls through WebView.

Intercept View#onStartTemporaryDetach/onFinishTemporaryDetach
to handle focus changes correctly.

Bug: 14313621
Change-Id: I92ba2f44359643fee63f30b9c35b1ae4183e4245

10 years agoMerge "docs: Added note on disabling debugging for WebView apps. Bug: 16232761" into...
Ricardo Cervera [Tue, 15 Jul 2014 21:01:33 +0000 (21:01 +0000)]
Merge "docs: Added note on disabling debugging for WebView apps. Bug: 16232761" into klp-modular-dev

10 years agoMerge "Mark resource-only splits as hasCode=false." into lmp-dev
Jeff Sharkey [Wed, 16 Jul 2014 03:21:07 +0000 (03:21 +0000)]
Merge "Mark resource-only splits as hasCode=false." into lmp-dev

10 years agoMerge "MediaCodec: add reset() + documentation fixes" into lmp-dev
Lajos Molnar [Wed, 16 Jul 2014 03:12:34 +0000 (03:12 +0000)]
Merge "MediaCodec: add reset() + documentation fixes" into lmp-dev

10 years agoMerge "Update the promoted action background color per UX spec" into lmp-dev
Svetoslav [Wed, 16 Jul 2014 00:35:01 +0000 (00:35 +0000)]
Merge "Update the promoted action background color per UX spec" into lmp-dev

10 years agoMediaCodec: add reset() + documentation fixes
Lajos Molnar [Tue, 15 Jul 2014 23:07:13 +0000 (16:07 -0700)]
MediaCodec: add reset() + documentation fixes

Bug: 12034929
Change-Id: I38f89a2e4c41e0ceb3fdae4522b9c04f6c43a4f1

10 years agoUpdate the promoted action background color per UX spec
Svetoslav [Wed, 16 Jul 2014 00:33:46 +0000 (17:33 -0700)]
Update the promoted action background color per UX spec

bug:16303010

Change-Id: I54663a0be79b232a29d8fced4a772a32b4d83ae5

10 years agoDrop of the final UX assets for printing.
Svetoslav [Wed, 16 Jul 2014 00:16:37 +0000 (17:16 -0700)]
Drop of the final UX assets for printing.

bug:15705610

Change-Id: I82104a2c0b3d1f4e34f71357b10bed24c0583e71

10 years agoUpdate the page count in the print UI to meet new UX.
Svetoslav [Tue, 15 Jul 2014 22:56:46 +0000 (15:56 -0700)]
Update the page count in the print UI to meet new UX.

bug:15912257

Change-Id: I1aa3eb4f7e28d3d9c955f60a570c2f8800fdb88d

10 years agoStyle the all printers activity in material theme.
Svetoslav [Tue, 15 Jul 2014 20:56:29 +0000 (13:56 -0700)]
Style the all printers activity in material theme.

bug:16301078

Change-Id: Ib96f1e232914802d0b5ddc874be4a4d24a74b685

10 years agoMerge "Parse more split APK manifest details." into lmp-dev
Jeff Sharkey [Wed, 16 Jul 2014 01:50:31 +0000 (01:50 +0000)]
Merge "Parse more split APK manifest details." into lmp-dev

10 years agoRemove text selector and hide ime on print options close.
Svetoslav [Tue, 15 Jul 2014 19:53:13 +0000 (12:53 -0700)]
Remove text selector and hide ime on print options close.

bug:16301754

Change-Id: I69bf09df9976b12c611821737eb4abb794c1df80

10 years agoAdjust preview page footer height and font size.
Svetoslav [Tue, 15 Jul 2014 19:31:30 +0000 (12:31 -0700)]
Adjust preview page footer height and font size.

bug:16300627

Change-Id: I135c13085fa0c48de6bedaa58b3974f800547e99

10 years agoUpdate the color pallete of the print options UI.
Svetoslav [Tue, 15 Jul 2014 15:27:40 +0000 (08:27 -0700)]
Update the color pallete of the print options UI.

The print options UI now uses the material theme with custom
branding collors that follow the rest of the system UI.

bug:16301325

Change-Id: I5fefcd95ada0172a028574550dcfdf628f9ce22d

10 years agoNo need to explicitly enable TLS-PSK cipher suites.
Alex Klyubin [Tue, 15 Jul 2014 17:38:21 +0000 (10:38 -0700)]
No need to explicitly enable TLS-PSK cipher suites.

This CL adjusts the example code in android.net.PSKKeyManager Javadoc
to no longer explicitly enable TLS-PSK cipher suites. These are now
enabled automatically if SSLContext is initialized with a
PSKKeyManager.

Bug: 15073623
Change-Id: I7f7f713478171491347cdfb9651fd9a095dc60ee

10 years agodocs: Added note on disabling debugging for WebView apps. Bug: 16232761
Ricardo Cervera [Fri, 11 Jul 2014 17:12:48 +0000 (10:12 -0700)]
docs: Added note on disabling debugging for WebView apps. Bug: 16232761

Change-Id: I6cdc2ef7da87e78ec42a456d232a8e46a26c7365

10 years agoFix windows not showing when SHOW_WHEN_LOCKED changes
Adrian Roos [Tue, 15 Jul 2014 16:31:10 +0000 (18:31 +0200)]
Fix windows not showing when SHOW_WHEN_LOCKED changes

Removes WindowStateAnimator's copy of the window flags, which was
not updated when they changed.

Bug: 15574002
Change-Id: I1ca3f8d5b521727fcb8da14ff1f8231e47b1e9b9

10 years agoFix T-Mobile provisioning detection.
Paul Jensen [Tue, 15 Jul 2014 14:57:38 +0000 (10:57 -0400)]
Fix T-Mobile provisioning detection.

Add User-Agent to HTTP request for captive portal.

bug:16316314
Change-Id: I32d4f75f4eb114574dd2a39d241cb085383b4f94

10 years agoMerge "cherrypick from klp-docs docs: Corrected doc for getLaunchIntentForPackage...
Andrew Solovay [Tue, 15 Jul 2014 22:13:45 +0000 (22:13 +0000)]
Merge "cherrypick from klp-docs docs: Corrected doc for getLaunchIntentForPackage(). Change-Id: I2eab0956eaedac71289e19a3618a3553908f8c38" into klp-modular-docs

10 years agocherrypick from klp-docs docs: Corrected doc for getLaunchIntentForPackage(). Change...
Andrew Solovay [Fri, 6 Jun 2014 19:23:09 +0000 (12:23 -0700)]
cherrypick from klp-docs docs: Corrected doc for getLaunchIntentForPackage(). Change-Id: I2eab0956eaedac71289e19a3618a3553908f8c38

Doc had inaccurately said that getLaunchIntentForPackage() throws an
exception if the package name is not recognized; in fact, it returns
null. Also cleaned up some style issues for that Javadoc item.

Doc is staged to:

http://asolovay.mtv:9655/reference/android/content/pm/PackageManager.html#getLaunchIntentForPackage(java.lang.String)

Bug: 15022655
Original SHA1: I2eab0956eaedac71289e19a3618a3553908f8c38

Change-Id: Ief8dfaac248ba03779c6f13237aff9b26d362fd9

10 years agoMerge "App restrictions schema and parser" into lmp-dev
Amith Yamasani [Wed, 16 Jul 2014 00:24:57 +0000 (00:24 +0000)]
Merge "App restrictions schema and parser" into lmp-dev

10 years agoApp restrictions schema and parser
Amith Yamasani [Mon, 14 Jul 2014 00:12:12 +0000 (17:12 -0700)]
App restrictions schema and parser

Documented the restrictions schema in RestrictionsManager docs.
Added a parser to read the meta-data and XML file on the device.
Added more types and methods in RestrictionEntry to accomodate some
new types and construction modes.
Added a styleable for restriction attributes.

Slight tweak to permission response params.

Bug: 14582645
Change-Id: I193d1162741d110c100831cab33b48e2baf7426c

10 years agoFix hotspot movement on focus change
Alan Viverette [Mon, 14 Jul 2014 00:49:39 +0000 (17:49 -0700)]
Fix hotspot movement on focus change

BUG: 15726988
Change-Id: I97f88e5f7e404ecfcd5c254fddd18c8f6616064e

10 years agoMerge "Drop of the final UX assets for printing." into lmp-dev
Svetoslav [Wed, 16 Jul 2014 00:19:55 +0000 (00:19 +0000)]
Merge "Drop of the final UX assets for printing." into lmp-dev

10 years agocamera2: Fix available keys to filter to only supported keys
Igor Murashkin [Wed, 25 Jun 2014 18:52:23 +0000 (11:52 -0700)]
camera2: Fix available keys to filter to only supported keys

The following functions are affected:
* CameraCharacteristics#getKeys
* CameraCharacteristics#getAvailableResultKeys
* CameraCharacteristics#getAvailableRequestKeys

The above keys will now only return keys whose tags are set in
android.request.available{Characteristics,Result,Request}Keys

This change makes it possible to detect if a key is guaranteed to be
available at a granular basis (without querying hardwareLevel or
capabilities).

Change-Id: Iaa34e8c24100339c215604ff49035527fae467cd

10 years agoMerge "Update the page count in the print UI to meet new UX." into lmp-dev
Svetoslav [Tue, 15 Jul 2014 22:59:49 +0000 (22:59 +0000)]
Merge "Update the page count in the print UI to meet new UX." into lmp-dev

10 years agoMerge "docs: add edu video highlights" into klp-modular-docs
Robert Ly [Tue, 15 Jul 2014 18:10:34 +0000 (18:10 +0000)]
Merge "docs: add edu video highlights" into klp-modular-docs

10 years agodocs: add edu video highlights
Robert Ly [Mon, 14 Jul 2014 21:12:13 +0000 (14:12 -0700)]
docs: add edu video highlights

Change-Id: I1339245330087486faf95023d3a4e8b4dc687a6e

10 years agoMerge "Ensure surfaces with insets aren't rendered as opaque" into lmp-dev
Alan Viverette [Tue, 15 Jul 2014 23:54:50 +0000 (23:54 +0000)]
Merge "Ensure surfaces with insets aren't rendered as opaque" into lmp-dev

10 years agoRevert "MSIM: dump sub specific info"
Joe LaPenna [Tue, 15 Jul 2014 22:49:06 +0000 (22:49 +0000)]
Revert "MSIM: dump sub specific info"

This reverts commit bc586ea61bacf05c509cb8dae44e9d8f22fc780d.

Change-Id: Ia85003f2f4eb17970fd5945dd8d432a701db9bba

10 years agoEnsure surfaces with insets aren't rendered as opaque
Alan Viverette [Tue, 15 Jul 2014 22:49:55 +0000 (15:49 -0700)]
Ensure surfaces with insets aren't rendered as opaque

BUG: 16312821
Change-Id: Ie3012c34712b7bf91a2086a6b8c922d0ebfff2e6

10 years agoMerge "Avoid arc for edge effect drawing." into lmp-dev
Chris Craik [Tue, 15 Jul 2014 23:03:14 +0000 (23:03 +0000)]
Merge "Avoid arc for edge effect drawing." into lmp-dev

10 years agoam 96f6a1a9: (-s ours) DO NOT MERGE - Fix build issue isScreenOn
Bill Yi [Tue, 15 Jul 2014 22:58:37 +0000 (22:58 +0000)]
am 96f6a1a9: (-s ours) DO NOT MERGE - Fix build issue isScreenOn

* commit '96f6a1a9e7806b34e7ae8c21b6febf965acf16e1':
  DO NOT MERGE - Fix build issue isScreenOn

10 years agoAvoid arc for edge effect drawing.
Chris Craik [Tue, 15 Jul 2014 22:36:32 +0000 (15:36 -0700)]
Avoid arc for edge effect drawing.

b/16131698

Tessellation doesn't support joins, which filled arcs have.

Change-Id: I566d0c1c39f058bb641aa24d2a4488b0aaa1b454

10 years agoFix NPE during construction from XML.
George Mount [Tue, 15 Jul 2014 17:41:50 +0000 (10:41 -0700)]
Fix NPE during construction from XML.

Bug 16322214

Change-Id: Ie2811a54880ab60b607ae29d7df04b0636e67197

10 years agoMerge "Revert "Block focus with a touchscreen for ActionBars and Toolbars"" into...
Baligh Uddin [Tue, 15 Jul 2014 22:13:27 +0000 (22:13 +0000)]
Merge "Revert "Block focus with a touchscreen for ActionBars and Toolbars"" into lmp-dev

10 years agoRevert "Block focus with a touchscreen for ActionBars and Toolbars"
Baligh Uddin [Mon, 14 Jul 2014 22:42:23 +0000 (22:42 +0000)]
Revert "Block focus with a touchscreen for ActionBars and Toolbars"

This reverts commit a2933761d17bc5106357a1edd9bd3ff978160133.

Change-Id: Idedd430574925a0e86311a3d9fee51a74731c2f8
(cherry picked from commit d886cf139532a78b2d34d13403f10295a9bbd14e)

10 years agoMerge "MSIM: dump sub specific info" into lmp-dev
Stuart Scott [Tue, 15 Jul 2014 22:10:26 +0000 (22:10 +0000)]
Merge "MSIM: dump sub specific info" into lmp-dev