OSDN Git Service

android-x86/frameworks-base.git
10 years agoCEC: Make sure CEC switch info is always updated
Jinsuk Kim [Mon, 11 Aug 2014 02:56:58 +0000 (11:56 +0900)]
CEC: Make sure CEC switch info is always updated

The CEC switch information was not updated as expected if
Device Discovery action is in progress. Refactored to have the
update routine gets called regardless of the presence of action.

Conflicts:
services/core/java/com/android/server/hdmi/HdmiCecLocalDeviceTv.java

Bug: 16931883
Change-Id: I629e8b646bef54599c1a706bf1c797ecebf8616b

10 years agoFixed a bug in the notification stack algorithm
Selim Cinek [Mon, 11 Aug 2014 20:32:57 +0000 (22:32 +0200)]
Fixed a bug in the notification stack algorithm

Bad holes could occur when a notification was at the same time in
the top and the bottom stack. This also improves the landscape /
smallscreen interaction with the shade.

Bug: 16715133
Change-Id: Icbb4d080e658f4ddbd39b7d08652ca5311a47978

10 years agoMerge branch 'lmp-dev' of sso://googleplex-android.git.corp.google.com/platform/frame...
Geoff Mendal [Mon, 11 Aug 2014 20:31:17 +0000 (13:31 -0700)]
Merge branch 'lmp-dev' of sso://googleplex-android.git.corp.google.com/platform/frameworks/base into lmp-dev

10 years agoDon't double count the left/top when using bitmap cache in VectorDrawable.
Geoff Mendal [Mon, 11 Aug 2014 20:30:55 +0000 (13:30 -0700)]
Don't double count the left/top when using bitmap cache in VectorDrawable.

bug:16861184

Change-Id: I0530602957a434b222725b6fcbc1af165ee05835

Merge commit 'refs/changes/18/520718/4' of persistent-https://googleplex-android.git.corp.google.com/platform/frameworks/base into lmp-dev

10 years agocamera2: (legacy) Fix the comparison for fixed-focus cameras
Igor Murashkin [Sat, 9 Aug 2014 00:40:17 +0000 (17:40 -0700)]
camera2: (legacy) Fix the comparison for fixed-focus cameras

* Use #equals instead of == for string comparison
* Also make sure lens.info.minimumFocusDistance shows up in
  CameraCharacteristics#getKeys() for fixed-focus cameras

Bug: 16900875
Change-Id: I3b9248c5cb62ddcfb13587c6349525e145e353ac

10 years agocamera: (LEGACY) - Add captureIntent and physicalSize metadata
Igor Murashkin [Fri, 8 Aug 2014 23:44:34 +0000 (16:44 -0700)]
camera: (LEGACY) - Add captureIntent and physicalSize metadata

Bug: 16900182
Change-Id: I159f2416da71c2d7ea803d61b63476da90e03b1c

10 years agocamera: (Legacy) Add support for SCENE_MODE == FACE_PRIORITY
Igor Murashkin [Fri, 8 Aug 2014 21:02:36 +0000 (14:02 -0700)]
camera: (Legacy) Add support for SCENE_MODE == FACE_PRIORITY

Bug: 16898478
Change-Id: I4306f6380ea06e8bd95af8738e5dde1a42a8098c

10 years agoMerge "Copy fonts.xml to /system/etc" into lmp-dev
Raph Levien [Mon, 11 Aug 2014 19:56:04 +0000 (19:56 +0000)]
Merge "Copy fonts.xml to /system/etc" into lmp-dev

10 years agoMerge "QS: Update user switcher details" into lmp-dev
Adrian Roos [Mon, 11 Aug 2014 19:29:36 +0000 (19:29 +0000)]
Merge "QS: Update user switcher details" into lmp-dev

10 years agoQS: Update user switcher details
Adrian Roos [Mon, 11 Aug 2014 18:36:01 +0000 (20:36 +0200)]
QS: Update user switcher details

- Update icon colors to white
- Change label for adding a guest

Bug: 16897120
Bug: 16898990

Change-Id: I0541d35df8c03bfeb3ee931d8074a7fe1064b2db

10 years agoMerge "Updating accessibility message for Recents activity. (Bug 15570522)" into...
Winson Chung [Mon, 11 Aug 2014 19:23:51 +0000 (19:23 +0000)]
Merge "Updating accessibility message for Recents activity. (Bug 15570522)" into lmp-dev

