Commit Graph

63034 Commits

Author SHA1 Message Date
Jeff Sharkey
4d24cfe6ce Merge "Fix bugs around manager fetching." 2016-08-11 18:52:44 +00:00
Jeff Sharkey
e2fc1055c5 Merge "Avoid caching services with missing binders." 2016-08-11 18:52:03 +00:00
Jeff Sharkey
73ea0ae15f Fix bugs around manager fetching.
A recent patch started returning "null" when a Binder service
required to provide a manager wasn't yet registered.

This fixes four locations where that new logging was triggered: in
two cases by adjusting the fetching ordering, and in two other cases
by only fetching when the device supports the manager.

Bug: 28634953
Change-Id: I84dbccffa4ac760c10a2bbcb234f21272bfecb91
2016-08-11 09:44:34 -06:00
Jeff Sharkey
49ca529a85 Avoid caching services with missing binders.
When fetching system services early during boot, if the underlying
binder interface hasn't been published yet, we end up caching a
manager class that is broken for the remainder of the process
lifetime, and innocent downstream callers end up using the broken
cached manager.

Fix this by using an explicit exception to quickly abort manager
creation when the underlying binder is missing.  The exception is
only used to skip the remainder of the manager creation, and it
doesn't actually crash the process.

Bug: 28634953
Change-Id: I0cb62261e6d6833660704b93a11185aa11a2ac97
2016-08-11 09:44:30 -06:00
Yin-Chia Yeh
e9ee3f487c Camera: ensure lock ordering (device->session) am: b0025e1f68 am: de71f83c2c
am: 162c8b84b5

Change-Id: Ia2b36acc9f945c7ab838681f8ea63a6b94579207
2016-08-11 00:54:01 +00:00
Yin-Chia Yeh
162c8b84b5 Camera: ensure lock ordering (device->session) am: b0025e1f68
am: de71f83c2c

Change-Id: I0c6addd8191c9e6ebde8b5efd066f54aaad71af5
2016-08-11 00:47:26 +00:00
Yin-Chia Yeh
de71f83c2c Camera: ensure lock ordering (device->session)
am: b0025e1f68

Change-Id: Idcb9b48274ecfe9fe2f306ae201491d1e485d601
2016-08-11 00:39:26 +00:00
Alan Viverette
d596b26f12 Use localized hour when announcing selection for accessibility am: 66a8562c58 am: fde654fb97
am: 4922fdc35f

Change-Id: I769d1cc8b25af34b4a08fba27e62db09a22412bc
2016-08-10 22:22:43 +00:00
Alan Viverette
4922fdc35f Use localized hour when announcing selection for accessibility am: 66a8562c58
am: fde654fb97

Change-Id: I8a07c4f9af6bfc31a2510dc5cc5aa7b763d77bc0
2016-08-10 22:11:10 +00:00
Alan Viverette
fde654fb97 Use localized hour when announcing selection for accessibility
am: 66a8562c58

Change-Id: Ieffd33d1e33fdd38e2383396b18dce8031fb1538
2016-08-10 22:04:59 +00:00
Alan Viverette
4a939cc73d Use symmetric conditions for advertising and performing ACTION_SCROLL am: 47be54bb78 am: fd855c17b1
am: 56a05f464e

Change-Id: I8b2e6afbd3aa8de0234db1abd7bf21cdb4b369bc
2016-08-10 21:42:47 +00:00
Alan Viverette
56a05f464e Use symmetric conditions for advertising and performing ACTION_SCROLL am: 47be54bb78
am: fd855c17b1

Change-Id: I6efe57707e22099409869c3e7c42bfa12a081ff4
2016-08-10 21:20:05 +00:00
Alan Viverette
fd855c17b1 Use symmetric conditions for advertising and performing ACTION_SCROLL
am: 47be54bb78

Change-Id: Icdb68cd673269cbc2e41a44becbb0fa4c0ba4712
2016-08-10 21:08:25 +00:00
Yin-Chia Yeh
b0025e1f68 Camera: ensure lock ordering (device->session)
On close/abort calls, which are more likely to run in parallel
with CameraDevice APIs.

Bug: 30742426
Change-Id: I6550283d1026373d48bb730164e65b25c7037bab
2016-08-10 12:50:19 -07:00
Dianne Hackborn
defc63c048 A little more on issue #30766518: Document what targeting N does am: 5f1649e852 am: 6ffef759da
am: f83a8ffc20

