Commit Graph

255075 Commits

Author SHA1 Message Date
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
John Reck
fdff97caf0 Merge \"Change approach for windowPositionLostRT\" into nyc-dev
am: 16038a0c5f

Change-Id: I80f6bf6d169c43a10106857627f5c127d94d00a4
2016-06-22 23:45:50 +00: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
Christopher Tate
c5202cac7f Merge \"Fix adb backup/restore\" into nyc-dev
am: 45c79447ad

Change-Id: Ie3bce4a97ec1ecb4ba742ef65555b7db510f10d0
2016-06-22 23:04:44 +00:00
TreeHugger Robot
45c79447ad Merge "Fix adb backup/restore" into nyc-dev 2016-06-22 22:56:37 +00:00
Phil Weaver
2abe1c44e0 Merge \"Report all content changes to a11y services.\" into nyc-dev
am: 8ac5bcbab2

Change-Id: I45c63d9887eee21f571984c2e7b2aa31bd80c790
2016-06-22 22:54:08 +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
eb3f3aa46d Merge \"Use granted userId to look up provider info\" into nyc-dev
am: f9f2c7ceef

Change-Id: I7af8b1867bb4a1784658f445c91158c0e4c43667
2016-06-22 22:41:57 +00:00
Adam Lesinski
a34b917ce0 Merge \"Fix build due to missing abstract method impl\" into nyc-dev
am: aeef7c4748

Change-Id: I9d12601b4db0108f313c1a69ada67c92929f548b
2016-06-22 22:41:52 +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
Felipe Leme
1f358b11ae Merge \"Fixed whitelistManager assignment.\" into nyc-dev
am: dea7aa0da1

Change-Id: I5b535a8dbbbf4f567435d666d07d909a9e79021e
2016-06-22 20:46:01 +00: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
Jeff Sharkey
c14abae170 Merge \"Avoid runtime restart when storage is missing.\" into nyc-dev
am: 18553f5f73

Change-Id: I0f8e9b715eb0ddddbf36dcbcdf78e75e692303dc
2016-06-22 20:14:54 +00: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
f6bfce5202 Merge \"Added more logs to track WakeLock usages\" into nyc-dev
am: 335387a1df

Change-Id: Ia6311e420898226086bdaedab992f9ae7c6b3f44
2016-06-22 19:56:11 +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
a72a6aae37 Merge \"ContextImpl: Keep DisplayAdjustments and Display in sync\" into nyc-dev
am: 0bf31c3fa6

Change-Id: If0da3136f1fcb17c43a5b8c22ca890b8abcfc25c
2016-06-22 19:17:43 +00:00
Adam Lesinski
0bf31c3fa6 Merge "ContextImpl: Keep DisplayAdjustments and Display in sync" into nyc-dev 2016-06-22 19:11:36 +00:00
smain@google.com
c5dc951937 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: Ie11cf8e7ccf0557f1cb35fcfff63a20578e2f7f8
2016-06-22 18:52:44 +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
Jeff Sharkey
b688e58c4a Merge \"Start primary storage move outside lock.\" into nyc-dev
am: a3290363e1

Change-Id: I35256b066ab041703928052bbfbedb0e8f7afd49
2016-06-22 18:45:01 +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
31ef27c249 Merge \"Prevent early boot crash reading PowerProfile\" into nyc-dev
am: ec6db57ac7

Change-Id: I6366fcaa2b1a85b271d74df321100d590fd258a1
2016-06-22 17:37:41 +00:00
smain@google.com
7100667c16 add direct path to sdk manager docs for studio UI help button bug: 28982864
am: 31b49837a1

Change-Id: I0c3fef376b787e8cf1c52b8a81221549b2921ddd
2016-06-22 17:37:35 +00: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
smain@google.com
4362ea6d74 Merge \"add redirect for old link to publishing docs\" into nyc-dev
am: 7bb456d6c5

Change-Id: I6d7342cb2192c2aee0cb8fa345f525d08300feb3
2016-06-22 17:29:07 +00: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
Chong Zhang
9800ee6fc1 Merge \"Unblock \'am start -W\' if activity is brought to front without launching\" into nyc-dev
am: 75c7cc6ca9

Change-Id: I97a3841d4862d7b8b4972d32fd43d8e99a7aacff
2016-06-22 17:24:29 +00:00
Scott Main
7bb456d6c5 Merge "add redirect for old link to publishing docs" into nyc-dev 2016-06-22 17:22:45 +00:00
Dianne Hackborn
56197c9e9e Merge \"Fix issue #29545190: JobScheduler ContentUri NOTIFY_FOR_DESCENDANTS flag...\" into nyc-dev
am: a62a7eef24

Change-Id: I62361e51b439e563b91e86d6886d5b46f64737b0
2016-06-22 17:18:38 +00:00
Chong Zhang
75c7cc6ca9 Merge "Unblock 'am start -W' if activity is brought to front without launching" into nyc-dev 2016-06-22 17:17:48 +00:00
Dianne Hackborn
a62a7eef24 Merge "Fix issue #29545190: JobScheduler ContentUri NOTIFY_FOR_DESCENDANTS flag..." into nyc-dev 2016-06-22 17:12:09 +00:00