10 years agoUpdating accessibility message for Recents activity. (Bug 15570522)
Winson Chung [Mon, 11 Aug 2014 17:43:22 +0000 (10:43 -0700)]
Updating accessibility message for Recents activity. (Bug 15570522)

Change-Id: Iaaedb9a66b2160015b304863a00fbefdfb0e10ea

10 years agoMerge "Tweaking empty recents text. (Bug 16711522)" into lmp-dev
Winson Chung [Mon, 11 Aug 2014 19:23:44 +0000 (19:23 +0000)]
Merge "Tweaking empty recents text. (Bug 16711522)" into lmp-dev

10 years agoInitial changes to support swiping on the nav bar to switch affiliated tasks.
Winson Chung [Fri, 8 Aug 2014 19:53:09 +0000 (12:53 -0700)]
Initial changes to support swiping on the nav bar to switch affiliated tasks.

- Actual sideways animations to come once they've been finalized

Bug: 16846966
Change-Id: If6d40495498197a86a98f9b03f54ced3d2baf64a

10 years agoTweaking empty recents text. (Bug 16711522)
Winson Chung [Fri, 8 Aug 2014 20:04:53 +0000 (13:04 -0700)]
Tweaking empty recents text. (Bug 16711522)

Change-Id: I338e2add6e4a46551ce7d52e873f332979b194e1

10 years agoMerge "Make simple user switcher notice setting changes." into lmp-dev
Jason Monk [Mon, 11 Aug 2014 19:16:13 +0000 (19:16 +0000)]
Merge "Make simple user switcher notice setting changes." into lmp-dev

10 years agoam 18718444: am 97dbb136: am 6bb49e4a: Merge "docs: Fixed minor issue with Studio...
Ricardo Cervera [Mon, 11 Aug 2014 19:15:02 +0000 (19:15 +0000)]
am 18718444: am 97dbb136: am 6bb49e4a: Merge "docs: Fixed minor issue with Studio shortcuts" into klp-modular-docs

* commit '18718444b99b4b631021d5452161c7338cb99473':
  docs: Fixed minor issue with Studio shortcuts

10 years agoMake simple user switcher notice setting changes.
Jason Monk [Mon, 11 Aug 2014 17:42:32 +0000 (13:42 -0400)]
Make simple user switcher notice setting changes.

To do this just check the state from the controller (which listens
for changes), rather than holding state locally.

Bug: 16888009
Change-Id: Ifdbf0055c7aa100941c6504cf3f469031c9c6e43

10 years agoDon't double count the left/top when using bitmap cache in VectorDrawable.
ztenghui [Fri, 8 Aug 2014 17:48:22 +0000 (10:48 -0700)]
Don't double count the left/top when using bitmap cache in VectorDrawable.

bug:16861184

Change-Id: I0530602957a434b222725b6fcbc1af165ee05835

10 years agoMerge "Fix shared library bug in bag attributes" into lmp-dev
Adam Lesinski [Mon, 11 Aug 2014 17:49:50 +0000 (17:49 +0000)]
Merge "Fix shared library bug in bag attributes" into lmp-dev

10 years agoMerge "Changed the color of low-priority notifications" into lmp-dev
Selim Cinek [Mon, 11 Aug 2014 17:28:37 +0000 (17:28 +0000)]
Merge "Changed the color of low-priority notifications" into lmp-dev

10 years agoMerge "Fixed an animation bug with inline view updates" into lmp-dev
Selim Cinek [Mon, 11 Aug 2014 17:28:25 +0000 (17:28 +0000)]
Merge "Fixed an animation bug with inline view updates" into lmp-dev

10 years agoMerge "Remove direct field access from event payload" into lmp-dev
Sandeep Siddhartha [Mon, 11 Aug 2014 17:15:57 +0000 (17:15 +0000)]
Merge "Remove direct field access from event payload" into lmp-dev

10 years agoMerge "Add debugging info to VIS via dump()" into lmp-dev
Sandeep Siddhartha [Mon, 11 Aug 2014 17:14:55 +0000 (17:14 +0000)]
Merge "Add debugging info to VIS via dump()" into lmp-dev

10 years agoRemove direct field access from event payload
Sandeep Siddhartha [Sat, 9 Aug 2014 01:29:43 +0000 (18:29 -0700)]
Remove direct field access from event payload

Change-Id: I0b4462e56a977bfbaaebd2dd31d9246051af1b99

10 years agoBlock access to call logs from the corp profile
Yorke Lee [Sun, 10 Aug 2014 20:52:21 +0000 (13:52 -0700)]
Block access to call logs from the corp profile

