OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge \"Show unsopported display size dialog on relaunch\" into nyc-dev
Andrii Kulian [Thu, 23 Jun 2016 01:07:00 +0000 (01:07 +0000)]
Merge \"Show unsopported display size dialog on relaunch\" into nyc-dev
am: 354c8cde6c

Change-Id: I46f232290ebc5cf924bf696f20eb134076e83b4f

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 01:00:32 +0000 (01:00 +0000)]
Merge \"Clarify docs for PopupWindow width/height parameters\" into nyc-dev
am: 22f887a014

Change-Id: I7311e8cb98da040148e961734646251949975270

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:43:40 +0000 (00:43 +0000)]
Merge \"Import translations. DO NOT MERGE\" into nyc-dev
am: b9aa9b47e7  -s ours

Change-Id: I6800e94bd8ca728af636dc0b46768bee708c6236

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 agoMerge "Enable fingerprint sensor navigation to invoke QuickSettings - rename "FP_NAV...
Jim Miller [Thu, 23 Jun 2016 00:13:38 +0000 (00:13 +0000)]
Merge "Enable fingerprint sensor navigation to invoke QuickSettings - rename "FP_NAV" to more generic "SYSTEM_NAVIGATION"" into nyc-mr1-dev

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

Change-Id: Ia6d1b8cfa2c5d126b702eb84895093fa3f893b00

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
Christopher Tate [Wed, 22 Jun 2016 23:05:05 +0000 (23:05 +0000)]
Merge \"Fix adb backup/restore\" into nyc-dev
am: 45c79447ad

Change-Id: Ieab601b2676f18f068280a9f5dfd8501fd5978f0

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:53:17 +0000 (22:53 +0000)]
Merge \"Report all content changes to a11y services.\" into nyc-dev
am: 8ac5bcbab2

Change-Id: I9338fd3ef749f80c4b0252c7c749fe6e395b3c0a

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:41:42 +0000 (22:41 +0000)]
Merge \"Use granted userId to look up provider info\" into nyc-dev
am: f9f2c7ceef

Change-Id: Ifb6876fbb424632d3b47ec68686c01b56720b0a4

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

Change-Id: I38fc7c88e9c4ea5abf50a0bec5f2302c4622605f

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 agoEnable fingerprint sensor navigation to invoke QuickSettings
Jim Miller [Wed, 22 Jun 2016 22:18:13 +0000 (15:18 -0700)]
Enable fingerprint sensor navigation to invoke QuickSettings
- rename "FP_NAV" to more generic "SYSTEM_NAVIGATION"

Fixes bug 28869612

Change-Id: I321240ee54506633d63a29e987b8d8638c652391

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 agoMerge "Don't match locales with different scripts in ResourceFilter" into nyc-mr1-dev
Roozbeh Pournader [Wed, 22 Jun 2016 21:20:42 +0000 (21:20 +0000)]
Merge "Don't match locales with different scripts in ResourceFilter" into nyc-mr1-dev

8 years agoMerge "Add a Carrier-config specific ratcheter of RATs." into nyc-mr1-dev
Robert Greenwalt [Wed, 22 Jun 2016 21:12:14 +0000 (21:12 +0000)]
Merge "Add a Carrier-config specific ratcheter of RATs." into nyc-mr1-dev

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
Felipe Leme [Wed, 22 Jun 2016 20:45:54 +0000 (20:45 +0000)]
Merge \"Fixed whitelistManager assignment.\" into nyc-dev
am: dea7aa0da1

Change-Id: I3ba91e222cf0a04e2a08bbefc7d0aeea20485bcb

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 agoMerge \"Avoid runtime restart when storage is missing.\" into nyc-dev
Jeff Sharkey [Wed, 22 Jun 2016 20:14:45 +0000 (20:14 +0000)]
Merge \"Avoid runtime restart when storage is missing.\" into nyc-dev
am: 18553f5f73

