142786 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
Eric Laurent
015b123a8a Merge "AudioService: Use device specific mode to open SCO audio" into lmp-dev 2014-07-15 20:35:01 +00:00
Liejun Tao
f4e51d82d2 AudioService: Use device specific mode to open SCO audio
Bluetooth carkit may need specific mode to open SCO
channel. Add a settings value using BT device's MAC address
to store the SCO mode and use it to open SCO. In case no value
is stored, use default mode: Virtual Voice Call.

Change-Id: Iea31a48be0e8f3bd2d8689635fd8ce6f6d6da15a
2014-07-16 15:50:54 -07:00
Fabrice Di Meglio
ef7d656d44 Fix bug #16353909 Preferences RTL support is sometimes broken
- use start/end instead of left/right ...

Change-Id: I5e6bd49c10f9730e297694ceeb7a6996a732e3a0
2014-07-16 22:40:22 +00:00
Christopher Tate
c295a44336 Merge "Always call finishBackup() if performFullBackup() succeeded" into lmp-dev 2014-07-16 16:25:13 +00:00
Christopher Tate
a176d22110 Always call finishBackup() if performFullBackup() succeeded
Even if we later get an error from sendBackupData() we need to give
the transport its teardown callback.  This simplifies the transport
logic considerably.

Change-Id: Ib8c0e210d4a876ee6b083a4d619dfccc462da4e5
2014-07-16 13:10:58 -07:00
Jeff Sharkey
c0844bef3e Merge "Install sessions only inherit APK files." into lmp-dev 2014-07-16 16:25:13 +00:00
Jeff Sharkey
9a445771f5 Install sessions only inherit APK files.
Also track historical install sessions for debugging purposes.  Hide
signature verification API for now.  Clear code cache only after
killing the app being upgraded.

Bug: 14975160
Change-Id: I52fc7f11d2506f792236d8a365c8cfed21b46c30
2014-07-16 13:38:09 -07:00
Jae Seo
54892c8b81 Merge "Implement TvContentRating" into lmp-dev 2014-07-15 20:35:01 +00:00
Sungsoo Lim
e16873467c Implement TvContentRating
Added a class that represents TV content ratings that are used for
parental controls. TV input services are required to create
TvContentRating objects with rating/sub-rating constants for specific
countries (for now US and KR only) defined in this class and then
convert them into strings in order to store them in the EPG database.

Bug: 13172379
Change-Id: I6200cb12fbc274dd0a8bcb87a8ac3cd2d96791db
2014-07-15 22:11:21 -07:00
Jeff Sharkey
53b9e2a752 Merge "Parse more split APK manifest details." into lmp-dev 2014-07-15 20:35:01 +00: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
Chelsea Derrick
aae688023a Merge "Changes in framework for WIFI_CREDENTIAL_CHANGE broadcast. [DO NOT MERGE]" into lmp-dev 2014-07-15 20:35:01 +00:00
Fabrice Di Meglio
4670a24686 Fix #16348486 [RTL] Checkboxes are improperly aligned
- use "end" instead of "right" for gravity

Change-Id: I2f8840094b7ac6daeff55bcb457b6c3fa9dc2001
2014-07-16 22:17:36 +00:00
Wenchao Tong
cdd5858e48 Changes in framework for WIFI_CREDENTIAL_CHANGE broadcast. [DO NOT MERGE]
* Only allow system app to send/receive
  WIFI_CREDENTIAL_CHANGE.
* Define constants in WifiManager.

Bug: 15703353
Change-Id: I4bcc6bc82ec01952500eef3965cf81116bba693d
(cherry picked from commit f4a43f196e1132968a8add60efa4ae4558f8b010)
2014-07-16 22:16:56 +00:00
Alan Viverette
a51cab9288 Fix software dirty region, don't add insets to software windows
BUG: 16324957
Change-Id: Ia99619b7c314fbfce60a5ef8ac16b54680332899
2014-07-16 22:16:36 +00:00
Yigit Boyar
dd223e612c Merge "Change Animators to reset values when restarted if their target changes" into lmp-dev 2014-07-16 16:25:13 +00:00
Yigit Boyar
8619f48fb3 Change Animators to reset values when restarted if their target changes
Bug: 15710503
Change-Id: Ib39bf0e13199978ffb389111c225beb30312c965
2014-07-16 14:39:25 -07:00
John Reck
514a8b88f7 Merge "Fix root RenderNode damage calculation" into lmp-dev 2014-07-16 02:20:34 +00:00
John Reck
0a97330b98 Fix root RenderNode damage calculation
Bug: 15888445

Change-Id: I281ec9271c9889673dcdfcb6d31e341a7b47b7de
2014-07-16 13:55:14 -07:00
Stuart Scott
7c673820d7 Merge "MSIM: dump sub specific info" into lmp-dev 2014-07-16 02:34:24 +00:00
kmccormick
d40fa4276e am 1f4e5686: am 289d3c25: am fc8a3b5f: Merge "Doc Update: new Smack sample." into klp-modular-docs
* commit '1f4e56869c47a8ef68ef83b7693a0f93ad21c984':
  Doc Update: new Smack sample.
2014-07-16 21:44:50 +00:00
David Friedman
9fbd54a6a3 am 8b51d07f: am a827c738: am 046702ba: A linebreak had somehow wrongly replaced a blank space. Blank space restored.
* commit '8b51d07ffa87cf77b0793ee851e30da0ca8ba857':
  A linebreak had somehow wrongly replaced a blank space. Blank space restored.
2014-07-16 21:44:41 +00:00
Sailesh Nepal
001bbbb239 TTY: frameworks/base changes
This CL makes the following changes:
  1. New public APIs:
    - TelecommManager.getCurrentTtyMode: This is used to
      get current TTY mode. It's used by Telephony to set
      the phone state before calls are created (which is why
      it can't be a Conneciton API).
    - TelecommConstants.TTY_MODE_*: These are constants
      copied from Phone.java
    - TelecommConstants.ACTION_CURRENT_TTY_MODE_CHANGED: This
      action is fired when the current TTY mode changes.
      Apps can listen to this before and during a call.
      The old version of this was in TtyIntent.java which
      I deleted.

  2. New private API
    - TelecommManager.isTtySupported: This is used by
      Telephony to hide the TTY settings on devices
      that don't support TTY

  3. Various updates to use the constants renamed in this CL

Change-Id: I652b095af30cc2732a06829dc23492e5355660da
2014-07-16 21:14:58 +00:00
Sandeep Gutta
2f32ac25e9 MSIM: dump sub specific info
Add support to dump subscription specific info
in TelephonyRegistry.

Clean cherrypick from partner repo.

Change-Id: I8f9471ef76de95f96943b3d89156a2fc1a041360
2014-07-16 14:09:48 -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