Bug: 16812842
Change-Id: Ie4342b5efb2419097c35c0ddebd486a098cea523

10 years agoAdd debugging info to VIS via dump()
Sandeep Siddhartha [Fri, 8 Aug 2014 22:28:46 +0000 (15:28 -0700)]
Add debugging info to VIS via dump()

Change-Id: I9e8f4536de309256db835b30d94765bfc27d4e80

10 years agoFix shared library bug in bag attributes
Adam Lesinski [Fri, 8 Aug 2014 22:32:40 +0000 (15:32 -0700)]
Fix shared library bug in bag attributes

A ResTable_map entry has a name attribute, which
could be a dynamic reference if it comes from
a shared library. It was not being patched with
the correct package id.

Bug:16795890
Change-Id: Ia8df6a943269b2fefb2132c3ed74eb1997d7701b

10 years agoCopy fonts.xml to /system/etc
Raph Levien [Mon, 11 Aug 2014 15:48:41 +0000 (08:48 -0700)]
Copy fonts.xml to /system/etc

This patch actually copies the new font config file to the /system/etc
directory on the device, where frameworks and apps will be able to read
it.

Bug: 14538154
Change-Id: I53a932210763b718f469d80cc92816edf4e5b14e

10 years agoChanged the color of low-priority notifications
Selim Cinek [Mon, 11 Aug 2014 15:48:57 +0000 (17:48 +0200)]
Changed the color of low-priority notifications

Bug: 16010701
Change-Id: I7afc351a5a669bbb71b2620afe310b250da66b77

10 years agoFixed an animation bug with inline view updates
Selim Cinek [Mon, 11 Aug 2014 15:35:48 +0000 (17:35 +0200)]
Fixed an animation bug with inline view updates

The height is now updated in an animated fashion.

Bug: 16947659
Change-Id: I4e89e6ca78f8d3c0f1e6f7eb61134a394c6d7d73

10 years agoAdd configuration flag controlling whether IMS can be completely disabled.
Etan Cohen [Fri, 8 Aug 2014 22:44:23 +0000 (15:44 -0700)]
Add configuration flag controlling whether IMS can be completely disabled.

Change-Id: I70e6fc163d65bba7d1260df0acb74ca614e54b68

10 years agoam 97dbb136: am 6bb49e4a: Merge "docs: Fixed minor issue with Studio shortcuts" into...
Ricardo Cervera [Mon, 11 Aug 2014 15:22:03 +0000 (15:22 +0000)]
am 97dbb136: am 6bb49e4a: Merge "docs: Fixed minor issue with Studio shortcuts" into klp-modular-docs

* commit '97dbb136473b18a6d7171577ef2a7136819b4a18':
  docs: Fixed minor issue with Studio shortcuts

10 years agoam 6bb49e4a: Merge "docs: Fixed minor issue with Studio shortcuts" into klp-modular...
Ricardo Cervera [Mon, 11 Aug 2014 15:17:27 +0000 (15:17 +0000)]
am 6bb49e4a: Merge "docs: Fixed minor issue with Studio shortcuts" into klp-modular-docs

* commit '6bb49e4ae629e3740cd3a623fcc115f895f3188c':
  docs: Fixed minor issue with Studio shortcuts

10 years agoMerge "Make Test Voice Interactor support new requirements." into lmp-dev
Barnaby James [Mon, 11 Aug 2014 14:31:39 +0000 (14:31 +0000)]
Merge "Make Test Voice Interactor support new requirements." into lmp-dev

10 years agoMerge "Fix NPEs when inflating a ValueAnimator." into lmp-dev
Craig Stout [Mon, 11 Aug 2014 15:12:29 +0000 (15:12 +0000)]
Merge "Fix NPEs when inflating a ValueAnimator." into lmp-dev

10 years agoMake Test Voice Interactor support new requirements.
Barnaby James [Sat, 9 Aug 2014 21:10:14 +0000 (14:10 -0700)]
Make Test Voice Interactor support new requirements.

Add settings activity and stub RecognizerService to voice interactor test.

Change-Id: I3c3dda7d2c30eac5e0b889c0c7305dc8f4dfbcb9

10 years agoMerge "Added Tunneled video playback support to MediaCodec" into lmp-dev
Rachad [Sat, 9 Aug 2014 04:56:24 +0000 (04:56 +0000)]
Merge "Added Tunneled video playback support to MediaCodec" into lmp-dev

10 years agoAdded Tunneled video playback support to MediaCodec
Rachad [Wed, 30 Jul 2014 00:20:48 +0000 (17:20 -0700)]
Added Tunneled video playback support to MediaCodec

