Commit Graph

38009 Commits

Author SHA1 Message Date
Adrian Roos
fe45e68667 Merge \"Improve ANR dropbox reports\" into nyc-dev
am: 594c9cb356

Change-Id: I39fc6a0a96a2df6b6653c802a4c4d5bd769faf84
2016-06-24 02:05:16 +00:00
Adrian Roos
594c9cb356 Merge "Improve ANR dropbox reports" into nyc-dev 2016-06-24 01:57:43 +00:00
Adrian Roos
73d1ce85ac 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
2016-06-23 18:28:37 -07:00
Brad Ebinger
bc26a90b51 Access internal ringer mode to properly vibrate in DND
am: dcbdc0df43

Change-Id: Iaa104e6356b2d78702bf6ee31ddebf0ee2d5772f
2016-06-24 01:22:53 +00:00
Brad Ebinger
dcbdc0df43 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
2016-06-24 00:48:14 +00:00
Jeff Sharkey
803a316d6e Merge \"When uninstalling, only kill the requested user.\" into nyc-dev
am: 060d5a0e0a

Change-Id: I25a7bffc2c5f414fe326963c028000eaa492f540
2016-06-23 18:16:45 +00:00
TreeHugger Robot
060d5a0e0a Merge "When uninstalling, only kill the requested user." into nyc-dev 2016-06-23 18:03:27 +00: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
Lorenzo Colitti
affc4c1347 Merge \"Don\'t loop forever on 0-length options.\" into nyc-dev
am: 7aac630f8e

Change-Id: I188441196255ffe132adef00728502101199756b
2016-06-23 08:18:03 +00: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
Andrii Kulian
83972553b4 Merge \"Don\'t compare intent filters on singleTask adjacent launch\" into nyc-dev
am: 42147f0ff3

Change-Id: I6e0cc9c5a1b6245735ac9ba2a645231619c38eec
2016-06-23 02:27:06 +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
Andrii Kulian
c13127f2be Merge \"Show unsopported display size dialog on relaunch\" into nyc-dev
am: 354c8cde6c

Change-Id: Iaf2b6e209c95223ad4fe45416606b48e08418ca3
2016-06-23 01:06:58 +00:00
Andrii Kulian
354c8cde6c Merge "Show unsopported display size dialog on relaunch" into nyc-dev 2016-06-23 01:00:36 +00:00
Shibin George
b91869d35f Merge \\"Fix deadlock b/w ActivityManagerService and MediaSessionService\\" am: 4eea3a7f88
am: 42927c4e94

Change-Id: Ieb503007f420f06c599b8fc9f4703954885754b0
2016-06-23 00:24:23 +00:00
Shibin George
42927c4e94 Merge \"Fix deadlock b/w ActivityManagerService and MediaSessionService\"
am: 4eea3a7f88

Change-Id: I499c69fd3890ada652213c0510df3b884223a5df
2016-06-23 00:20:35 +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
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
Fyodor Kupolov
f9f2c7ceef Merge "Use granted userId to look up provider info" into nyc-dev 2016-06-22 22:28:38 +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
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
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
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
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
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
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
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
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
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
Julia Reynolds
a45f1e74b0 Don\'t iterate over a list items are removed from.
am: 00d9d9f11e

Change-Id: I206627eafbfb274dcd27dfba41a4e9d06db9d2ac
2016-06-22 16:48:18 +00:00
Julia Reynolds
00d9d9f11e Don't iterate over a list items are removed from.
Change-Id: I896cd4578da15e21d422ca8db42e34bbd10912e8
Fixes: 29512540
2016-06-22 16:34:06 +00:00
Jeff Sharkey
a31460ce12 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
2016-06-22 10:32:17 -06:00
Nicolas Prevot
ea600f9a12 Merge \"Don\'t allow showing an activity if user is stopping or shutting down.\" into nyc-dev
am: 2058553b8d

Change-Id: I5f7cdfb398f74cd0c0ed172a001094e438190e6d
2016-06-22 12:33:43 +00:00
Nicolas Prévot
2058553b8d Merge "Don't allow showing an activity if user is stopping or shutting down." into nyc-dev 2016-06-22 12:27:14 +00:00
Nicolas Prevot
1219c924bd Don't allow showing an activity if user is stopping or shutting down.
BUG:29264996
Change-Id: I9fc97c5dc37e6d5656b82b277954b5963eb345c4
2016-06-22 10:21:16 +01:00
Dianne Hackborn
121e1645d1 Fix issue #29545190: JobScheduler ContentUri NOTIFY_FOR_DESCENDANTS flag...
...isn't respected if previous job was scheduled with same URI

Change-Id: Ib04f6d7cf72e7efc8e84c1a759e91ba520eda139
2016-06-21 20:39:02 -07:00