245343 Commits

Author SHA1 Message Date
Hemal Patel
9e9d2c7fba 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
2016-06-23 13:07:06 -07:00
Min Yun
175559a28b 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
2016-06-23 19:53:11 +00:00
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
Yorke Lee
d092e3a414 Update documentation for View.startDragAndDrop
Bug: 29606395
Change-Id: Ibbe1a20c998986c7afffac6f5f4b25769f56a8f2
2016-06-23 12:23:22 -07:00
smain@google.com
10e29b895e fix bad contrast in table links by switching to normal table cells instead of headings.
Change-Id: I91139ac2f01a9e099ffb5f65f4579a0b33ced5ab
2016-06-23 12:09:30 -07:00
Jason Monk
6edbefdd54 QS: Hacks to fix bigger problems in TileService binding
Bug: 29121793
Change-Id: I9cb8d8ee36ce5cc77ba3c11decb1b3a797fd7999
2016-06-23 14:59:22 -04:00
Lajos Molnar
b28b99a425 media: update getAchievableFrameRatesFor javadoc
Bug: 28752802
Change-Id: I1c04ae7c3f9f15f84ff185af8d8f3c89958f5595
2016-06-23 18:47:54 +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
Eric Schmidt
4ae205c1dc docs: Edits to Instant Apps FAQs, index page.
Bug: 29571621
Change-Id: Ia0eca7d56f1282f9038b29ef2d0f8a3dfd796629
2016-06-22 12:51:19 -07: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