Bug:16132368
Change-Id: I8c28cd9fbf3ca2d441f5ffa6892fbc5f70184908

10 years agoMerge "AAPT support for feature splits" into lmp-dev
Adam Lesinski [Sat, 9 Aug 2014 01:48:35 +0000 (01:48 +0000)]
Merge "AAPT support for feature splits" into lmp-dev

10 years agoMerge "docs: Fixed minor issue with Studio shortcuts" into klp-modular-docs
Ricardo Cervera [Mon, 11 Aug 2014 15:13:54 +0000 (15:13 +0000)]
Merge "docs: Fixed minor issue with Studio shortcuts" into klp-modular-docs

10 years agoMerge "QS: Fix some QS layout issues." into lmp-dev
John Spurlock [Mon, 11 Aug 2014 14:27:09 +0000 (14:27 +0000)]
Merge "QS: Fix some QS layout issues." into lmp-dev

10 years agoQS: Fix some QS layout issues.
John Spurlock [Sun, 10 Aug 2014 22:04:16 +0000 (18:04 -0400)]
QS: Fix some QS layout issues.

- Make the tile list configurable for testing.
- Support an external tile backed by a sticky broadcast intent.
- Ensure tiles clean up properly when no longer needed.

Bug:16818269
Bug:16822505
Change-Id: Ie24f878aae0d19c7f1feca4c519d10667023bef3

10 years agoMerge "Ensure that custom label isn't empty" into lmp-dev
Jae Seo [Mon, 11 Aug 2014 14:21:43 +0000 (14:21 +0000)]
Merge "Ensure that custom label isn't empty" into lmp-dev

10 years agoEnsure that custom label isn't empty
Jaewan Kim [Sun, 10 Aug 2014 13:52:38 +0000 (22:52 +0900)]
Ensure that custom label isn't empty

This also changes getHiddenTvInputIds to return mutable ArrayList.

Bug: 16876078
Change-Id: Ib84a071e7a7cf390ac4f9cf69f3d8daf218d657d

10 years agoPass the name of the native bridge library to the runtime
Calin Juravle [Thu, 7 Aug 2014 13:45:53 +0000 (14:45 +0100)]
Pass the name of the native bridge library to the runtime

Bug: 16843953

(cherry picked from commit 2f4cf2cfd1125abfe928d6137f3d1553b0888f61)

Change-Id: I223f9041e424be024265e46bcff19cd9dfd18dfc

10 years agoMerge "Unhide WifiPasspointManager for ANQP APIs - DO NOT MERGE" into lmp-dev
Vinit Deshpande [Sun, 10 Aug 2014 22:00:30 +0000 (22:00 +0000)]
Merge "Unhide WifiPasspointManager for ANQP APIs - DO NOT MERGE" into lmp-dev

10 years agoUnhide WifiPasspointManager for ANQP APIs - DO NOT MERGE
Vinit Deshpande [Fri, 8 Aug 2014 21:46:56 +0000 (14:46 -0700)]
Unhide WifiPasspointManager for ANQP APIs - DO NOT MERGE

This is unhiding some unwanted changes too; but we'll fix that later.

Change-Id: I35343815e99aafbec8e4ef4d0707499fb6219457

10 years agoMerge "Removing the personal icon, which was only a placeholder." into lmp-dev
Nicolas Prevot [Mon, 11 Aug 2014 12:46:52 +0000 (12:46 +0000)]
Merge "Removing the personal icon, which was only a placeholder." into lmp-dev

10 years agoRemoving the personal icon, which was only a placeholder.
Nicolas Prevot [Mon, 11 Aug 2014 11:19:14 +0000 (12:19 +0100)]
Removing the personal icon, which was only a placeholder.

This icon should never show up: the avatar of the personal space should show up instead.

If something goes wrong and correct avatar fails to show, the systems falls back to the green android now, which is desired behaviour.

BUG: 15875652

Change-Id: I41beb4cbd5e707d27ef6d4cf35d02ec9cfa1b61d

10 years agoMerge "GID-based permissions are defined by "android"." into lmp-dev
Jeff Sharkey [Sun, 10 Aug 2014 23:12:14 +0000 (23:12 +0000)]
Merge "GID-based permissions are defined by "android"." into lmp-dev

10 years agoGID-based permissions are defined by "android".
Jeff Sharkey [Sun, 10 Aug 2014 20:57:45 +0000 (13:57 -0700)]
GID-based permissions are defined by "android".

