OSDN Git Service

android-x86/frameworks-base.git
9 years agoSet error code on failed keyset manifest parsing.
dcashman [Fri, 22 May 2015 22:24:40 +0000 (15:24 -0700)]
Set error code on failed keyset manifest parsing.

Bug: 21403585
Change-Id: I6f8e0766d373b1b0451b2abef7af6cbb089e4e0c

9 years agoMerge "Improve reporting to apps of transaction too large failures." into mnc-dev
Dianne Hackborn [Fri, 22 May 2015 18:52:40 +0000 (18:52 +0000)]
Merge "Improve reporting to apps of transaction too large failures." into mnc-dev

9 years agoMerge "Camera2: Implement toString() for camera2 params" into mnc-dev
Chien-Yu Chen [Fri, 22 May 2015 18:15:03 +0000 (18:15 +0000)]
Merge "Camera2: Implement toString() for camera2 params" into mnc-dev

9 years agoam 6e7d2ba8: am fe6d855c: am 16580c9b: am 460bcb54: Merge "frameworks/base/docs:...
Johan Euphrosine [Fri, 22 May 2015 18:10:45 +0000 (18:10 +0000)]
am 6e7d2ba8: am fe6d855c: am 16580c9b: am 460bcb54: Merge "frameworks/base/docs: add jd files for NDK reference" into lmp-docs

* commit '6e7d2ba8095c7c312013ff450dc8396135853e60':
  frameworks/base/docs: add jd files for NDK reference

9 years agoam eae90b80: am ee143ce3: docs: M Preview Program overview, update 2
Joe Fernandez [Fri, 22 May 2015 18:10:40 +0000 (18:10 +0000)]
am eae90b80: am ee143ce3: docs: M Preview Program overview, update 2

* commit 'eae90b806a4a99f3c815113434d7808114db8d07':
  docs: M Preview Program overview, update 2

9 years agoMerge "Disable density scaling for HW canvas" into mnc-dev
Chris Craik [Fri, 22 May 2015 17:57:07 +0000 (17:57 +0000)]
Merge "Disable density scaling for HW canvas" into mnc-dev

9 years agoDisable density scaling for HW canvas
Chris Craik [Thu, 21 May 2015 23:46:53 +0000 (16:46 -0700)]
Disable density scaling for HW canvas

bug:20692121

Change-Id: Ief4514ba55857e183fa281f28e5aceac08d51990

9 years agoCamera2: Implement toString() for camera2 params
Chien-Yu Chen [Wed, 20 May 2015 17:16:59 +0000 (10:16 -0700)]
Camera2: Implement toString() for camera2 params

Implement toString() for BlackLevelPattern, InputConfiguration, and
StreamConfigurationMap.

Bug: 16899576
Change-Id: Ide1cf103f3282750653ce7bdc29c0b74920d4855

9 years agoMerge "sound trigger: fix wrong field type in JNI" into mnc-dev
Eric Laurent [Fri, 22 May 2015 17:36:39 +0000 (17:36 +0000)]
Merge "sound trigger: fix wrong field type in JNI" into mnc-dev

9 years agosound trigger: fix wrong field type in JNI
Eric Laurent [Fri, 22 May 2015 17:30:13 +0000 (10:30 -0700)]
sound trigger: fix wrong field type in JNI

Bug: 20951546.
Change-Id: I44f6dd05888e335a70bd212eb6f9c468a338ff92

9 years agoMerge "Use factory methods for RestrictionEntry" into mnc-dev
Fyodor Kupolov [Fri, 22 May 2015 16:21:19 +0000 (16:21 +0000)]
Merge "Use factory methods for RestrictionEntry" into mnc-dev

9 years agoMerge "MediaPlayer: add mPreparing to weed out unwanted prepared messages" into mnc-dev
Robert Shih [Fri, 22 May 2015 16:02:05 +0000 (16:02 +0000)]
Merge "MediaPlayer: add mPreparing to weed out unwanted prepared messages" into mnc-dev

9 years agoMerge "Remove the 5 sec timeout logic for setVolumeControlStream" into mnc-dev
Jean-Michel Trivi [Fri, 22 May 2015 15:51:34 +0000 (15:51 +0000)]
Merge "Remove the 5 sec timeout logic for setVolumeControlStream" into mnc-dev

9 years agoam fe6d855c: am 16580c9b: am 460bcb54: Merge "frameworks/base/docs: add jd files...
Johan Euphrosine [Fri, 22 May 2015 15:37:49 +0000 (15:37 +0000)]
am fe6d855c: am 16580c9b: am 460bcb54: Merge "frameworks/base/docs: add jd files for NDK reference" into lmp-docs

* commit 'fe6d855cf3239558f780f91ded6679f54cd47661':
  frameworks/base/docs: add jd files for NDK reference

