142713 Commits

Author SHA1 Message Date
Svetoslav
4bcc4a042c Update the promoted action background color per UX spec
bug:16303010

Change-Id: I54663a0be79b232a29d8fced4a772a32b4d83ae5
2014-07-15 17:33:52 -07:00
Svetoslav
e323dcc31d Drop of the final UX assets for printing.
bug:15705610

Change-Id: I82104a2c0b3d1f4e34f71357b10bed24c0583e71
2014-07-15 17:16:40 -07:00
Svetoslav
73764e347d Update the page count in the print UI to meet new UX.
bug:15912257

Change-Id: I1aa3eb4f7e28d3d9c955f60a570c2f8800fdb88d
2014-07-15 15:56:52 -07:00
Svetoslav
283203e204 Style the all printers activity in material theme.
bug:16301078

Change-Id: Ib96f1e232914802d0b5ddc874be4a4d24a74b685
2014-07-15 14:02:55 -07:00
Andrew Lee
83ba6c29f0 Merge "Adding getVideoState method to Telecomm Call's details." into lmp-dev 2014-07-15 20:35:01 +00:00
Narayan Kamath
caa7119294 Temporary workaround for getApplicationInfo + multiArch.
Google play services client libraries construct native paths
using pm.getApplicationInfo().nativeLibraryDir.

This is a temporary workaround until we've switched all code
over to pm.createPackageContext().getApplicationInfo() or
whatever API we decide on to surface correct multi-arch
lib paths.

bug: 16013931

Change-Id: Ib719cf6f31da9a29b76e942cd2e28bda1f19b264
2014-07-16 17:58:42 +00:00
Andrew Lee
7a34138586 Adding getVideoState method to Telecomm Call's details.
Bug: 16013878
Change-Id: I07b219c0952543b7c27694ae06f0eb468a17f1ee
2014-07-16 10:14:54 -07:00
Derek Tan
0ab985092b Merge "Remove @hide annotations from important carrier privileged APIs." into lmp-dev 2014-07-16 16:25:13 +00:00
Derek Tan
06b41ea23f 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
2014-07-16 09:32:57 -07:00
Alex Klyubin
09f1c724e3 Merge "No need to explicitly enable TLS-PSK cipher suites." into lmp-dev 2014-07-16 13:12:22 +00:00
Jean-Michel Trivi
79f5cd1429 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
2014-07-16 14:41:06 +00:00
Narayan Kamath
d8723bd3d6 Merge "Adjust nativeLibraryDir for package contexts of multiArch installs." into lmp-dev 2014-07-16 01:00:53 +00:00
Narayan Kamath
7dba6eb3ac 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
2014-07-16 13:37:16 +01:00
Ye Wen
dd3b972309 Merge "Messaging auto persist switch (1/4)" into lmp-dev 2014-07-16 02:20:34 +00:00
Ye Wen
9966429dcd Messaging auto persist switch (1/4)
b/14095333

Change-Id: I0860b662bceb250601c815028f377c28ad0e3159
2014-07-16 10:39:21 -07:00
Deepanshu Gupta
48fda5f169 am 6c57fc30: (-s ours) DO NOT MERGE - Fix LayoutLib.
* commit '6c57fc30198e8f3a2756aab6bc832450391eec94':
  DO NOT MERGE - Fix LayoutLib.
2014-07-16 17:35:24 +00:00
Jeff Sharkey
5fcaa0c670 Merge "Clearing "cache" shouldn't include "code cache."" into lmp-dev 2014-07-16 16:25:13 +00:00
Jeff Sharkey
78f3cf971b Clearing "cache" shouldn't include "code cache."
Bug: 16187224
Change-Id: I075b651d1ff89d4f0232497d28a6b11270cba4d9
2014-07-16 10:13:01 -07:00
Jeff Sharkey
4ed745d359 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
2014-07-15 22:13:26 -07:00
Adam Connors
63602e56bc Merge "Revert "Remove enableSystemApp methods."" into lmp-dev 2014-07-16 01:00:53 +00:00
Andrew Solovay
f7cecf8f4b 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
2014-07-16 13:36:16 +00:00
Robert Ly
0f4e428f7e am e104012f: am 8231174e: am bf42978e: Merge "NDK filesizes and hashes updated" into klp-modular-docs
* commit 'e104012f1b4dc1ea1e34477403fae486c3db717d':
  NDK filesizes and hashes updated