This matches all other permissions defined by framework-res.apk,
instead of leaving it null.

Bug: 16907551
Change-Id: I7e2d671443d987906b2f29aa1579bef6380e8a52

10 years agoMerge "Use thread safe set for RemoteConnection.mListeners" into lmp-dev
Sailesh Nepal [Sun, 10 Aug 2014 02:50:35 +0000 (02:50 +0000)]
Merge "Use thread safe set for RemoteConnection.mListeners" into lmp-dev

10 years agoUse thread safe set for RemoteConnection.mListeners
Sailesh Nepal [Sat, 9 Aug 2014 23:36:35 +0000 (16:36 -0700)]
Use thread safe set for RemoteConnection.mListeners

Switch from HashSet to set backed by a ConcurrentHashMap to prevent
ConcurrentModificationExceptions.

Bug: 16901565
Change-Id: I7666ef61e94994963b2c2634a9a250365e753888

10 years agoFix issues 16739817 and 16709247 in voice interaction service.
Dianne Hackborn [Sat, 9 Aug 2014 00:35:50 +0000 (17:35 -0700)]
Fix issues 16739817 and 16709247 in voice interaction service.

Issue #16739817 VIS doesn't start for non-primary user(s)
Issue #16709247 GSA is not the default voice interaction agent

These are both fixed by getting rid of the existing code for applying
the default voice recognizer, moving it in to the voice interaction
manager service, and extending it to also set up the default voice
interaction service.

Change-Id: If8d5936c28aebfa7eff77c8d99241c3a2ffdb0a4

10 years agoMerge "Remove constants for VOICE_CONTROL_ZEN_MODE." into lmp-dev
Barnaby James [Sat, 9 Aug 2014 19:55:55 +0000 (19:55 +0000)]
Merge "Remove constants for VOICE_CONTROL_ZEN_MODE." into lmp-dev

10 years agoRemove constants for VOICE_CONTROL_ZEN_MODE.
Barnaby James [Sat, 9 Aug 2014 05:48:35 +0000 (22:48 -0700)]
Remove constants for VOICE_CONTROL_ZEN_MODE.

Change-Id: I197d68e66d9a1b197e7c35fd140101458cf5bfc7

10 years agoMerge "Adding camera failure/ready session events." into lmp-dev
Tyler Gunn [Sun, 10 Aug 2014 02:12:41 +0000 (02:12 +0000)]
Merge "Adding camera failure/ready session events." into lmp-dev

10 years agoAdding camera failure/ready session events.
Tyler Gunn [Fri, 8 Aug 2014 22:22:40 +0000 (15:22 -0700)]
Adding camera failure/ready session events.

The VT provider can use these to inform In-Call of a camera failure and
the camera becoming ready again after recovery.

Bug: 16900653
Change-Id: I279176860b30d02f55732b327ac3385eff8d19a8

10 years agoFix NPEs when inflating a ValueAnimator.
Craig Stout [Thu, 7 Aug 2014 22:25:04 +0000 (15:25 -0700)]
Fix NPEs when inflating a ValueAnimator.

Change-Id: I4489b9e80635053792668a2f8032635893fb4afd

10 years agoMerge "Doze: Pulse once when a pickup gesture is received." into lmp-dev
John Spurlock [Sat, 9 Aug 2014 18:41:24 +0000 (18:41 +0000)]
Merge "Doze: Pulse once when a pickup gesture is received." into lmp-dev

10 years agoDoze: Pulse once when a pickup gesture is received.
John Spurlock [Sat, 9 Aug 2014 16:04:36 +0000 (12:04 -0400)]
Doze: Pulse once when a pickup gesture is received.

- If configured, wire up the default sensor of TYPE_PICK_UP_GESTURE
  as a signal to pulse (once) when dozing.
- Extend the duration that a pulse is visible.
- Skip the pre-pulse delay for the sensor signals.

Bug:15863249
Change-Id: I70e39fc5626fef5570ef74464c919427e0721c32

10 years agoMerge "Use thread safe set for adapter set" into lmp-dev
Jay Shrauner [Sat, 9 Aug 2014 16:35:53 +0000 (16:35 +0000)]
Merge "Use thread safe set for adapter set" into lmp-dev

10 years agoSysUI: Null check around ranking map in isAmbient call.
John Spurlock [Sat, 9 Aug 2014 15:10:03 +0000 (11:10 -0400)]
SysUI: Null check around ranking map in isAmbient call.