Change-Id: Ia189a9c29812a1e2d09b1bddb65c7f537b0fe9bd
2016-08-10 19:26:55 +00:00
John Reck
712765ff34 resolve merge conflicts of 1d7ee6b to master
Change-Id: I2ed0f2c3233151e890bd8bde825d306ec8f0d8fd
2016-08-10 11:04:39 -07:00
Dianne Hackborn
f83a8ffc20 A little more on issue #30766518: Document what targeting N does am: 5f1649e852
am: 6ffef759da

Change-Id: I23bde6943a153f353c8c2cc3a1f7c4db2cec00b9
2016-08-10 17:50:18 +00:00
Dianne Hackborn
6ffef759da A little more on issue #30766518: Document what targeting N does
am: 5f1649e852

Change-Id: Icf776d4dcf8ef16432eee0686784b8b0146e4ed9
2016-08-10 17:45:14 +00:00
John Reck
1d7ee6b5a3 Make updateSurface non-blocking am: cd68212f08
am: 9dd91dec3f

Change-Id: I8a27b5bcff0781e90c9d061da0c1fe03eb6d8176
2016-08-10 17:44:40 +00:00
John Reck
9dd91dec3f Make updateSurface non-blocking
am: cd68212f08

Change-Id: I691e5a2979e92572440ad7c410e8f0cec6169beb
2016-08-10 17:33:06 +00:00
Adrian Roos
8171d9e0af Notification: Reuse drawable in Header if Icon unchanged am: c4337a3569 am: dd33f36fc4
am: 425ade9ef0

Change-Id: Ifb22fc29cdfb3adef1bfd4f49dc30753b30f403c
2016-08-10 17:28:14 +00:00
Adrian Roos
425ade9ef0 Notification: Reuse drawable in Header if Icon unchanged am: c4337a3569
am: dd33f36fc4

Change-Id: Ia24b71281669458d544ea34cb643265610ef020a
2016-08-10 17:12:38 +00:00
Adrian Roos
dd33f36fc4 Notification: Reuse drawable in Header if Icon unchanged
am: c4337a3569

Change-Id: I8e7da247e9b4d9a9acd46c29ca29d34409bb9453
2016-08-10 17:06:17 +00:00
Siyamed Sinir
3dd025486b Merge "Use SpannableFactory for TextView.removeSuggestionSpans" 2016-08-10 16:56:46 +00:00
Kirill Grouchnikov
fc00de5001 Merge "Document exceptions thrown by KeyCharacterMap APIs" 2016-08-10 12:27:51 +00:00
Keisuke Kuroyanagi
9eae178762 Merge "Catch more Exceptions for reading InputMethodSubtype." 2016-08-10 03:11:55 +00:00
Dianne Hackborn
f49cfb874e Fix issue #30766518: Document what targeting N does am: b34cbedb4e am: 3a585b86be
am: 22fdbab5d0

Change-Id: Ic9beb458f4332b9ec72c4b4b4178a5bce1fcac82
2016-08-10 01:24:20 +00:00
Dianne Hackborn
22fdbab5d0 Fix issue #30766518: Document what targeting N does am: b34cbedb4e
am: 3a585b86be

Change-Id: I72821636543c9c31da4c6a8ac6d77a8de5d78d1f
2016-08-10 01:15:25 +00:00
Dianne Hackborn
5f1649e852 A little more on issue #30766518: Document what targeting N does
Change-Id: I67f2bfd01261a4304b532495a0d3cc791726ed5e
2016-08-09 18:00:31 -07:00
Dianne Hackborn
3a585b86be Fix issue #30766518: Document what targeting N does
am: b34cbedb4e

Change-Id: I2d2c45ef1dc9528b2b84778532edebac8a9e7712
2016-08-10 00:57:54 +00:00
Dianne Hackborn
75cdd5f68f Merge "Fix issue #30766518: Document what targeting N does" into nyc-mr1-dev 2016-08-10 00:45:55 +00:00
Jim Miller
391a1019e3 Bind fingerprint when we start authentication am: 837fa7e56d am: 3871272fc6
am: 1b3261902d

Change-Id: I0d974f25f0565b3d2724db4ac78a007324cd5f8a
2016-08-10 00:12:22 +00:00
Jim Miller
1b3261902d Bind fingerprint when we start authentication am: 837fa7e56d
am: 3871272fc6

Change-Id: I950703c466265ec5e164f6e75772800745579d34
2016-08-10 00:06:16 +00:00
Jim Miller
3871272fc6 Bind fingerprint when we start authentication
am: 837fa7e56d