9 years agoam 16580c9b: am 460bcb54: Merge "frameworks/base/docs: add jd files for NDK reference...
Johan Euphrosine [Fri, 22 May 2015 15:27:01 +0000 (15:27 +0000)]
am 16580c9b: am 460bcb54: Merge "frameworks/base/docs: add jd files for NDK reference" into lmp-docs

* commit '16580c9bb4ef4cad1f5d59402a855189decb56ba':
  frameworks/base/docs: add jd files for NDK reference

9 years agoSettingsLib: Fix wifi crash during settings index
Jason Monk [Fri, 22 May 2015 15:25:04 +0000 (11:25 -0400)]
SettingsLib: Fix wifi crash during settings index

and test it

Bug: 21365029
Change-Id: I9a914773577dcbe591b41c9114ba4d078b5e7369

9 years agoam 460bcb54: Merge "frameworks/base/docs: add jd files for NDK reference" into lmp...
Johan Euphrosine [Fri, 22 May 2015 15:15:51 +0000 (15:15 +0000)]
am 460bcb54: Merge "frameworks/base/docs: add jd files for NDK reference" into lmp-docs

* commit '460bcb54d58b8eec86504d2b4518267a69d5eb16':
  frameworks/base/docs: add jd files for NDK reference

9 years agoMerge "frameworks/base/docs: add jd files for NDK reference" into lmp-docs
Johan Euphrosine [Fri, 22 May 2015 14:39:33 +0000 (14:39 +0000)]
Merge "frameworks/base/docs: add jd files for NDK reference" into lmp-docs

9 years agoMerge "Update the PROCESS_TEXT action javadoc to include types" into mnc-dev
Clara Bayarri [Fri, 22 May 2015 10:24:55 +0000 (10:24 +0000)]
Merge "Update the PROCESS_TEXT action javadoc to include types" into mnc-dev

9 years agoam ee143ce3: docs: M Preview Program overview, update 2
Joe Fernandez [Fri, 22 May 2015 04:29:13 +0000 (04:29 +0000)]
am ee143ce3: docs: M Preview Program overview, update 2

* commit 'ee143ce3eca3db788ddff6f21a8aae6471eec5db':
  docs: M Preview Program overview, update 2

9 years agoMerge "Notify only on loss of provisioning." into mnc-dev
Erik Kline [Fri, 22 May 2015 04:22:03 +0000 (04:22 +0000)]
Merge "Notify only on loss of provisioning." into mnc-dev

9 years agodocs: M Preview Program overview, update 2
Joe Fernandez [Fri, 22 May 2015 04:08:41 +0000 (21:08 -0700)]
docs: M Preview Program overview, update 2

Change-Id: If36aa779a29b9ac0a5c36e7ecf4bfe80a25d5ba4

9 years agoNotify only on loss of provisioning.
Erik Kline [Thu, 21 May 2015 07:17:12 +0000 (16:17 +0900)]
Notify only on loss of provisioning.

Lots of code refactoring, include:
    - no longer watch for on-link proxies (only routers and DNS servers)
    - keep track of NUD state of neighbors of interest

Bug: 18581716
Change-Id: Ia7dbef0690daf54f69ffecefc14e1224fd402397

9 years agoMerge "Fix: Insertion handle can be moved just by tapping." into mnc-dev
Keisuke Kuroyanagi [Fri, 22 May 2015 02:28:23 +0000 (02:28 +0000)]
Merge "Fix: Insertion handle can be moved just by tapping." into mnc-dev

9 years agoMerge "BatteryStatsService: Only query bluetooth on demand." into mnc-dev
Adam Lesinski [Fri, 22 May 2015 02:08:54 +0000 (02:08 +0000)]
Merge "BatteryStatsService: Only query bluetooth on demand." into mnc-dev

9 years agoBatteryStatsService: Only query bluetooth on demand.
Adam Lesinski [Thu, 21 May 2015 22:04:18 +0000 (15:04 -0700)]
BatteryStatsService: Only query bluetooth on demand.

Bluetooth was being queried too often, leading to more power
consumption and wakelock time.

Bug:21063567
Bug:21269307
Change-Id: Idddbab46d13016ef8528e095945b7817c12f7266

9 years agoMerge "Fix type-o in fingerprint string messages." into mnc-dev
Jim Miller [Fri, 22 May 2015 02:00:20 +0000 (02:00 +0000)]
Merge "Fix type-o in fingerprint string messages." into mnc-dev

9 years agoFix type-o in fingerprint string messages.
Jim Miller [Fri, 22 May 2015 01:59:10 +0000 (18:59 -0700)]
Fix type-o in fingerprint string messages.

Fixes bug 19561423

Change-Id: I1f7d88884d551b6b1250455cf3ff9496adf34263

9 years agoMerge "Indicate failed scans with EXTRA_RESULTS_UPDATED" into mnc-dev
Vinit Deshpande [Fri, 22 May 2015 01:58:36 +0000 (01:58 +0000)]
Merge "Indicate failed scans with EXTRA_RESULTS_UPDATED" into mnc-dev