Bug:16907252
Change-Id: Id21e089b99c1836ac0bbffd205ba89dc05f07b9a

10 years agoUse thread safe set for adapter set
Jay Shrauner [Fri, 8 Aug 2014 23:31:48 +0000 (16:31 -0700)]
Use thread safe set for adapter set

Switch from HashSet to set backed by a ConcurrentHashMap to prevent
ConcurrentModificationExceptions.

Bug:16898286
Change-Id: I5d94b403469e98c5f5431fc1d0ad020985100cfd

10 years agoMerge "Added StatusBarNotification.aidl to frameworks/base/Android.mk" into lmp-dev
Jose Lima [Fri, 8 Aug 2014 23:59:28 +0000 (23:59 +0000)]
Merge "Added StatusBarNotification.aidl to frameworks/base/Android.mk" into lmp-dev

10 years agoAllow singleton providers to accept connections from other users
Amith Yamasani [Fri, 8 Aug 2014 00:58:39 +0000 (17:58 -0700)]
Allow singleton providers to accept connections from other users

This is required for singleton providers like sms log.

Change-Id: Icb18a764c27dc1b43f8b8bcc24c21c91274995fd

10 years agoAdded StatusBarNotification.aidl to frameworks/base/Android.mk
Jose Lima [Fri, 8 Aug 2014 23:09:59 +0000 (16:09 -0700)]
Added StatusBarNotification.aidl to frameworks/base/Android.mk

Change-Id: I98fb4821642e3431bb41506de3d8905f90a40729

10 years agoMerge "Move shared elements to overlay when in a transition group." into lmp-dev
George Mount [Fri, 8 Aug 2014 23:44:53 +0000 (23:44 +0000)]
Merge "Move shared elements to overlay when in a transition group." into lmp-dev

10 years agoMove DocumentsUI settings into overflow menu.
Jeff Sharkey [Fri, 8 Aug 2014 22:10:03 +0000 (15:10 -0700)]
Move DocumentsUI settings into overflow menu.

Also use different strings based on device type to make clearer.

Bug: 13437894
Change-Id: I4053780de2c7197fb45cc53aee7659e9d0d75c0a

10 years agocamera2: Fix TotalCaptureResult#getKeys not to return empty list
Igor Murashkin [Fri, 8 Aug 2014 01:02:51 +0000 (18:02 -0700)]
camera2: Fix TotalCaptureResult#getKeys not to return empty list

Bug: 16680352
Change-Id: Ie6b8a8bff6f9b87d058a21b07eb3447371a62b6b

10 years agoMerge "Second iteration of the UsageStats API" into lmp-dev
Adam Lesinski [Fri, 8 Aug 2014 22:36:37 +0000 (22:36 +0000)]
Merge "Second iteration of the UsageStats API" into lmp-dev

10 years agoSeparate MIME icons for some office formats.
Jeff Sharkey [Fri, 8 Aug 2014 21:46:18 +0000 (14:46 -0700)]
Separate MIME icons for some office formats.

Bug: 12548097
Change-Id: I11808854e0a4fae2636a04f75599e022b4a8440f

10 years agoMore material updates to DocumentsUI.
Jeff Sharkey [Fri, 8 Aug 2014 20:08:56 +0000 (13:08 -0700)]
More material updates to DocumentsUI.

All assets cut as alpha variants so we apply desired tinting at
runtime.  Small script to automatically generate XML resources.

Bug: 1583608216658537
Change-Id: I803b3f0bf6f121194a5445fd1c6600fabaf28f60

10 years agoSecond iteration of the UsageStats API
Adam Lesinski [Mon, 21 Jul 2014 22:25:30 +0000 (15:25 -0700)]
Second iteration of the UsageStats API

Based on feedback from API council, updated the API.
Also added support for querying the event log.

Change-Id: Ibaa008b9e5bd145acdfe8e20c25c2ed2d96be123

10 years agoMove shared elements to overlay when in a transition group.
George Mount [Wed, 9 Jul 2014 00:25:25 +0000 (17:25 -0700)]
Move shared elements to overlay when in a transition group.

Bug 15744995

Change-Id: Icf1ee603de23c7bb3bce3723cb24009e36f153d7

10 years agodocs: Fixed minor issue with Studio shortcuts
Ricardo Cervera [Thu, 7 Aug 2014 20:47:39 +0000 (13:47 -0700)]
docs: Fixed minor issue with Studio shortcuts

See https://code.google.com/p/android/issues/detail?id=74316
Updated keymap for new files and added note on choosing keymaps.

