245235 Commits

Author SHA1 Message Date
Adrian Roos
07215350f9 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
2016-06-23 12:51:38 -07:00
TreeHugger Robot
b3ad74eb46 Merge "QS: Fix hotspot refreshing state" into nyc-dev 2016-06-23 19:33:17 +00:00
John Reck
db13dd41a9 Merge "Remove FD from the right Looper" into nyc-dev 2016-06-23 18:32:11 +00:00
TreeHugger Robot
060d5a0e0a Merge "When uninstalling, only kill the requested user." into nyc-dev 2016-06-23 18:03:27 +00:00
John Reck
ac04f4e69a 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
2016-06-23 11:00:00 -07:00
Bert McMeen
f829cb954a Docs: Update Auth section of API Overview am: 480b523c8e
am: 773ad4f422

Change-Id: Iad796f9112ee003559ccfab899be75b0ab1734f4
2016-06-23 17:31:45 +00:00
Bert McMeen
773ad4f422 Docs: Update Auth section of API Overview
am: 480b523c8e

Change-Id: I847679daad0f69c196bc26661b49efd2548de87f
2016-06-23 17:26:46 +00:00
Jason Monk
94f682edd0 QS: Fix hotspot refreshing state
Change-Id: I40e693d154d5481959f63d555191d2c88f3d1b97
Fixes: 29518006
2016-06-23 13:23:01 -04:00
Bert McMeen
480b523c8e Docs: Update Auth section of API Overview
Bug: 28268899
Change-Id: I7e52ae0dd6ea189c28a177cd943b008dc75fda9c
2016-06-23 09:56:51 -07:00
Jeff Sharkey
85f449eaba 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
2016-06-23 10:15:17 -06:00
TreeHugger Robot
7aac630f8e Merge "Don't loop forever on 0-length options." into nyc-dev 2016-06-23 08:10:17 +00:00
Lorenzo Colitti
8995d85b94 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
2016-06-23 15:43:34 +09:00
Greg Kaiser
94b61cb340 Merge "Sensor: Make getId() more varied" into nyc-dev 2016-06-23 03:25:46 +00:00
Dianne Hackborn
576e6d27bd Merge "Fix issue #29532165: System Server Java Crashes in WiFi (RT Restart)" into nyc-dev 2016-06-23 03:04:26 +00:00
TreeHugger Robot
42147f0ff3 Merge "Don't compare intent filters on singleTask adjacent launch" into nyc-dev 2016-06-23 02:17:24 +00:00
TreeHugger Robot
737be111cc Merge "Do not launch non exposed add printer activity" into nyc-dev 2016-06-23 01:51:08 +00:00
Andrii Kulian
354c8cde6c Merge "Show unsopported display size dialog on relaunch" into nyc-dev 2016-06-23 01:00:36 +00:00
Alan Viverette
22f887a014 Merge "Clarify docs for PopupWindow width/height parameters" into nyc-dev 2016-06-23 00:55:52 +00:00
Baligh Uddin
b9aa9b47e7 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-06-23 00:40:04 +00:00
Andrii Kulian
039ba48973 Don't compare intent filters on singleTask adjacent launch
Bug: 29578845
Change-Id: Ic1614fc1f321e80ffdc2ab498d720657f393c239
2016-06-22 17:16:45 -07:00
Dianne Hackborn
17c77536ec 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
2016-06-22 16:55:47 -07:00
Philip P. Moltmann
61209bc924 Do not launch non exposed add printer activity
Change-Id: I0b9b11ea0ce0140c77dff2539b1a0a9dcf1558b0
Fixes: 29580579
2016-06-22 16:41:22 -07:00
John Reck
16038a0c5f Merge "Change approach for windowPositionLostRT" into nyc-dev 2016-06-22 23:38:24 +00:00
Baligh Uddin
12ccb2e52f Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 29322470
Change-Id: Iec697120d3e8b234bde18e0e37f02ad532796816
2016-06-22 16:33:07 -07:00
John Reck
f23a1b8e4c 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
2016-06-22 16:10:07 -07:00
TreeHugger Robot
45c79447ad Merge "Fix adb backup/restore" into nyc-dev 2016-06-22 22:56:37 +00:00
Phil Weaver
8ac5bcbab2 Merge "Report all content changes to a11y services." into nyc-dev 2016-06-22 22:48:50 +00:00
Fyodor Kupolov
f9f2c7ceef Merge "Use granted userId to look up provider info" into nyc-dev 2016-06-22 22:28:38 +00:00
Adam Lesinski
aeef7c4748 Merge "Fix build due to missing abstract method impl" into nyc-dev 2016-06-22 22:20:56 +00:00
Andrii Kulian
f42cbe8338 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
2016-06-22 14:49:58 -07:00
Christopher Tate
5cb5e89d77 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
2016-06-22 13:53:41 -07:00
TreeHugger Robot
dea7aa0da1 Merge "Fixed whitelistManager assignment." into nyc-dev 2016-06-22 20:40:21 +00:00
Peng Xu
716866d565 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: 28775590, 29547335
Change-Id: I15b48b974cbb1d53cc33dfdb7b9eb5f1b562190c
2016-06-22 13:28:29 -07:00
Adam Lesinski
0f5caab576 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
2016-06-22 13:11:40 -07:00
TreeHugger Robot
18553f5f73 Merge "Avoid runtime restart when storage is missing." into nyc-dev 2016-06-22 20:08:19 +00:00
Lifu Tang
335387a1df Merge "Added more logs to track WakeLock usages" into nyc-dev 2016-06-22 19:50:48 +00:00
Phil Weaver
ee77b881a4 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
2016-06-22 12:35:26 -07:00
Adam Lesinski
0bf31c3fa6 Merge "ContextImpl: Keep DisplayAdjustments and Display in sync" into nyc-dev 2016-06-22 19:11:36 +00:00
Scott Main
9802883bb3 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
2016-06-22 18:49:25 +00:00
smain@google.com
359b8cd443 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
2016-06-22 18:42:27 +00:00
Scott Main
8af7a89820 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 2016-06-22 18:37:11 +00:00
Jeff Sharkey
11f197c3fe 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
2016-06-22 12:37:08 -06:00
TreeHugger Robot
a3290363e1 Merge "Start primary storage move outside lock." into nyc-dev 2016-06-22 18:36:07 +00:00
smain@google.com
97f483b4ca 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
2016-06-22 11:13:54 -07:00
Felipe Leme
6e051cc2c3 Fixed whitelistManager assignment.
It must be set before looping through all app services...

Fixes: 29480440

Change-Id: I38f78255ea44f00ea4226010d334b94fb4baadb4
2016-06-22 10:59:07 -07:00
Lifu Tang
cbd2a140c1 Added more logs to track WakeLock usages
Bug: 28829595
Change-Id: I607745a27e830e42300ee307412e57c2254bff55
2016-06-22 10:57:55 -07:00
Adam Lesinski
ec6db57ac7 Merge "Prevent early boot crash reading PowerProfile" into nyc-dev 2016-06-22 17:31:35 +00:00
Fyodor Kupolov
9bbaacf845 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
2016-06-22 10:31:18 -07:00
Adam Lesinski
1a76a62b8d 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
2016-06-22 10:28:47 -07:00
smain@google.com
31b49837a1 add direct path to sdk manager docs for studio UI help button
bug: 28982864

Change-Id: I4186de00d0a80e54066dd209d55ecf1348a30337
2016-06-22 10:28:02 -07:00