9 years agoam 99fd373c: (-s ours) am d4e00d2b: (-s ours) Merge "Revert "Enable VoiceInteractionS...
Griff Hazen [Fri, 22 May 2015 01:50:57 +0000 (01:50 +0000)]
am 99fd373c: (-s ours) am d4e00d2b: (-s ours) Merge "Revert "Enable VoiceInteractionService on watch." DO NOT MERGE ANYWHERE" into lmp-mr1-modular-dev

* commit '99fd373cc66e0b4512b6b32c08c453501482a76e':
  Revert "Enable VoiceInteractionService on watch." DO NOT MERGE ANYWHERE

9 years agoam 77420269: (-s ours) am 5825ad23: (-s ours) Revert "Reduce display device log spam...
Griff Hazen [Fri, 22 May 2015 01:50:45 +0000 (01:50 +0000)]
am 77420269: (-s ours) am 5825ad23: (-s ours) Revert "Reduce display device log spam." DO NOT MERGE ANYWHERE

* commit '77420269fe36e693efd8e78d047a90c7d4fbb66b':
  Revert "Reduce display device log spam." DO NOT MERGE ANYWHERE

9 years agoam 0140854a: am 85dea528: Doc change: updated images, landings, and ndk updates.
Dirk Dougherty [Fri, 22 May 2015 01:50:32 +0000 (01:50 +0000)]
am 0140854a: am 85dea528: Doc change: updated images, landings, and ndk updates.

* commit '0140854a636ed7def204d769dbc4eb7857d009be':
  Doc change: updated images, landings, and ndk updates.

9 years agoam 82120b61: am 5c7dcb30: am 0e7fa9e3: docs: Update the AlwaysOn sample link to point...
Luan Nguyen [Fri, 22 May 2015 01:49:51 +0000 (01:49 +0000)]
am 82120b61: am 5c7dcb30: am 0e7fa9e3: docs: Update the AlwaysOn sample link to point to DAC\'s samples

* commit '82120b618045186f99c0c939934d1ecfc82c9caa':
  docs: Update the AlwaysOn sample link to point to DAC's samples

9 years agoam 18cc51d6: am 23fcc39e: docs: M Preview downloads and SDK Setup pages v2
Joe Fernandez [Fri, 22 May 2015 01:49:43 +0000 (01:49 +0000)]
am 18cc51d6: am 23fcc39e: docs: M Preview downloads and SDK Setup pages v2

* commit '18cc51d6df88f59a442bf2194efd74e1f2e07347':
  docs: M Preview downloads and SDK Setup pages v2

9 years agoam d8573aa5: am dfa79aeb: am d5600855: Merge "docs: Refresh Wearable support library...
Luan Nguyen [Fri, 22 May 2015 01:49:37 +0000 (01:49 +0000)]
am d8573aa5: am dfa79aeb: am d5600855: Merge "docs: Refresh Wearable support library reference for Diamond" into lmp-mr1-ub-docs

* commit 'd8573aa517922431dc1f50575c692b2bc1cb0307':
  docs: Refresh Wearable support library reference for Diamond

9 years agoam f644f702: am 6d592518: am 8b959ee9: Merge "docs: Remove references to Android...
Luan Nguyen [Fri, 22 May 2015 01:49:31 +0000 (01:49 +0000)]
am f644f702: am 6d592518: am 8b959ee9: Merge "docs: Remove references to Android Studio 0.8 beta" into lmp-mr1-ub-docs

* commit 'f644f70208871d54729c74f74727e6083b27f569':
  docs: Remove references to Android Studio 0.8 beta

9 years agoam 6a4d4a46: am 2801c77e: am 606e84cf: Merge "docs: Add Always-On lesson for Wear...
Luan Nguyen [Fri, 22 May 2015 01:49:25 +0000 (01:49 +0000)]
am 6a4d4a46: am 2801c77e: am 606e84cf: Merge "docs: Add Always-On lesson for Wear apps" into lmp-mr1-ub-docs

* commit '6a4d4a46f24389f83c1d1a837d01c76a9effd6e6':
  docs: Add Always-On lesson for Wear apps

9 years agoam 0444253e: am 94587871: am 5ee30ed5: Merge "docs: Add always-on design for wearable...
Luan Nguyen [Fri, 22 May 2015 01:49:19 +0000 (01:49 +0000)]
am 0444253e: am 94587871: am 5ee30ed5: Merge "docs: Add always-on design for wearable activities" into lmp-mr1-ub-docs

* commit '0444253e6911af35db350cc6678dc2b2d020c68c':
  docs: Add always-on design for wearable activities

9 years agoam 479b1c77: am 037c9cac: Merge "Fix build." into cw-d-mr1-dev
Filip Gruszczynski [Fri, 22 May 2015 01:49:03 +0000 (01:49 +0000)]
am 479b1c77: am 037c9cac: Merge "Fix build." into cw-d-mr1-dev