Change-Id: I3c1e1a8ab0f344040ea2627734f7d5959c842799

10 years agoUpdate exception handling for MediaCodec
Andy Hung [Wed, 30 Jul 2014 22:48:21 +0000 (15:48 -0700)]
Update exception handling for MediaCodec

Throw MediaCodec.CodecException (versus IllegalStateException).
Print out status error codes as found (See MediaError.h for details).
Update error code mapping to CryptoException.

Bug: 12034929
Bug: 13976475
Change-Id: I23b951cb06807413f087c238a1d3526659f06e7b

10 years agoMake next activity opaque when media stops
Craig Mautner [Tue, 5 Aug 2014 18:16:41 +0000 (11:16 -0700)]
Make next activity opaque when media stops

Call convertFromTranslucent on next activity when an activity below
it stops playing media.

Fixes bug 14469711.

Change-Id: I7e4346987cb620cb3a8c09096ff3a639cf344679

10 years agoam eab9412b: am 46baa5ff: Merge "docs: Release notes for ADT 23.0.3" into klp-modular...
Ricardo Cervera [Thu, 7 Aug 2014 23:22:44 +0000 (23:22 +0000)]
am eab9412b: am 46baa5ff: Merge "docs: Release notes for ADT 23.0.3" into klp-modular-docs

* commit 'eab9412b1b3fdbf74dee5b05e861707dce628661':
  docs: Release notes for ADT 23.0.3

10 years agoam 46baa5ff: Merge "docs: Release notes for ADT 23.0.3" into klp-modular-docs
Ricardo Cervera [Thu, 7 Aug 2014 23:17:16 +0000 (23:17 +0000)]
am 46baa5ff: Merge "docs: Release notes for ADT 23.0.3" into klp-modular-docs

* commit '46baa5ff7dadad76fc5503a7c2be6d22eb00da57':
  docs: Release notes for ADT 23.0.3

10 years agoam fed4a556: Merge "Move wakelock release to handleMessage" into klp-modular-dev
Prashant Malani [Thu, 7 Aug 2014 22:10:25 +0000 (22:10 +0000)]
am fed4a556: Merge "Move wakelock release to handleMessage" into klp-modular-dev

* commit 'fed4a5565b9318fa1132003ad3599fa42bbefdf0':
  Move wakelock release to handleMessage

10 years agoam a1c9af24: am 6f273458: Merge "docs: remove "developer preview" and point to Androi...
Robert Ly [Thu, 7 Aug 2014 22:04:02 +0000 (22:04 +0000)]
am a1c9af24: am 6f273458: Merge "docs: remove "developer preview" and point to Android-specific doc" into klp-modular-docs

* commit 'a1c9af2438c3b06f190ad9094160e01df395bec2':
  docs: remove "developer preview" and point to Android-specific doc

10 years agoam 6f273458: Merge "docs: remove "developer preview" and point to Android-specific...
Robert Ly [Thu, 7 Aug 2014 21:59:43 +0000 (21:59 +0000)]
am 6f273458: Merge "docs: remove "developer preview" and point to Android-specific doc" into klp-modular-docs

* commit '6f273458fb9de10e07f5876e85f9f80592bf52b2':
  docs: remove "developer preview" and point to Android-specific doc

10 years agoMerge "Validate that the authority of incoming uris matches." into lmp-dev
Nicolas Prevot [Fri, 8 Aug 2014 17:42:21 +0000 (17:42 +0000)]
Merge "Validate that the authority of incoming uris matches." into lmp-dev

10 years agoValidate that the authority of incoming uris matches.
Nicolas Prevot [Thu, 7 Aug 2014 18:23:17 +0000 (19:23 +0100)]
Validate that the authority of incoming uris matches.

BUG: 16864837

Change-Id: I2d4473985777b9525b101c1b02ad2395342b9722

10 years agoMerge "Make WebViewFactory more robust." into lmp-dev
Torne (Richard Coles) [Fri, 8 Aug 2014 17:42:10 +0000 (17:42 +0000)]
Merge "Make WebViewFactory more robust." into lmp-dev

10 years agoMake WebViewFactory more robust.
Torne (Richard Coles) [Fri, 8 Aug 2014 17:24:12 +0000 (18:24 +0100)]
Make WebViewFactory more robust.

Catch and discard any exception thrown in getWebViewNativeLibraryPaths
to avoid the system server crashing if there is something wrong with the
update APK. prepareWebViewInSystemServer(nativePaths) is safe to call
even if nativePaths is null or invalid, and must be called to ensure
that any process waiting for relro processing is unblocked.