2014-07-16 13:36:10 +00:00
Ricardo Cervera
964ad7b04a 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
2014-07-16 13:36:05 +00:00
Robert Ly
4c0b84badc am 4460bff8: am 1374f6ea: am 649e8f9b: Merge "docs: add edu video highlights" into klp-modular-docs
* commit '4460bff8b39907bc8e39e60a27b078f20c35cc62':
  docs: add edu video highlights
2014-07-16 13:35:59 +00:00
Andrew Solovay
226faa0fe1 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.
2014-07-16 13:35:54 +00:00
Quddus Chong
1004a529b7 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
2014-07-16 13:35:49 +00:00
Ricardo Cervera
07c65d1f88 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
2014-07-16 13:35:44 +00:00
David Friedman
495e8d0fb1 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.
2014-07-16 13:35:25 +00:00
Adam Connors
655be2a98e 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
2014-07-16 09:48:43 +00:00
Jason Monk
febcb9d42b Merge "Finalizing lock-to-app UX" into lmp-dev 2014-07-16 00:53:22 +00:00
Sandeep Siddhartha
7ee0d45835 Merge "Hook in startRecogniton call" into lmp-dev 2014-07-16 02:25:05 +00:00
Jeff Sharkey
d0a2de06a7 Merge "Add code cache directory for apps." into lmp-dev 2014-07-16 16:25:13 +00:00
Sandeep Siddhartha
8ecaf5f5cf Hook in startRecogniton call
Add required info to the sound model database: users & recognition modes

Change-Id: I6e12cbc6342a2767c0e3d8328c0a3be899ac9952
2014-07-15 18:36:09 -07:00
Ruben Brunk
d1f113d0f0 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
2014-07-16 01:23:39 +00:00
Dan Sandler
a3514c3a4d Merge "Prevent dismissing autoredacted private notifications." into lmp-dev 2014-07-16 01:00:53 +00:00
Dan Sandler
0d3e62f3e0 Prevent dismissing autoredacted private notifications.
Bug: 16295169
Change-Id: Ic1a13ae1a501ae4a5633ef9c84c59ff13543eb1b
2014-07-16 12:04:06 -04:00
Dan Sandler
18bb4f9920 Clean up autoredaction text.
Also show the timestamp if the original notification does.

Bug: 16289371
Change-Id: I6898990629c036dc7c1a129609449e556f8afa72
2014-07-16 12:04:05 -04:00
Adrian Roos
d4e632bbb6 Merge "Fix windows not showing when SHOW_WHEN_LOCKED changes" into lmp-dev 2014-07-16 00:53:22 +00:00
John Spurlock
93d837fd01 Merge "Zen: handle exit conditions across reboots." into lmp-dev 2014-07-16 00:53:22 +00:00
Narayan Kamath
61e9bf246f 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
2014-07-16 12:02:12 +01:00
John Spurlock
50806fc4ce 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
2014-07-16 06:54:35 -04:00
Dan Sandler
5c95b3de42 Merge "Clean up autoredaction text." into lmp-dev 2014-07-16 00:46:50 +00:00
Alan Viverette
6e0a9fa6ed DO NOT MERGE Add support for AVD reverse() to ASLD, clean up transition handling
BUG: 16162242
Change-Id: I29336491d01d40e5369503ece858bcbe5aa99b19
(cherry picked from commit 4e9c797a9c024e5a4226ed37eece16e3db2edb78)
2014-07-16 16:25:59 +00:00
Adrian Roos
00a0b1f397 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
2014-07-16 16:25:30 +00:00
Jeff Sharkey
53b9e2a752 Merge "Parse more split APK manifest details." into lmp-dev 2014-07-15 20:35:01 +00:00
kmccormick
9c311fb4c6 Doc Update: new Smack sample.
Change-Id: I4395d13eab5e7801dae85394350536ae6cb38e9e
2014-07-15 13:26:37 -07:00
Svetoslav
38408ff5b7 Remove text selector and hide ime on print options close.
bug:16301754

Change-Id: I69bf09df9976b12c611821737eb4abb794c1df80
2014-07-15 12:56:02 -07:00
Svetoslav
b4d873288d Adjust preview page footer height and font size.
bug:16300627

Change-Id: I135c13085fa0c48de6bedaa58b3974f800547e99
2014-07-15 12:31:39 -07:00
Svetoslav
fd9369c7ae 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
2014-07-15 11:40:09 -07:00
Alex Klyubin
b56f21270a 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
2014-07-15 10:38:21 -07:00