* commit '479b1c77ce7b033f7160614f5a0d7305d1268129':
  Fix build.

9 years agoFix build.
Filip Gruszczynski [Thu, 21 May 2015 02:40:27 +0000 (19:40 -0700)]
Fix build.

Cherry picking because automerger is stuck.

Change-Id: I49f669ee8eed53cf2fc30077cf0a066312865733
(cherry picked from commit c1b736a0cdf41ab5863bfe6901e46c95cc396342)

9 years agoMerge "Fix crash in fingerprint and problem where directory has wrong selinux label...
Jim Miller [Fri, 22 May 2015 01:42:23 +0000 (01:42 +0000)]
Merge "Fix crash in fingerprint and problem where directory has wrong selinux label" into mnc-dev

9 years agoRemove the 5 sec timeout logic for setVolumeControlStream
Jean-Michel Trivi [Fri, 22 May 2015 01:23:57 +0000 (18:23 -0700)]
Remove the 5 sec timeout logic for setVolumeControlStream

Bug 16983918

Change-Id: I65174615d882ea433105862b1ecc50c512979ef9

9 years agoImprove reporting to apps of transaction too large failures.
Dianne Hackborn [Tue, 19 May 2015 23:04:04 +0000 (16:04 -0700)]
Improve reporting to apps of transaction too large failures.

If the app tried to do various things with too much data --
starting an activity, starting a service, sending a broadcast --
this would fairly silently fail with little indication of what
was going on.  Fix this in two ways:

- Now when the native code generates a TransactionTooLargeException,
  it may include an additional message in it telling you how much
  data was in the parcel being sent, to help you understand why
  this happening.

- In all the framework code paths where we call to the system and
  may fail, convert these failures into a a runtime exception and
  rethrow them back to the app so that it will clearly get the
  above message.

Change-Id: I745159b97d3edb6fca86aa09cbc40c1f15a7d128

9 years agoMerge "Add API to track usage time of apps." into mnc-dev
Dianne Hackborn [Fri, 22 May 2015 01:12:43 +0000 (01:12 +0000)]
Merge "Add API to track usage time of apps." into mnc-dev

9 years agoMerge "Clean remaining API related issues." into mnc-dev
Selim Gurun [Fri, 22 May 2015 01:02:12 +0000 (01:02 +0000)]
Merge "Clean remaining API related issues." into mnc-dev

9 years agoClean remaining API related issues.
Selim Gurun [Fri, 22 May 2015 00:24:08 +0000 (17:24 -0700)]
Clean remaining API related issues.

Bug:21063767
Change-Id: Ifb6936699367b4cc1641b74c890856c0b51978d2

9 years agoFix crash in fingerprint and problem where directory has wrong selinux label
Jim Miller [Fri, 22 May 2015 00:02:21 +0000 (17:02 -0700)]
Fix crash in fingerprint and problem where directory has wrong selinux label

Fixes bug 21373942

Change-Id: I860656b0c9e26c038d03d9872c490466dc62d4e7

9 years agoMerge "Prevent ImmersiveModeCling from eating all touches" into mnc-dev
Adrian Roos [Fri, 22 May 2015 00:09:11 +0000 (00:09 +0000)]
Merge "Prevent ImmersiveModeCling from eating all touches" into mnc-dev

9 years agoMerge "resolved conflicts for merge of 47249f2a to mnc-dev" into mnc-dev
Filip Gruszczynski [Fri, 22 May 2015 00:02:47 +0000 (00:02 +0000)]
Merge "resolved conflicts for merge of 47249f2a to mnc-dev" into mnc-dev

9 years agoMerge "Add LayoutLibDelegate for new Bitmap method." into mnc-dev
Deepanshu Gupta [Fri, 22 May 2015 00:01:45 +0000 (00:01 +0000)]
Merge "Add LayoutLibDelegate for new Bitmap method." into mnc-dev

9 years agoAdd API to track usage time of apps.
Dianne Hackborn [Thu, 21 May 2015 01:18:46 +0000 (18:18 -0700)]
Add API to track usage time of apps.

This adds a new ActivityOption for the caller to ask the
system to track the time the user is in the app it launches,
delivering the result when they are done.

The time interval tracked is from when the app launches the
activity until the user leaves that app's flow.  They are
considered to stay in the flow as long as new activities
are being launched or returned to from the original flow,
even if they cross package or task boundaries.  For example,
if the originator starts an activity to view an image, and
while there the user selects to share, which launches gmail
in a new task, and they complete the share, the time during
that entire operation will be included.

The user is considered to complete the operation once they
switch to another activity that is not part of the tracked
flow.  For example, use the notification shade, launcher, or
recents to launch or switch to another app.  Simply going
in to these navigation elements does not break the flow
(although the launcher and recents stops time tracking of
the session), it is the act of going somewhere else that
completes the tracking.