Bug: 16894062
Change-Id: I76c759bebcb7c4643fb50979376afea764c859c4

10 years agoMerge "Combine MediaSession Callback and TransportControlsCallback" into lmp-dev
RoboErik [Fri, 8 Aug 2014 17:33:20 +0000 (17:33 +0000)]
Merge "Combine MediaSession Callback and TransportControlsCallback" into lmp-dev

10 years agoCombine MediaSession Callback and TransportControlsCallback
RoboErik [Wed, 6 Aug 2014 20:43:22 +0000 (13:43 -0700)]
Combine MediaSession Callback and TransportControlsCallback

This combines them into a single Callback class and adds default
handling to media buttons to check the available actions and call
one of the other methods if appropriate.

Change-Id: If9897d8cf6d8d8046aa85a646c22382f1db1461b

10 years agoChange URI type metadata back to text
RoboErik [Thu, 7 Aug 2014 23:53:06 +0000 (16:53 -0700)]
Change URI type metadata back to text

Was accidentally changed in a previous CL. We decided against adding
the URI type.

Change-Id: Ifccf0e784d3fe3196e80cca238de6f8c4456e85e

10 years agoMerge "Reduce the frequency of calls to isDexOptNeededInternal." into lmp-dev
Narayan Kamath [Fri, 8 Aug 2014 17:40:57 +0000 (17:40 +0000)]
Merge "Reduce the frequency of calls to isDexOptNeededInternal." into lmp-dev

10 years agoReduce the frequency of calls to isDexOptNeededInternal.
Narayan Kamath [Fri, 8 Aug 2014 12:43:59 +0000 (13:43 +0100)]
Reduce the frequency of calls to isDexOptNeededInternal.

The package manager maintains a set of dexopted instruction
sets as a fast path to avoid calling expensive code. We were
correctly adding elements to that list while performing dexopt,
but were *not* adding elements to the list when isDexOptNeededInternal
told us things were up to date. As a result, we'd hit the slow path
100% of the time on userdebug builds in the steady state, i.e, when
the system did not dexopt anything since boot.

With this change, we make sure isDexOptNeededInternal is called
precisely once per boot in such case.

This patch also fixes broken logic for apps that have multiple
code paths. We must mark the paths as dexopted only if we've
processed all paths.

bug: 16828525
bug: 16868741
Change-Id: Icb59121fe915d892e677d9b7e9a4efd11555ae27

10 years agoMerge "Polish the new cross-profile app widget APIs" into lmp-dev
Svetoslav [Fri, 8 Aug 2014 21:11:49 +0000 (21:11 +0000)]
Merge "Polish the new cross-profile app widget APIs" into lmp-dev

10 years agoPolish the new cross-profile app widget APIs
Svetoslav [Fri, 8 Aug 2014 19:48:06 +0000 (12:48 -0700)]
Polish the new cross-profile app widget APIs

bug:14991269

Change-Id: I5996f8c69a3d151ff1ecd8f19403dd606f588150

10 years agoMerge "New api to sync zen mode state from listeners." into lmp-dev
John Spurlock [Fri, 8 Aug 2014 20:14:21 +0000 (20:14 +0000)]
Merge "New api to sync zen mode state from listeners." into lmp-dev

10 years agoMerge "Update attrs / public.xml for VectorDrawable opacity removal" into lmp-dev
ztenghui [Fri, 8 Aug 2014 21:03:28 +0000 (21:03 +0000)]
Merge "Update attrs / public.xml for VectorDrawable opacity removal" into lmp-dev

10 years agoUpdate attrs / public.xml for VectorDrawable opacity removal
ztenghui [Thu, 7 Aug 2014 23:27:13 +0000 (16:27 -0700)]
Update attrs / public.xml for VectorDrawable opacity removal

bug:16850076

Change-Id: Ib6fea828b14e85cacccc8a901227a8fb068f9121

10 years agoMerge "Exposing taskDescription for apps to read from their own AppTasks. (Bug 168266...
Winson Chung [Fri, 8 Aug 2014 20:53:46 +0000 (20:53 +0000)]
Merge "Exposing taskDescription for apps to read from their own AppTasks. (Bug 16826622)" into lmp-dev

10 years agoExposing taskDescription for apps to read from their own AppTasks. (Bug 16826622)
Winson Chung [Fri, 8 Aug 2014 18:27:10 +0000 (11:27 -0700)]
Exposing taskDescription for apps to read from their own AppTasks. (Bug 16826622)