OSDN Git Service

android-x86/frameworks-base.git
8 years agoresolve merge conflicts of ac5b340 to nyc-dev
Daniel Yu [Fri, 24 Jun 2016 18:13:40 +0000 (11:13 -0700)]
resolve merge conflicts of ac5b340 to nyc-dev

Change-Id: I3a7af34cdf7656896a3895c61c8c58d6f8f094a0

8 years agoMerge \"docs: Fixing MediaSession note in PIP preview docs\" into mnc-io-docs
Daniel Yu [Fri, 24 Jun 2016 16:37:45 +0000 (16:37 +0000)]
Merge \"docs: Fixing MediaSession note in PIP preview docs\" into mnc-io-docs
am: daaf8e7f1c

Change-Id: I310823425b0706bdf4221e266a87e9c9aa66dd95

8 years agoMerge "docs: Fixing MediaSession note in PIP preview docs" into mnc-io-docs
Dan Yu [Fri, 24 Jun 2016 16:26:11 +0000 (16:26 +0000)]
Merge "docs: Fixing MediaSession note in PIP preview docs" into mnc-io-docs

8 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 24 Jun 2016 15:33:56 +0000 (08:33 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 29578243
Change-Id: Ibfcaf1dcbb2cc51dcec359edb8525a2a56ab1231

8 years agoAlways reapply strings.
Julia Reynolds [Fri, 24 Jun 2016 12:44:57 +0000 (08:44 -0400)]
Always reapply strings.

Change-Id: Icc66d1e23048d2676b5776c3eec76345963228d0
Fixes: 29620816

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
TreeHugger Robot [Fri, 24 Jun 2016 05:44:41 +0000 (05:44 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
TreeHugger Robot [Fri, 24 Jun 2016 05:44:09 +0000 (05:44 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoMerge "Improve ANR dropbox reports" into nyc-dev
Adrian Roos [Fri, 24 Jun 2016 01:57:42 +0000 (01:57 +0000)]
Merge "Improve ANR dropbox reports" into nyc-dev

8 years agoImprove ANR dropbox reports
Adrian Roos [Thu, 23 Jun 2016 23:38:06 +0000 (16:38 -0700)]
Improve ANR dropbox reports

Work towards better diagnosing b/29501073. Adds logic to ensure that the dropbox
entry generated for ANRs fits at least some part of the logcat before the MAX_DROPBOX_SIZE
mark. Also reduces the MAX_DROPBOX_SIZE to be better match size restrictions.

Bug: 29501073
Change-Id: Ice5599582cbb536b7d81aa0c0340ff753ca86ebf

8 years agoAccess internal ringer mode to properly vibrate in DND
Brad Ebinger [Fri, 24 Jun 2016 00:42:30 +0000 (17:42 -0700)]
Access internal ringer mode to properly vibrate in DND

Currently, an incoming call will not vibrate properly in certain cases
in DND mode. Specifically, if Priority Only mode is set, but Calls from
anyone are allowed. We now get the internal ringer mode to detect if the
incoming call is ringing while in DND mode.

Bug: 29184073
Change-Id: I1e0e7cf384a2bc1df1378043cd3f7e9dec57a94c

8 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 24 Jun 2016 00:07:49 +0000 (17:07 -0700)]
Import translations. DO NOT MERGE

Change-Id: If580d6129a5e7b06ee111f866e42b708ebdc7c00
Auto-generated-cl: translation import

8 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 23 Jun 2016 23:34:21 +0000 (16:34 -0700)]
Import translations. DO NOT MERGE

Change-Id: I097961ae9532f937a043293eef06ac0a87ea021c
Auto-generated-cl: translation import

8 years agoDocs: Fixed wrong link text am: 9e9d2c7fba
Hemal Patel [Thu, 23 Jun 2016 22:59:38 +0000 (22:59 +0000)]
Docs: Fixed wrong link text am: 9e9d2c7fba
am: 1727bb369e

Change-Id: I655d77ccdc8586b348bd61309cd8cfba012113b8

8 years agoDocs: Fixed wrong link text
Hemal Patel [Thu, 23 Jun 2016 22:54:30 +0000 (22:54 +0000)]
Docs: Fixed wrong link text
am: 9e9d2c7fba

Change-Id: I0d66075bb75a2f4cc809d2df698c4acec5234187

8 years agoMerge "fix bad contrast in table links by switching to normal table cells instead...
Scott Main [Thu, 23 Jun 2016 21:57:51 +0000 (21:57 +0000)]
Merge "fix bad contrast in table links by switching to normal table cells instead of headings." into nyc-dev

8 years agoMerge "Fix guts are not bound properly." into nyc-dev
TreeHugger Robot [Thu, 23 Jun 2016 21:45:58 +0000 (21:45 +0000)]
Merge "Fix guts are not bound properly." into nyc-dev

8 years agoMerge "HUN: Close RemoteInputView when Home is pressed" into nyc-dev
TreeHugger Robot [Thu, 23 Jun 2016 21:26:33 +0000 (21:26 +0000)]
Merge "HUN: Close RemoteInputView when Home is pressed" into nyc-dev

8 years agoMerge "media: update getAchievableFrameRatesFor javadoc" into nyc-dev
TreeHugger Robot [Thu, 23 Jun 2016 21:25:32 +0000 (21:25 +0000)]
Merge "media: update getAchievableFrameRatesFor javadoc" into nyc-dev

8 years agoMerge "QS: Hacks to fix bigger problems in TileService binding" into nyc-dev
Jason Monk [Thu, 23 Jun 2016 20:52:49 +0000 (20:52 +0000)]
Merge "QS: Hacks to fix bigger problems in TileService binding" into nyc-dev

8 years agoDocs: Fixed wrong link text
Hemal Patel [Thu, 23 Jun 2016 19:08:52 +0000 (12:08 -0700)]
Docs: Fixed wrong link text

Fixed the link text of the
AnimatorInflater.loadStateListAnimator method to display the
correct name of the class.

Bug: 24599015
Change-Id: I914e4152a5999544ff167c54959276180a7a1003

8 years agoFix guts are not bound properly.
Min Yun [Fri, 17 Jun 2016 18:59:24 +0000 (11:59 -0700)]
Fix guts are not bound properly.

When binding importance to guts, applying findViewById
to ExpandableNotificationRow of group's parents could
cause to return the reference of child notications's guts
which also has the same id. As a result guts are
not bound properly, and show weird guts.

Fixes: 29452827
Change-Id: Iaf8ee74b988bf41680857e9c3c3ae9e3bd8e4e1b

8 years agoHUN: Close RemoteInputView when Home is pressed
Adrian Roos [Thu, 23 Jun 2016 18:19:28 +0000 (11:19 -0700)]
HUN: Close RemoteInputView when Home is pressed

CLOSE_SYSTEM_DIALOGS usually dismisses the notification shade,
but that's not the case for HUNs because the shade is not actually
open. However, CLOSE_SYSTEM_DIALOGS will now close the Direct Reply
even with HUNs.

Change-Id: If8e5115e33f93db0f8b4e442331ea3d60fc0c63d
Fixes: 29583313

8 years agoMerge "QS: Fix hotspot refreshing state" into nyc-dev
TreeHugger Robot [Thu, 23 Jun 2016 19:33:16 +0000 (19:33 +0000)]
Merge "QS: Fix hotspot refreshing state" into nyc-dev

8 years agofix bad contrast in table links by switching to normal table cells instead of headings.
smain@google.com [Thu, 23 Jun 2016 19:09:30 +0000 (12:09 -0700)]
fix bad contrast in table links by switching to normal table cells instead of headings.

Change-Id: I91139ac2f01a9e099ffb5f65f4579a0b33ced5ab

8 years agoQS: Hacks to fix bigger problems in TileService binding
Jason Monk [Thu, 23 Jun 2016 18:59:22 +0000 (14:59 -0400)]
QS: Hacks to fix bigger problems in TileService binding

Bug: 29121793
Change-Id: I9cb8d8ee36ce5cc77ba3c11decb1b3a797fd7999

8 years agomedia: update getAchievableFrameRatesFor javadoc
Lajos Molnar [Thu, 23 Jun 2016 16:21:27 +0000 (09:21 -0700)]
media: update getAchievableFrameRatesFor javadoc

Bug: 28752802
Change-Id: I1c04ae7c3f9f15f84ff185af8d8f3c89958f5595

8 years agoMerge "Remove FD from the right Looper" into nyc-dev
John Reck [Thu, 23 Jun 2016 18:32:08 +0000 (18:32 +0000)]
Merge "Remove FD from the right Looper" into nyc-dev

8 years agoMerge "When uninstalling, only kill the requested user." into nyc-dev
TreeHugger Robot [Thu, 23 Jun 2016 18:03:13 +0000 (18:03 +0000)]
Merge "When uninstalling, only kill the requested user." into nyc-dev

8 years agoRemove FD from the right Looper
John Reck [Thu, 23 Jun 2016 17:21:45 +0000 (10:21 -0700)]
Remove FD from the right Looper

Bug: 29586513

Also gives BackdropFrameRenderer a direct-destroy
of Choreographer since it's hammering on new Threads
and we don't want to wait for the GC to release
FDs.

Change-Id: Id2ec0af2ee4d5304961c4ab87a104ccb92f35fc2

8 years agoDocs: Update Auth section of API Overview am: 480b523c8e
Bert McMeen [Thu, 23 Jun 2016 17:31:45 +0000 (17:31 +0000)]
Docs: Update Auth section of API Overview am: 480b523c8e
am: 773ad4f422

Change-Id: Iad796f9112ee003559ccfab899be75b0ab1734f4

8 years agoDocs: Update Auth section of API Overview
Bert McMeen [Thu, 23 Jun 2016 17:26:46 +0000 (17:26 +0000)]
Docs: Update Auth section of API Overview
am: 480b523c8e

Change-Id: I847679daad0f69c196bc26661b49efd2548de87f

8 years agoQS: Fix hotspot refreshing state
Jason Monk [Thu, 23 Jun 2016 17:23:01 +0000 (13:23 -0400)]
QS: Fix hotspot refreshing state

Change-Id: I40e693d154d5481959f63d555191d2c88f3d1b97
Fixes: 29518006

8 years agoDocs: Update Auth section of API Overview
Bert McMeen [Fri, 17 Jun 2016 23:31:01 +0000 (16:31 -0700)]
Docs: Update Auth section of API Overview

Bug: 28268899
Change-Id: I7e52ae0dd6ea189c28a177cd943b008dc75fda9c

8 years agoWhen uninstalling, only kill the requested user.
Jeff Sharkey [Thu, 23 Jun 2016 15:26:00 +0000 (09:26 -0600)]
When uninstalling, only kill the requested user.

When an app is being uninstalled for a specific user, only kill the
app under that user; leave the app running under other users.

Bug: 28875343
Change-Id: Ie60753cfd22df10a2b17d8c3732b6f19d2fe1fb9

8 years agoMerge "Don't loop forever on 0-length options." into nyc-dev
TreeHugger Robot [Thu, 23 Jun 2016 08:10:16 +0000 (08:10 +0000)]
Merge "Don't loop forever on 0-length options." into nyc-dev

8 years agoDon't loop forever on 0-length options.
Lorenzo Colitti [Thu, 23 Jun 2016 06:24:46 +0000 (15:24 +0900)]
Don't loop forever on 0-length options.

A malformed RA could cause the Ra constructor in ApfFilter to
enter an infinite loop while holding the class lock. This blocks
IpManager until reboot and drains the battery.

Bug: 29586253
Change-Id: Idaa46b3bc50371db076630881883807c2fa21674

8 years agoMerge "Sensor: Make getId() more varied" into nyc-dev
Greg Kaiser [Thu, 23 Jun 2016 03:25:44 +0000 (03:25 +0000)]
Merge "Sensor: Make getId() more varied" into nyc-dev

8 years agoMerge "Fix issue #29532165: System Server Java Crashes in WiFi (RT Restart)" into...
Dianne Hackborn [Thu, 23 Jun 2016 03:04:25 +0000 (03:04 +0000)]
Merge "Fix issue #29532165: System Server Java Crashes in WiFi (RT Restart)" into nyc-dev

8 years agoMerge "Don't compare intent filters on singleTask adjacent launch" into nyc-dev
TreeHugger Robot [Thu, 23 Jun 2016 02:17:23 +0000 (02:17 +0000)]
Merge "Don't compare intent filters on singleTask adjacent launch" into nyc-dev

8 years agoMerge "Do not launch non exposed add printer activity" into nyc-dev
TreeHugger Robot [Thu, 23 Jun 2016 01:51:06 +0000 (01:51 +0000)]
Merge "Do not launch non exposed add printer activity" into nyc-dev

8 years agoMerge "Show unsopported display size dialog on relaunch" into nyc-dev
Andrii Kulian [Thu, 23 Jun 2016 01:00:35 +0000 (01:00 +0000)]
Merge "Show unsopported display size dialog on relaunch" into nyc-dev

8 years agoMerge "Clarify docs for PopupWindow width/height parameters" into nyc-dev
Alan Viverette [Thu, 23 Jun 2016 00:55:51 +0000 (00:55 +0000)]
Merge "Clarify docs for PopupWindow width/height parameters" into nyc-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Baligh Uddin [Thu, 23 Jun 2016 00:40:01 +0000 (00:40 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoDon't compare intent filters on singleTask adjacent launch
Andrii Kulian [Thu, 23 Jun 2016 00:16:45 +0000 (17:16 -0700)]
Don't compare intent filters on singleTask adjacent launch

Bug: 29578845
Change-Id: Ic1614fc1f321e80ffdc2ab498d720657f393c239

8 years agoFix issue #29532165: System Server Java Crashes in WiFi (RT Restart)
Dianne Hackborn [Wed, 22 Jun 2016 23:49:14 +0000 (16:49 -0700)]
Fix issue #29532165: System Server Java Crashes in WiFi (RT Restart)

I really have no idea how this can be happening (we check
for a null intent before posting the args), but add another
check before dispatching to try to avoid it.

Change-Id: Ic704850c9750b6a078c49ea628189be568031086

8 years agoDo not launch non exposed add printer activity
Philip P. Moltmann [Wed, 22 Jun 2016 23:12:27 +0000 (16:12 -0700)]
Do not launch non exposed add printer activity

Change-Id: I0b9b11ea0ce0140c77dff2539b1a0a9dcf1558b0
Fixes: 29580579

8 years agoMerge "Change approach for windowPositionLostRT" into nyc-dev
John Reck [Wed, 22 Jun 2016 23:38:23 +0000 (23:38 +0000)]
Merge "Change approach for windowPositionLostRT" into nyc-dev

8 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 22 Jun 2016 23:33:07 +0000 (16:33 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 29322470
Change-Id: Iec697120d3e8b234bde18e0e37f02ad532796816

8 years agoChange approach for windowPositionLostRT
John Reck [Wed, 22 Jun 2016 21:23:31 +0000 (14:23 -0700)]
Change approach for windowPositionLostRT

Bug: 29547000

Instead of shifting the window off screen fall
back to the UI-thread calculated values. This fixes
a race issue around tear-down where we stop
drawing long before our window is actually no longer
visible, as well as fixes a funky issue with
PRESERVE_GEOMETRY during first draw.

Change-Id: I792d1966f5aaee1e703295ae79166c723b97a1dc

8 years agoMerge "Fix adb backup/restore" into nyc-dev
TreeHugger Robot [Wed, 22 Jun 2016 22:56:34 +0000 (22:56 +0000)]
Merge "Fix adb backup/restore" into nyc-dev

8 years agoMerge "Report all content changes to a11y services." into nyc-dev
Phil Weaver [Wed, 22 Jun 2016 22:48:49 +0000 (22:48 +0000)]
Merge "Report all content changes to a11y services." into nyc-dev

8 years agoMerge "Use granted userId to look up provider info" into nyc-dev
Fyodor Kupolov [Wed, 22 Jun 2016 22:28:37 +0000 (22:28 +0000)]
Merge "Use granted userId to look up provider info" into nyc-dev

8 years agoMerge "Fix build due to missing abstract method impl" into nyc-dev
Adam Lesinski [Wed, 22 Jun 2016 22:20:54 +0000 (22:20 +0000)]
Merge "Fix build due to missing abstract method impl" into nyc-dev

8 years agoShow unsopported display size dialog on relaunch
Andrii Kulian [Wed, 22 Jun 2016 21:49:58 +0000 (14:49 -0700)]
Show unsopported display size dialog on relaunch

If the display density change made app restart when it was focused
or we navigate back to it after density change and it makes it
restart - we didn't display unsupported display size dialog.

Bug: 29574686
Change-Id: Ic8fdc8a54df160f947e2d340ab2cb2931bac195d

8 years agoFix adb backup/restore
Christopher Tate [Fri, 17 Jun 2016 20:24:02 +0000 (13:24 -0700)]
Fix adb backup/restore

* Exclude key/value-only backup participants until we have a chance to
  augment the archive format with proper handling.

* Don't back up 'stopped' apps, which would un-stop them

* Fix unspecified-user bindService/startActivity invocations

* Teach adb restore about the onRestoreFinished() lifecycle method

* Implement proper app timeout handling in the adb data flows

* Backstop wallpaper backup against rare leftover-state issues

Bug 28056941

Change-Id: Ia59c71a2c74a632a2c2a527b9b7374229c440d46

8 years agoMerge "Fixed whitelistManager assignment." into nyc-dev
TreeHugger Robot [Wed, 22 Jun 2016 20:40:19 +0000 (20:40 +0000)]
Merge "Fixed whitelistManager assignment." into nyc-dev

8 years agoSensor: Make getId() more varied
Peng Xu [Thu, 26 May 2016 04:10:00 +0000 (21:10 -0700)]
Sensor: Make getId() more varied

Apps from different developers will now receive a different
ID for the same dynamic sensor.  Additionally, all apps
will now receive a different/new ID for the same dynamic
sensor after a factory reset.

Bug: 2877559029547335
Change-Id: I15b48b974cbb1d53cc33dfdb7b9eb5f1b562190c

8 years agoFix build due to missing abstract method impl
Adam Lesinski [Wed, 22 Jun 2016 20:11:40 +0000 (13:11 -0700)]
Fix build due to missing abstract method impl

getDisplay() was added to Context, which needs to be implemented
for BridgeContext.

Bug:28388969
Change-Id: I7b0ffcbbe252403e35f08d3fa40d6b0e4dbf0daa

8 years agoMerge "Avoid runtime restart when storage is missing." into nyc-dev
TreeHugger Robot [Wed, 22 Jun 2016 20:08:17 +0000 (20:08 +0000)]
Merge "Avoid runtime restart when storage is missing." into nyc-dev

8 years agoMerge "Added more logs to track WakeLock usages" into nyc-dev
Lifu Tang [Wed, 22 Jun 2016 19:50:47 +0000 (19:50 +0000)]
Merge "Added more logs to track WakeLock usages" into nyc-dev

8 years agoReport all content changes to a11y services.
Phil Weaver [Mon, 20 Jun 2016 18:54:59 +0000 (11:54 -0700)]
Report all content changes to a11y services.

Changes were discarded if they arrived too quickly in
A11yManagerService. Excuse content change events from
throttling at this level.

Bug: 29355115
Change-Id: Ifd9da07315ce0c18f59c1dad6a621110ad48343b

8 years agoMerge "ContextImpl: Keep DisplayAdjustments and Display in sync" into nyc-dev
Adam Lesinski [Wed, 22 Jun 2016 19:11:34 +0000 (19:11 +0000)]
Merge "ContextImpl: Keep DisplayAdjustments and Display in sync" into nyc-dev

8 years agoMerge \\"Move conceptual test info into \\"Getting Started with Testing\\" and move...
Scott Main [Wed, 22 Jun 2016 18:49:25 +0000 (18:49 +0000)]
Merge \\"Move conceptual test info into \\"Getting Started with Testing\\" and move the procedural information into the corresponding guides for creating unit tests.\\" into mnc-io-docs am: 8af7a89820
am: 359b8cd443

Change-Id: I91ac419c6c7778b0e357719e1822fe1f6adfe0c3

8 years agoMerge \"Move conceptual test info into \"Getting Started with Testing\" and move...
smain@google.com [Wed, 22 Jun 2016 18:42:27 +0000 (18:42 +0000)]
Merge \"Move conceptual test info into \"Getting Started with Testing\" and move the procedural information into the corresponding guides for creating unit tests.\" into mnc-io-docs
am: 8af7a89820

Change-Id: I7d153a79fa01b2b35540e3fe1e965a99201110f0

8 years agoMerge "Move conceptual test info into "Getting Started with Testing" and move the...
Scott Main [Wed, 22 Jun 2016 18:37:10 +0000 (18:37 +0000)]
Merge "Move conceptual test info into "Getting Started with Testing" and move the procedural information into the corresponding guides for creating unit tests." into mnc-io-docs

8 years agoAvoid runtime restart when storage is missing.
Jeff Sharkey [Wed, 22 Jun 2016 16:35:29 +0000 (10:35 -0600)]
Avoid runtime restart when storage is missing.

When primary shared storage is completely missing, catch the thrown
exception and treat as if ejected.

Bug: 29461637
Change-Id: I8eb5cdeb01983efbf26da3d32ab19a6630662156

8 years agoMerge "Start primary storage move outside lock." into nyc-dev
TreeHugger Robot [Wed, 22 Jun 2016 18:36:06 +0000 (18:36 +0000)]
Merge "Start primary storage move outside lock." into nyc-dev

8 years agoMove conceptual test info into "Getting Started with Testing" and
smain@google.com [Tue, 14 Jun 2016 18:37:19 +0000 (11:37 -0700)]
Move conceptual test info into "Getting Started with Testing" and
move the procedural information into the corresponding guides for creating
unit tests.

This is part of a cleanup for the Android Studio test docs, simplifying the
amount of content covered with Android Studio to be strictly how to create
and run tests. Bug: 28470079
Related: https://critique.corp.google.com/#review/125115510

Change-Id: I8b9590045b42a03c618e7011e0c3741aede77cd8

8 years agoFixed whitelistManager assignment.
Felipe Leme [Tue, 21 Jun 2016 22:33:43 +0000 (15:33 -0700)]
Fixed whitelistManager assignment.

It must be set before looping through all app services...

Fixes: 29480440

Change-Id: I38f78255ea44f00ea4226010d334b94fb4baadb4

8 years agoAdded more logs to track WakeLock usages
Lifu Tang [Wed, 22 Jun 2016 17:57:55 +0000 (10:57 -0700)]
Added more logs to track WakeLock usages

Bug: 28829595
Change-Id: I607745a27e830e42300ee307412e57c2254bff55

8 years agoMerge "Prevent early boot crash reading PowerProfile" into nyc-dev
Adam Lesinski [Wed, 22 Jun 2016 17:31:34 +0000 (17:31 +0000)]
Merge "Prevent early boot crash reading PowerProfile" into nyc-dev

8 years agoUse granted userId to look up provider info
Fyodor Kupolov [Mon, 20 Jun 2016 21:03:44 +0000 (14:03 -0700)]
Use granted userId to look up provider info

In getPersistedUriPermissions, use granted userId instead of the calling
userId to look up provider info.

Bug: 29058113
Change-Id: Ia637be414f9ef3b8e9bce13bb56bd335cfb28ac7

8 years agoPrevent early boot crash reading PowerProfile
Adam Lesinski [Wed, 22 Jun 2016 17:28:47 +0000 (10:28 -0700)]
Prevent early boot crash reading PowerProfile

The PowerProfile in BatteryStatsImpl may not be ready when
resetting stats early in the boot sequence.

Bug:29559031
Change-Id: I51bba762231a08804f1b68505bb1b0523476081d

8 years agoadd direct path to sdk manager docs for studio UI help button
smain@google.com [Wed, 22 Jun 2016 17:28:02 +0000 (10:28 -0700)]
add direct path to sdk manager docs for studio UI help button
bug: 28982864

Change-Id: I4186de00d0a80e54066dd209d55ecf1348a30337

8 years agoMerge "add redirect for old link to publishing docs" into nyc-dev
Scott Main [Wed, 22 Jun 2016 17:22:42 +0000 (17:22 +0000)]
Merge "add redirect for old link to publishing docs" into nyc-dev

8 years agoMerge "Unblock 'am start -W' if activity is brought to front without launching" into...
Chong Zhang [Wed, 22 Jun 2016 17:17:47 +0000 (17:17 +0000)]
Merge "Unblock 'am start -W' if activity is brought to front without launching" into nyc-dev

8 years agoMerge "Fix issue #29545190: JobScheduler ContentUri NOTIFY_FOR_DESCENDANTS flag....
Dianne Hackborn [Wed, 22 Jun 2016 17:12:07 +0000 (17:12 +0000)]
Merge "Fix issue #29545190: JobScheduler ContentUri NOTIFY_FOR_DESCENDANTS flag..." into nyc-dev

8 years agodocs: Fixing MediaSession note in PIP preview docs
Daniel Yu [Wed, 22 Jun 2016 16:49:34 +0000 (09:49 -0700)]
docs: Fixing MediaSession note in PIP preview docs

Updating PIP preview docs to mention that devs need to
use MediaSession.setCallback to get input events while in
PIP mode, and not MediaSession.setMediaButtonReceiver.

Note: Changes also include changes made previously for
DP4 in a different branch that for some reason were not
auto-merged into mnc-io-docs, so including these changes
as well to ensure they don't get overwritten.

Bug: 29215189
Change-Id: Iab51c26ebd1f1403633eb9a1616d43690173446c

8 years agoMerge "Don't show the shade background for heads up notifications" into nyc-dev
Mady Mellor [Wed, 22 Jun 2016 16:49:40 +0000 (16:49 +0000)]
Merge "Don't show the shade background for heads up notifications" into nyc-dev

8 years agoMerge "QS Tiles: Fix some problems with connecting through intent" into nyc-dev
TreeHugger Robot [Wed, 22 Jun 2016 16:47:30 +0000 (16:47 +0000)]
Merge "QS Tiles: Fix some problems with connecting through intent" into nyc-dev

8 years agoMerge "Update prebuilts from build server" into nyc-dev
Todd Kennedy [Wed, 22 Jun 2016 16:46:02 +0000 (16:46 +0000)]
Merge "Update prebuilts from build server" into nyc-dev

8 years agoUpdate prebuilts from build server
Todd Kennedy [Mon, 20 Jun 2016 22:34:57 +0000 (15:34 -0700)]
Update prebuilts from build server

CtsShim.apk
versionCode='24' versionName='7.0-2996264'

CtsShimPriv.apk
versionCode='24' versionName='7.0-2996264'

Built here:
https://android-build.googleplex.com/builds/submitted/2996264/CtsShim/latest

This build is suitable for public release.

Bug: 29122339
Change-Id: I6533e3a3ed72de6d3887039e3e8cf527947c4166

8 years agoDon't iterate over a list items are removed from.
Julia Reynolds [Tue, 21 Jun 2016 11:47:22 +0000 (07:47 -0400)]
Don't iterate over a list items are removed from.

Change-Id: I896cd4578da15e21d422ca8db42e34bbd10912e8
Fixes: 29512540

8 years agoStart primary storage move outside lock.
Jeff Sharkey [Wed, 22 Jun 2016 15:04:33 +0000 (09:04 -0600)]
Start primary storage move outside lock.

Otherwise there is a potential deadlock when an unsolicited event
arrives from vold while we're still waiting for the move operation
to be processed.

The safe fix here is to kick off the move after dropping the lock.

Bug: 29501052
Change-Id: I2160c6a7a19c1d9981c692a2be2b04019352db2e

8 years agoMerge "QS: Fix default icon handling for services" into nyc-dev
Jason Monk [Wed, 22 Jun 2016 15:39:29 +0000 (15:39 +0000)]
Merge "QS: Fix default icon handling for services" into nyc-dev

8 years agoMerge "Blacklist ATV Remote Service to never appear on Recents" into nyc-dev
TreeHugger Robot [Wed, 22 Jun 2016 15:36:09 +0000 (15:36 +0000)]
Merge "Blacklist ATV Remote Service to never appear on Recents" into nyc-dev

8 years agoQS Tiles: Fix some problems with connecting through intent
Jason Monk [Tue, 21 Jun 2016 22:23:13 +0000 (18:23 -0400)]
QS Tiles: Fix some problems with connecting through intent

 - Don't send Tile through intent, it can cause crashes
 - Clean up other issues surrounding this

Change-Id: I08c626cf39b36d349592c1e0b81627b9bc7eeeb3
Fixes: 29519485

8 years agoQS: Fix default icon handling for services
Jason Monk [Wed, 22 Jun 2016 13:58:46 +0000 (09:58 -0400)]
QS: Fix default icon handling for services

Change-Id: I3b25df8b8d02cd99a943571de14cf0a8c5b051bd
Fixes: 29452288

8 years agoMerge "Restrict hotspot qs tile to admin user" into nyc-dev
Jason Monk [Wed, 22 Jun 2016 13:23:25 +0000 (13:23 +0000)]
Merge "Restrict hotspot qs tile to admin user" into nyc-dev

8 years agoMerge "QS Edit: Try to simplify drag logic" into nyc-dev
Jason Monk [Wed, 22 Jun 2016 13:23:16 +0000 (13:23 +0000)]
Merge "QS Edit: Try to simplify drag logic" into nyc-dev

8 years agoMerge "Don't allow showing an activity if user is stopping or shutting down." into...
Nicolas Prévot [Wed, 22 Jun 2016 12:27:12 +0000 (12:27 +0000)]
Merge "Don't allow showing an activity if user is stopping or shutting down." into nyc-dev

8 years agoDon't allow showing an activity if user is stopping or shutting down.
Nicolas Prevot [Mon, 20 Jun 2016 16:25:12 +0000 (17:25 +0100)]
Don't allow showing an activity if user is stopping or shutting down.

BUG:29264996
Change-Id: I9fc97c5dc37e6d5656b82b277954b5963eb345c4

8 years agoFix issue #29545190: JobScheduler ContentUri NOTIFY_FOR_DESCENDANTS flag...
Dianne Hackborn [Wed, 22 Jun 2016 03:39:02 +0000 (20:39 -0700)]
Fix issue #29545190: JobScheduler ContentUri NOTIFY_FOR_DESCENDANTS flag...

...isn't respected if previous job was scheduled with same URI

Change-Id: Ib04f6d7cf72e7efc8e84c1a759e91ba520eda139

8 years agoUnblock 'am start -W' if activity is brought to front without launching
Chong Zhang [Tue, 21 Jun 2016 23:31:37 +0000 (16:31 -0700)]
Unblock 'am start -W' if activity is brought to front without launching

If -W is used to start an activity successfully, but this activity just
brings another activity to front without actual launching, the waiting
will be stuck because neither activity will report launch complete.

In this case, we have to treat it as if the -W started an activity and
received return code START_TASK_TO_FRONT. It needs to wait for the new
activity to become visible (or report launch complete if it's already
visible).

This reverts earlier commits afb776d5447e19565c9a826a554911decb9ed92a,
since it's causing problems with launch time reporting.

bug: 28333487
bug: 29451567
Change-Id: I9fd79ab5b3ed8f9de5df34ed9c7b0be3a94620b2

8 years agoMerge "Revert "Parse "vendor/priv-app" to find privileged applications"" into nyc-dev
TreeHugger Robot [Wed, 22 Jun 2016 01:13:55 +0000 (01:13 +0000)]
Merge "Revert "Parse "vendor/priv-app" to find privileged applications"" into nyc-dev

8 years agoMerge "Fix JAVA doc for AudioRecord and AudioTrack Builder" into nyc-dev
Eric Laurent [Wed, 22 Jun 2016 01:08:44 +0000 (01:08 +0000)]
Merge "Fix JAVA doc for AudioRecord and AudioTrack Builder" into nyc-dev

8 years agoContextImpl: Keep DisplayAdjustments and Display in sync
Adam Lesinski [Fri, 17 Jun 2016 01:05:41 +0000 (18:05 -0700)]
ContextImpl: Keep DisplayAdjustments and Display in sync

Make sure that when our Resources get updated, that DisplayAdjustment
and Display properly reflect the potentially new screen dimensions.

Bug:28388969
Change-Id: I340550ea094ece87abc8790dd46aaa60ab3cedd3

8 years agoMerge "Doc change: remove common images from localized directories." into nyc-dev
Dirk Dougherty [Wed, 22 Jun 2016 00:38:25 +0000 (00:38 +0000)]
Merge "Doc change: remove common images from localized directories." into nyc-dev

8 years agoMerge "Notification: Respect disabled HUNs on updates" into nyc-dev
TreeHugger Robot [Wed, 22 Jun 2016 00:35:28 +0000 (00:35 +0000)]
Merge "Notification: Respect disabled HUNs on updates" into nyc-dev

8 years agoMerge "Fix stale transformations" into nyc-dev
TreeHugger Robot [Tue, 21 Jun 2016 23:25:14 +0000 (23:25 +0000)]
Merge "Fix stale transformations" into nyc-dev