The data is delivered to the app through a PendingIntent,
which includes the total time the app was in the flow along
with a time break-down by app package.

Change-Id: If1cf8892d422c52ec5042eba0e15a8e7e8f83abf

9 years agoMediaPlayer: add mPreparing to weed out unwanted prepared messages
Robert Shih [Thu, 21 May 2015 22:15:50 +0000 (15:15 -0700)]
MediaPlayer: add mPreparing to weed out unwanted prepared messages

Bug: 21266735
Change-Id: Ie4fe76533c9b7f505c57ba63df7992f2490942cc

9 years agoMerge "For getHomeActivity() only return current user." into mnc-dev
Craig Mautner [Thu, 21 May 2015 23:40:26 +0000 (23:40 +0000)]
Merge "For getHomeActivity() only return current user." into mnc-dev

9 years agoThe heads up now have a margin on top and don't stick to the edge
Selim Cinek [Thu, 21 May 2015 23:14:45 +0000 (16:14 -0700)]
The heads up now have a margin on top and don't stick to the edge

Bug: 21337754
Change-Id: I199bc0732df62eadc2458db12a7c1059da988020

9 years agoFixed a crash with HUN notifications
Selim Cinek [Thu, 21 May 2015 19:11:12 +0000 (12:11 -0700)]
Fixed a crash with HUN notifications

Bug: 20925733
Change-Id: Id96c9e476d9faa770b5bcd3c35213dd0debdeaea

9 years agoAdd LayoutLibDelegate for new Bitmap method.
Deepanshu Gupta [Thu, 21 May 2015 23:03:24 +0000 (16:03 -0700)]
Add LayoutLibDelegate for new Bitmap method.

Original method added in: 721ae5fec5f1fd4f93aa2a361a0ac298e15ce353

Change-Id: Ie14d132459638cf103c390fae3f4c0c02bef2f34

9 years agoam d4e00d2b: (-s ours) Merge "Revert "Enable VoiceInteractionService on watch." DO...
Griff Hazen [Thu, 21 May 2015 22:55:23 +0000 (22:55 +0000)]
am d4e00d2b: (-s ours) Merge "Revert "Enable VoiceInteractionService on watch." DO NOT MERGE ANYWHERE" into lmp-mr1-modular-dev

* commit 'd4e00d2b9d29e62b1ad989afb1fe2bfe3b519891':
  Revert "Enable VoiceInteractionService on watch." DO NOT MERGE ANYWHERE

9 years agoam 5825ad23: (-s ours) Revert "Reduce display device log spam." DO NOT MERGE ANYWHERE
Griff Hazen [Thu, 21 May 2015 22:55:18 +0000 (22:55 +0000)]
am 5825ad23: (-s ours) Revert "Reduce display device log spam." DO NOT MERGE ANYWHERE

* commit '5825ad231319207a64debacaa3db4812548b0442':
  Revert "Reduce display device log spam." DO NOT MERGE ANYWHERE

9 years agoMerge "Revert "Enable VoiceInteractionService on watch." DO NOT MERGE ANYWHERE" into...
Griff Hazen [Thu, 21 May 2015 22:43:45 +0000 (22:43 +0000)]
Merge "Revert "Enable VoiceInteractionService on watch." DO NOT MERGE ANYWHERE" into lmp-mr1-modular-dev

9 years agoFor getHomeActivity() only return current user.
Craig Mautner [Thu, 21 May 2015 22:33:30 +0000 (15:33 -0700)]
For getHomeActivity() only return current user.

Previously getHomeActivity() returned the topmost home activity
independent of which user was currently running. That defeated the
purpose of the method. This fix returns the home activity of the
current user or null if one has not yet been created.

Also remove some cruft that accumulated.

Fixes bug 21055376.

Change-Id: Ic1d58129aedbe3624f8a9d12c05c84674687b0a4

9 years agoam 85dea528: Doc change: updated images, landings, and ndk updates.
Dirk Dougherty [Thu, 21 May 2015 22:13:19 +0000 (22:13 +0000)]
am 85dea528: Doc change: updated images, landings, and ndk updates.

* commit '85dea528866217d4b3d40a1162c00c4e836504aa':
  Doc change: updated images, landings, and ndk updates.

9 years agoUse factory methods for RestrictionEntry
Fyodor Kupolov [Thu, 21 May 2015 22:06:44 +0000 (15:06 -0700)]
Use factory methods for RestrictionEntry

As per API council request, factory methods should be used instead of using
boolean.

Bug: 21343772
Change-Id: Ia0889e46916f4ed7edb942217880cdf9c27771c2

9 years agoMerge "Fix phone account component name for voicemail status entries." into mnc-dev
Nancy Chen [Thu, 21 May 2015 22:01:33 +0000 (22:01 +0000)]
Merge "Fix phone account component name for voicemail status entries." into mnc-dev