Change-Id: I9303aa177f25f27db7090bf2464218d690aaeafe

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:56:30 +0000 (19:56 +0000)]
Merge \"Added more logs to track WakeLock usages\" into nyc-dev
am: 335387a1df

Change-Id: I1383a36b05e50d7a20e477f70c5c8f64ce36041c

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:16:44 +0000 (19:16 +0000)]
Merge \"ContextImpl: Keep DisplayAdjustments and Display in sync\" into nyc-dev
am: 0bf31c3fa6

Change-Id: Id0d16d2f9d69b87d4b4c01370eeceafe329d1817

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...
smain@google.com [Wed, 22 Jun 2016 18:52:41 +0000 (18:52 +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
am: 9802883bb3

Change-Id: I72640ba34ea604639cd7da7a2cae4fabcfa98dbb

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 \"Start primary storage move outside lock.\" into nyc-dev
Jeff Sharkey [Wed, 22 Jun 2016 18:41:18 +0000 (18:41 +0000)]
Merge \"Start primary storage move outside lock.\" into nyc-dev
am: a3290363e1

Change-Id: Idac9cb8408687f580910fe784802da1b584ade85

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 agoAdd a Carrier-config specific ratcheter of RATs.
Robert Greenwalt [Thu, 9 Jun 2016 23:28:40 +0000 (16:28 -0700)]
Add a Carrier-config specific ratcheter of RATs.

Only reports transitions to higher RATs within a given family.
Reset when we move to a new cell.
Avoids costly propogation of RAT flapping within the family,
for example every outgoing data pops us into a higher RAT and
idle time pops us back down.

bug:27360321
Change-Id: I549d79c1c74325981bee284cef452bd096184d86

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 changes from topic 'seamless-rotation' into nyc-mr1-dev
TreeHugger Robot [Wed, 22 Jun 2016 17:40:46 +0000 (17:40 +0000)]
Merge changes from topic 'seamless-rotation' into nyc-mr1-dev

* changes:
  Enable resize during relayout fix for all stacks.
  SurfaceView: Careful with FLAG_PRESERVE_GEOMETRY.
  Implement seamless rotation mode.

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

Change-Id: Id0327572c549eff30dfe0a8fd70007bcaccf7a32

8 years agoadd direct path to sdk manager docs for studio UI help button bug: 28982864
smain@google.com [Wed, 22 Jun 2016 17:37:36 +0000 (17:37 +0000)]
add direct path to sdk manager docs for studio UI help button bug: 28982864
am: 31b49837a1

Change-Id: Ia44cb1d0084e3d4d05bae0081a97d7c533340132

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 agoMerge \"add redirect for old link to publishing docs\" into nyc-dev
smain@google.com [Wed, 22 Jun 2016 17:29:06 +0000 (17:29 +0000)]
Merge \"add redirect for old link to publishing docs\" into nyc-dev
am: 7bb456d6c5

Change-Id: I8760984a4686cd44a659408efcd9ead9ccd8893e

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 \"Unblock \'am start -W\' if activity is brought to front without launching...
Chong Zhang [Wed, 22 Jun 2016 17:24:17 +0000 (17:24 +0000)]
Merge \"Unblock \'am start -W\' if activity is brought to front without launching\" into nyc-dev
am: 75c7cc6ca9

Change-Id: I983331f65f03d50c26b7929866e3ce5d5ae19966

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 \"Fix issue #29545190: JobScheduler ContentUri NOTIFY_FOR_DESCENDANTS flag...
Dianne Hackborn [Wed, 22 Jun 2016 17:18:29 +0000 (17:18 +0000)]
Merge \"Fix issue #29545190: JobScheduler ContentUri NOTIFY_FOR_DESCENDANTS flag...\" into nyc-dev
am: a62a7eef24

Change-Id: Ieb9435479b727da5ea3ce5f512b43986898675fd

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 agoMerge \"Don\'t show the shade background for heads up notifications\" into nyc-dev
Mady Mellor [Wed, 22 Jun 2016 16:54:08 +0000 (16:54 +0000)]
Merge \"Don\'t show the shade background for heads up notifications\" into nyc-dev
am: 6b6bf9cd54

Change-Id: Ic6d8f5c1d1a8eed8e0bc9657c11c77890cd64e7c

8 years agoMerge \"QS Tiles: Fix some problems with connecting through intent\" into nyc-dev
Jason Monk [Wed, 22 Jun 2016 16:54:06 +0000 (16:54 +0000)]
Merge \"QS Tiles: Fix some problems with connecting through intent\" into nyc-dev
am: 126088536d

Change-Id: I7e8ee5c59d7f26dcbc2406a53c0c6c39a9d8f55e

8 years agoMerge \"Update prebuilts from build server\" into nyc-dev
Todd Kennedy [Wed, 22 Jun 2016 16:54:04 +0000 (16:54 +0000)]
Merge \"Update prebuilts from build server\" into nyc-dev
am: 4001d7b6c4

Change-Id: Iad86c2ca001ccd821affb334e455f7d901cf4265

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 agoDon\'t iterate over a list items are removed from.
Julia Reynolds [Wed, 22 Jun 2016 16:48:20 +0000 (16:48 +0000)]
Don\'t iterate over a list items are removed from.
am: 00d9d9f11e

Change-Id: I83350895e2f6f0ee575a80e4207fb579c86c12e5

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:44:07 +0000 (15:44 +0000)]
Merge \"QS: Fix default icon handling for services\" into nyc-dev
am: 94a20367b5

Change-Id: I626992cdd9c5ff507b001dae2816df09872872ca

8 years agoMerge \"Blacklist ATV Remote Service to never appear on Recents\" into nyc-dev
Sid Soundararajan [Wed, 22 Jun 2016 15:44:04 +0000 (15:44 +0000)]
Merge \"Blacklist ATV Remote Service to never appear on Recents\" into nyc-dev
am: 8f41c074c7

Change-Id: I37f6ec8e48300996db4603de455b0e74a481ae3a

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
Yoshinori Hirano [Wed, 22 Jun 2016 13:30:09 +0000 (13:30 +0000)]
Merge \"Restrict hotspot qs tile to admin user\" into nyc-dev
am: ba568a46e6

Change-Id: Ifb7a835ab6633a97a5be32f8b6a699d0c75dde9a

8 years agoMerge \"QS Edit: Try to simplify drag logic\" into nyc-dev
Jason Monk [Wed, 22 Jun 2016 13:30:06 +0000 (13:30 +0000)]
Merge \"QS Edit: Try to simplify drag logic\" into nyc-dev
am: 3a0241566b

Change-Id: I9b080743a60d247c63293274759cbca313d7ca05

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.\"...
Nicolas Prevot [Wed, 22 Jun 2016 12:33:41 +0000 (12:33 +0000)]
Merge \"Don\'t allow showing an activity if user is stopping or shutting down.\" into nyc-dev
am: 2058553b8d

Change-Id: Ie6995527fb31b9b5f0c272726c80754927770c55

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 "Guard concurrent accesses to BluetoothA2dp service object" into nyc-mr1-dev
TreeHugger Robot [Wed, 22 Jun 2016 02:31:35 +0000 (02:31 +0000)]
Merge "Guard concurrent accesses to BluetoothA2dp service object" into nyc-mr1-dev

8 years agoMerge \"Revert \"Parse \"vendor/priv-app\" to find privileged applications\"\" into...
Todd Kennedy [Wed, 22 Jun 2016 01:25:21 +0000 (01:25 +0000)]
Merge \"Revert \"Parse \"vendor/priv-app\" to find privileged applications\"\" into nyc-dev
am: c211539769

Change-Id: I305fd763e69bc6d4836193397cb63f632e26a6a9

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

Change-Id: I60746ebe0d2fa3f267b3fa32e5926c158fda9227

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 agoGuard concurrent accesses to BluetoothA2dp service object
Calvin On [Mon, 20 Jun 2016 22:59:48 +0000 (15:59 -0700)]
Guard concurrent accesses to BluetoothA2dp service object

This fixes potential NPEs that happen on methods that access
mService after checking nullness, i.e. getConnectedDevices.

Bug: 29514788
Change-Id: Ic97054fd5a3563a374c0e863fb116c52535a6509

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:52:59 +0000 (00:52 +0000)]
Merge \"Doc change: remove common images from localized directories.\" into nyc-dev
am: cdb7434140