Change-Id: Id2e84b60102653598e6d459e83835739b57ef404
2016-08-09 23:58:11 +00:00
TreeHugger Robot
e11059694a Merge "Bind fingerprint when we start authentication" into nyc-mr1-dev 2016-08-09 23:50:41 +00:00
Chong Zhang
717b2b9cd0 Merge "Put activity into stopped state if recreated while stopped" 2016-08-09 22:48:11 +00:00
Chong Zhang
fec694eca1 Put activity into stopped state if recreated while stopped
Move handling of recreate from client side to AMS, so that relaunch
happens at the right condition and activity goes to right state
after it's relaunched.

bug: 30060825
Change-Id: Ia475c26927b305eb25ae12be8640aab1fb7677a0
2016-08-09 15:19:02 -07:00
Hemal Patel
36316ed2ea Docs: Fixed the link that loads Fragments guide am: a8e1c75bf6 am: dabee01e9b am: 3547fd0642
am: b4bd409237

Change-Id: If00a0e3c869e6dba3e844ad59b5607f1b411f649
2016-08-09 21:27:21 +00:00
Hemal Patel
b4bd409237 Docs: Fixed the link that loads Fragments guide am: a8e1c75bf6 am: dabee01e9b
am: 3547fd0642

Change-Id: I325c16b92f193be2ff701da64e3896979441d6e7
2016-08-09 21:19:50 +00:00
Hemal Patel
5f573a891e Docs: Fixed the link that loads Fragments guide am: a8e1c75bf6 am: dabee01e9b
am: f8c0a138fb

Change-Id: Ica3e6f96b4e55991dd946fd3d73ac725c477d03e
2016-08-09 21:18:56 +00:00
Hemal Patel
f8c0a138fb Docs: Fixed the link that loads Fragments guide am: a8e1c75bf6
am: dabee01e9b

Change-Id: I6a17d73c3dab8980c57e9f6c9617bb465c48f1a5
2016-08-09 21:10:40 +00:00
Hemal Patel
3547fd0642 Docs: Fixed the link that loads Fragments guide am: a8e1c75bf6
am: dabee01e9b

Change-Id: I6e3156f2990ddfd73b34015be8a09c972729d26e
2016-08-09 21:10:34 +00:00
Hemal Patel
dabee01e9b Docs: Fixed the link that loads Fragments guide
am: a8e1c75bf6

Change-Id: I26ea32ff32067d86fb5390103eec737b293ac031
2016-08-09 21:03:13 +00:00
Dianne Hackborn
b34cbedb4e Fix issue #30766518: Document what targeting N does
Also small documentation cleanup in a few other places.

Change-Id: I16581c751aa0ffa146faba3b140a8fa2170f4520
2016-08-09 13:21:24 -07:00
Chad Brubaker
495f3f5d99 Merge "Add stub isCTVerificationRequired methods" am: 5b63231a31 am: 6e1f860c6a am: 10943c69a2
am: 46c354f75c

Change-Id: If5da76eebffea8c0be8995422d62694f622a337a
2016-08-09 20:10:01 +00:00
Chad Brubaker
46c354f75c Merge "Add stub isCTVerificationRequired methods" am: 5b63231a31 am: 6e1f860c6a
am: 10943c69a2

Change-Id: I51870e48ab7519ef75e1a2643ab5af76918f46db
2016-08-09 19:59:10 +00:00
Chad Brubaker
10943c69a2 Merge "Add stub isCTVerificationRequired methods" am: 5b63231a31
am: 6e1f860c6a

Change-Id: I5c1f4d9785e56777e37da614ed6515113ae277c1
2016-08-09 19:50:35 +00:00
Chad Brubaker
6e1f860c6a Merge "Add stub isCTVerificationRequired methods"
am: 5b63231a31

Change-Id: Ica40dc0da1821aa47825e615f0f3b629e0358568
2016-08-09 19:43:50 +00:00
Adrian Roos
c4337a3569 Notification: Reuse drawable in Header if Icon unchanged
Mitigates an issue where a LevelListDrawable would constantly
be reloaded even if unchanged. To avoid this, small icons are
now only reloaded if they no longer point to the same resource.

Note that StatusBarIconView already has this logic.

Change-Id: I6be436e5cef7b7ca91a28edc413b1aaa0f1007d5
Fixes: 30496073
2016-08-09 12:31:20 -07:00
Chad Brubaker
5b63231a31 Merge "Add stub isCTVerificationRequired methods" 2016-08-09 19:13:01 +00:00