9 years agoMerge "Do not clear IMM#mCurRootView in IMM#finishInputLocked()." into mnc-dev
Yohei Yukawa [Thu, 21 May 2015 21:47:33 +0000 (21:47 +0000)]
Merge "Do not clear IMM#mCurRootView in IMM#finishInputLocked()." into mnc-dev

9 years agoDo not clear IMM#mCurRootView in IMM#finishInputLocked().
Yohei Yukawa [Thu, 21 May 2015 07:15:05 +0000 (00:15 -0700)]
Do not clear IMM#mCurRootView in IMM#finishInputLocked().

This is a follow up CL for I219394178e4172bc47864297f1418e677dba.

As explained in the commit message of I219394178e4172bc47864297f,
IMM#mCurRootView needs to be synchronized with the actual window
focus more precisely to fix Bug 20820914. Hence we should not
clear IMM#mCurRootView in IMM#finishInputLocked() anymore.
Ideally this CL should have been included in the previous CL.

Manually tested following scenarios.
- Repro steps in Bug 6413553.  Made sure that IMM#mCurRootView
  is cleared after switching back from the current application to
  the previous application with back key.
- Test application that calls WebView#showFindDialog(). Made sure
  that LatinIME works fine when switching text fields.  This is
  non-trivial because android.webkit.FindActionModeCallback is
  changed in the previous CL I219394178e4172bc47864297f1418e677db.
- Repro steps in Bug 21144633.  Made sure that we can enter
  recipient's name in the messaging app.

This CL depends on I219394178e4172bc47864297f1418e677dba25e5.

Bug: 20820914
Change-Id: Id6afc8fc64512225578c62557b96c7dc2e969adf

9 years agoDoc change: updated images, landings, and ndk updates.
Dirk Dougherty [Thu, 21 May 2015 21:20:25 +0000 (14:20 -0700)]
Doc change: updated images, landings, and ndk updates.

Change-Id: If128f8394438471365db6f7c0a42e6b38d25d250

9 years agoRevert "Reduce display device log spam." DO NOT MERGE ANYWHERE
Griff Hazen [Thu, 21 May 2015 21:15:12 +0000 (21:15 +0000)]
Revert "Reduce display device log spam." DO NOT MERGE ANYWHERE

This CL didn't ship with diamond-release, but will make diamond-mr1.

This reverts commit 80fa3fa027c06be0f4bbd3a4ab319914377d883d.

Change-Id: I1b037b6ac6a504235463a36a5dcd152b6a1434f3

9 years agoRevert "Enable VoiceInteractionService on watch." DO NOT MERGE ANYWHERE
Griff Hazen [Thu, 21 May 2015 20:48:59 +0000 (20:48 +0000)]
Revert "Enable VoiceInteractionService on watch." DO NOT MERGE ANYWHERE

This CL didn't ship with diamond-release, but will make diamond-mr1.

This reverts commit c663d99f007c0faa7b66a569ec4083b82d60ef15.

Change-Id: I1430ed7a3221a4f06ad730778c757a68e16b808b

9 years agoAlways tell Keyguard about occluded state
Jorim Jaggi [Thu, 21 May 2015 00:20:40 +0000 (17:20 -0700)]
Always tell Keyguard about occluded state

If there was a window with FLAG_DISMISS_KEYGUARD first, when the
device was unlocked, mWinDismissingKeyguard was set to that window.

Now, a window with FLAG_SHOW_WHEN_LOCKED came on top, so we set the
Keyguard as occluded, but we didn't reset the window that is
dismissing Keyguard.

After that, the old window with FLAG_DISMISS_KEYGUARD was the focused
window again. However, since we didn't reset mWinDismissingKeyguard,
we ended up with DISMISS_KEYGUARD_CONTINUE, and lockscreen was not
occluded anymore. However, we never really told Keyguard about it
because DISMISS_KEYGUARD_CONTINUE was set instead of
DISMISS_KEYGUARD_START.

The first fix of this bug is to always tell Keyguard about the
current occluded state. The second fix is to reset
mWinDismissingKeyguard in case a window SHOW_WHEN_LOCKED comes on top.

Bug: 20102975
Change-Id: I7c778df09a1e393b9eeaf51fd2013012cb40fea9

9 years agoKeep status bar visible when animating in negative heights
Jorim Jaggi [Thu, 21 May 2015 01:42:16 +0000 (18:42 -0700)]
Keep status bar visible when animating in negative heights

So we don't accidentally invoke bouncer and introduce jank
when expanding again.

Bug: 18502113
Change-Id: I0206cf1f48779d0d0fc661cb27852e2d202245ba

9 years agoPrevent ImmersiveModeCling from eating all touches
Adrian Roos [Thu, 21 May 2015 20:27:58 +0000 (13:27 -0700)]
Prevent ImmersiveModeCling from eating all touches