Change-Id: Ia46e43c572d0609d2f8da915b27c77f2822a216f

8 years agoMerge \"Notification: Respect disabled HUNs on updates\" into nyc-dev
Adrian Roos [Wed, 22 Jun 2016 00:52:56 +0000 (00:52 +0000)]
Merge \"Notification: Respect disabled HUNs on updates\" into nyc-dev
am: 394cc084f9

Change-Id: Ibb1b69ea313a45637558add62503a05133b3e7a9

8 years agoMerge "Make sure VD animation push staging happens only in MODE_FULL" into nyc-mr1-dev
Doris Liu [Wed, 22 Jun 2016 00:40:47 +0000 (00:40 +0000)]
Merge "Make sure VD animation push staging happens only in MODE_FULL" into nyc-mr1-dev

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 invitation request from persistent GC" into nyc-mr1-dev
Paul Stewart [Wed, 22 Jun 2016 00:19:23 +0000 (00:19 +0000)]
Merge "Fix invitation request from persistent GC" into nyc-mr1-dev

8 years agoEnable resize during relayout fix for all stacks.
Robert Carr [Tue, 21 Jun 2016 05:06:32 +0000 (22:06 -0700)]
Enable resize during relayout fix for all stacks.

Follow-up to ag/1080938/. Brought in now as the scenario occurs
quite frequently during unfrozen rotation.