Bug: 21330248
Bug: 19282730
Change-Id: I3982aa9582341032a41670fdf82e0321b84178d2

9 years agoMerge "[mnc-dev] Hide list/grid menu items for copy dest action...in mnc-dev!" into...
Steve McKay [Thu, 21 May 2015 20:27:36 +0000 (20:27 +0000)]
Merge "[mnc-dev] Hide list/grid menu items for copy dest action...in mnc-dev!" into mnc-dev

9 years agoMerge "Close race condition in binderDied()" into mnc-dev
Christopher Tate [Thu, 21 May 2015 20:27:11 +0000 (20:27 +0000)]
Merge "Close race condition in binderDied()" into mnc-dev

9 years agoIndicate failed scans with EXTRA_RESULTS_UPDATED
Vinit Deshpande [Wed, 20 May 2015 21:27:49 +0000 (14:27 -0700)]
Indicate failed scans with EXTRA_RESULTS_UPDATED

This flag indicates if scan was successful and results were
updated. It will be set to false if a scan is not performed
(intentionally) or if it failed to produce any results.

Bug: 20642015

Change-Id: I06a1fdd684932db68891ee28d5a049980f483f0f

9 years ago[mnc-dev] Hide list/grid menu items for copy dest action...in mnc-dev!
Steve McKay [Wed, 20 May 2015 21:07:22 +0000 (14:07 -0700)]
[mnc-dev] Hide list/grid menu items for copy dest action...in mnc-dev!

BUG=21259006
Change-Id: Ic31dfa1a1cffa4340769c08db3e3cb3fb46e31d5
(cherry picked from commit e04e02d027b731448d68995a202c8867c4985fa3)

9 years agoFix phone account component name for voicemail status entries.
Nancy Chen [Tue, 19 May 2015 03:12:21 +0000 (20:12 -0700)]
Fix phone account component name for voicemail status entries.

Currently was using toString(), switch to "flattenToString" so it is
consistent with the call log.

Bug: 20954214

Change-Id: Ia9ed67bf463e4a2d4d9a02e00243d49238be17fe

9 years agoMerge "Fix overflow in NinePatchImpl." into mnc-dev
Leon Scroggins III [Thu, 21 May 2015 19:05:45 +0000 (19:05 +0000)]
Merge "Fix overflow in NinePatchImpl." into mnc-dev

9 years agoMerge "Add documentation about hack in commit: f8ea750455" into mnc-dev
Deepanshu Gupta [Thu, 21 May 2015 18:59:30 +0000 (18:59 +0000)]
Merge "Add documentation about hack in commit: f8ea750455" into mnc-dev

9 years agoFixed a bug where a notification could get below the empty shade view
Selim Cinek [Thu, 21 May 2015 05:13:55 +0000 (22:13 -0700)]
Fixed a bug where a notification could get below the empty shade view

This lead to a temporary flash when a notification came in with
the empty shade view being visible.

Bug: 20972545
Change-Id: I2b06f63dd43bf53bb2d1da0cddb635a709663f71

9 years agoAdd documentation about hack in commit: f8ea750455
Deepanshu Gupta [Thu, 21 May 2015 18:47:36 +0000 (11:47 -0700)]
Add documentation about hack in commit: f8ea750455

Change-Id: I9ce871a67fb67e02e0c4df1eb5c3261ea52a914b

9 years agoProtecting against the correct flag for the input consumer
Selim Cinek [Thu, 21 May 2015 05:48:40 +0000 (22:48 -0700)]
Protecting against the correct flag for the input consumer

Also allow hiding the navbar if immersive or immersivesticky.

Bug: 21089476
Change-Id: I540e668746056a0e4bb077898792afd225e4e19e

9 years agoMerge "Add debug for bug 21055376." into mnc-dev
Craig Mautner [Thu, 21 May 2015 18:34:31 +0000 (18:34 +0000)]
Merge "Add debug for bug 21055376." into mnc-dev

9 years agoam 5c7dcb30: am 0e7fa9e3: docs: Update the AlwaysOn sample link to point to DAC\...
Luan Nguyen [Thu, 21 May 2015 18:26:34 +0000 (18:26 +0000)]
am 5c7dcb30: am 0e7fa9e3: docs: Update the AlwaysOn sample link to point to DAC\'s samples

* commit '5c7dcb3054bef13896631de04aa45fc77782a1c2':
  docs: Update the AlwaysOn sample link to point to DAC's samples

9 years agoMerge "Camera2: Fix spelling mistake" into mnc-dev
Eino-Ville Talvala [Thu, 21 May 2015 18:15:29 +0000 (18:15 +0000)]
Merge "Camera2: Fix spelling mistake" into mnc-dev

9 years agoAdd debug for bug 21055376.
Craig Mautner [Thu, 21 May 2015 18:12:51 +0000 (11:12 -0700)]
Add debug for bug 21055376.

Change-Id: I1e93fb225f2639af031cdfa748a7898f31ad5a94

9 years agoam 0e7fa9e3: docs: Update the AlwaysOn sample link to point to DAC\'s samples
Luan Nguyen [Thu, 21 May 2015 18:12:35 +0000 (18:12 +0000)]
am 0e7fa9e3: docs: Update the AlwaysOn sample link to point to DAC\'s samples

* commit '0e7fa9e32aecdd3d124828ac459ad6c14776c8e4':
  docs: Update the AlwaysOn sample link to point to DAC's samples

9 years agoCamera2: Fix spelling mistake
Eino-Ville Talvala [Thu, 21 May 2015 18:10:51 +0000 (11:10 -0700)]
Camera2: Fix spelling mistake

Change-Id: I8c764d4c2ada34b126cb0097e8eefb710a08e310

9 years agoMerge "Camera2: Fix CaptureRequest @see links" into mnc-dev
Eino-Ville Talvala [Thu, 21 May 2015 18:09:37 +0000 (18:09 +0000)]
Merge "Camera2: Fix CaptureRequest @see links" into mnc-dev

9 years agoMerge "Add intents for enabling phone accounts." into mnc-dev
Santos Cordon [Thu, 21 May 2015 17:32:36 +0000 (17:32 +0000)]
Merge "Add intents for enabling phone accounts." into mnc-dev

9 years agoMerge "Cleanup Keystore API" into mnc-dev
Chad Brubaker [Thu, 21 May 2015 17:26:43 +0000 (17:26 +0000)]
Merge "Cleanup Keystore API" into mnc-dev

9 years agoMerge "Update the documentation for ActionMode.Callback2#onGetContentRect" into mnc-dev
Clara Bayarri [Thu, 21 May 2015 17:24:12 +0000 (17:24 +0000)]
Merge "Update the documentation for ActionMode.Callback2#onGetContentRect" into mnc-dev

9 years agoMerge "Fix application moves." into mnc-dev
Narayan Kamath [Thu, 21 May 2015 17:23:15 +0000 (17:23 +0000)]
Merge "Fix application moves." into mnc-dev

9 years agodocs: Update the AlwaysOn sample link to point to DAC's samples
Luan Nguyen [Thu, 21 May 2015 17:09:24 +0000 (10:09 -0700)]
docs: Update the AlwaysOn sample link to point to DAC's samples

Change-Id: I54e2457009ef561c49a042e2a65fa55808a370bf

9 years agoUpdate the PROCESS_TEXT action javadoc to include types
Clara Bayarri [Thu, 21 May 2015 16:50:08 +0000 (17:50 +0100)]
Update the PROCESS_TEXT action javadoc to include types

Bug: 21343771
Change-Id: If1d64ba121555863022cecc7a7b3d94c866e8715

9 years agoUpdate the documentation for ActionMode.Callback2#onGetContentRect
Clara Bayarri [Thu, 21 May 2015 16:45:19 +0000 (17:45 +0100)]
Update the documentation for ActionMode.Callback2#onGetContentRect

Received feedback from a team that it was not clear what the rect
had to include.

Change-Id: I03ca54ee1092e8af3a2078c42104e1ce88490cd1

9 years agoMerge "Extra for ACTION_RINGTONE_PICKER for AudioAttributes flags" into mnc-dev
Jean-Michel Trivi [Thu, 21 May 2015 16:24:00 +0000 (16:24 +0000)]
Merge "Extra for ACTION_RINGTONE_PICKER for AudioAttributes flags" into mnc-dev

9 years agoMerge "Test for non-null AudioTrack() object in android_media_AudioTrack_setOutputDev...
Paul McLean [Thu, 21 May 2015 16:21:47 +0000 (16:21 +0000)]
Merge "Test for non-null AudioTrack() object in android_media_AudioTrack_setOutputDevice()." into mnc-dev

9 years agoFix overflow in NinePatchImpl.
Leon Scroggins III [Thu, 21 May 2015 13:48:15 +0000 (09:48 -0400)]
Fix overflow in NinePatchImpl.

Cast numXDivs to a size_t before adding 1, so that if numXDivs is 255
it does not overflow. Move the calculation outside of alloca().

BUG:20727488
Change-Id: I2ecc9d650338acba7316554cb72195e02816b1f8

9 years agoTest for non-null AudioTrack() object in android_media_AudioTrack_setOutputDevice().
Paul McLean [Thu, 21 May 2015 15:51:18 +0000 (08:51 -0700)]
Test for non-null AudioTrack() object in android_media_AudioTrack_setOutputDevice().

Change-Id: Ibf77bb0757720aa25eaaf6e603ab446257430453

9 years agoMerge "Fix reading attributes for playback restrictions" into mnc-dev
Jean-Michel Trivi [Thu, 21 May 2015 16:16:10 +0000 (16:16 +0000)]
Merge "Fix reading attributes for playback restrictions" into mnc-dev