Bug: 28559097
Change-Id: I78d116ea61f5737458f22c6743540a66ae804dd0

8 years agoSurfaceView: Careful with FLAG_PRESERVE_GEOMETRY.
Robert Carr [Tue, 21 Jun 2016 05:02:10 +0000 (22:02 -0700)]
SurfaceView: Careful with FLAG_PRESERVE_GEOMETRY.

We need to be careful about stripping FLAG_PRESERVE_GEOMETRY
as it breaks render thread sync. Notably we don't need
to strip it in the case of mUpdateWindowNeeded, this just signals
that Window#resized has been called, or something similar, but if there
has been no actual size change, then we can leave the geometry to
the render thread. This particularly manifests in rotation scenarios
where the SurfaceView will receive resize ahead of the app receiving
a configuration change.

Bug: 28823590
Change-Id: Ie2bbe7d9bd9f0a5ab64a08776bae7344eaecb605

8 years agoImplement seamless rotation mode.
Robert Carr [Thu, 16 Jun 2016 22:17:07 +0000 (15:17 -0700)]
Implement seamless rotation mode.

Add a rotation mode which does not require freezing
the screen. For situations like Camera where only small
elements move on screen, this allows for seamless changes
of display orientation. This is achieved by transforming the
windows with their current buffer in the same transaction that
we rotate the display. We set things up so the windows are
frozen this way until they submit buffers in the new orientation.
There is a special case in the Camera window itself, and it's use
of NATIVE_WINDOW_TRANSFORM_INVERSE_DISPLAY. In this case the buffer
contents are rotated by SurfaceFlinger and will never resize, for these
windows we just need to update the scaling matrix.

Bug: 28823590
Change-Id: I52dc6a86fcb3c08f736f0977ba3975a24fb8136c

8 years agoMerge \"Fix stale transformations\" into nyc-dev
Adrian Roos [Tue, 21 Jun 2016 23:56:54 +0000 (23:56 +0000)]
Merge \"Fix stale transformations\" into nyc-dev
am: ea16efd52c

Change-Id: I995823bc7985da570b13d8d7b8c7b5d1f555d3b2