OSDN Git Service

android-x86/frameworks-base.git
8 years agoMake updateSurface non-blocking
John Reck [Wed, 10 Aug 2016 17:33:06 +0000 (17:33 +0000)]
Make updateSurface non-blocking
am: cd68212f08

Change-Id: I691e5a2979e92572440ad7c410e8f0cec6169beb

8 years agoMerge "Fix fingerprint swipe gesture settings for secondary users." into nyc-mr1-dev
Doris Ling [Wed, 10 Aug 2016 17:18:27 +0000 (17:18 +0000)]
Merge "Fix fingerprint swipe gesture settings for secondary users." into nyc-mr1-dev
am: fc5efaeabc

Change-Id: I8bd1878d0e7547e1f2a180ca53eb3bbb0ecfdb93

8 years agoFix fingerprint swipe gesture settings for secondary users.
Doris Ling [Wed, 10 Aug 2016 17:18:25 +0000 (17:18 +0000)]
Fix fingerprint swipe gesture settings for secondary users.
am: 34331b7ca9

Change-Id: I42ab349b7fa5dfd789a5dcabb3aebf88683421f6

8 years agoMerge "Fix fingerprint swipe gesture settings for secondary users." into nyc-mr1-dev
Doris Ling [Wed, 10 Aug 2016 17:08:12 +0000 (17:08 +0000)]
Merge "Fix fingerprint swipe gesture settings for secondary users." into nyc-mr1-dev

8 years agoMerge "Notification: Reuse drawable in Header if Icon unchanged" into nyc-mr1-dev
Adrian Roos [Wed, 10 Aug 2016 17:06:19 +0000 (17:06 +0000)]
Merge "Notification: Reuse drawable in Header if Icon unchanged" into nyc-mr1-dev
am: d4a95806ab

Change-Id: I5320868dd605bca45838cc8b32c0789e0bb60106

8 years agoNotification: Reuse drawable in Header if Icon unchanged
Adrian Roos [Wed, 10 Aug 2016 17:06:17 +0000 (17:06 +0000)]
Notification: Reuse drawable in Header if Icon unchanged
am: c4337a3569

Change-Id: I8e7da247e9b4d9a9acd46c29ca29d34409bb9453

8 years agoMerge "Notification: Reuse drawable in Header if Icon unchanged" into nyc-mr1-dev
Adrian Roos [Wed, 10 Aug 2016 16:52:14 +0000 (16:52 +0000)]
Merge "Notification: Reuse drawable in Header if Icon unchanged" into nyc-mr1-dev

8 years agoMerge "Zygote: Better logging for setgroups failures." into nyc-mr1-dev
Narayan Kamath [Wed, 10 Aug 2016 08:43:35 +0000 (08:43 +0000)]
Merge "Zygote: Better logging for setgroups failures." into nyc-mr1-dev
am: ab6e7c3502

Change-Id: I905496f5a4f1111346da571c7051d526e2821f95

8 years agoZygote: Better logging for setgroups failures.
Narayan Kamath [Wed, 10 Aug 2016 08:43:33 +0000 (08:43 +0000)]
Zygote: Better logging for setgroups failures.
am: 593aab732d

Change-Id: I97a4a932377f2231e86393d7047b76b1369b0df1

8 years agoMerge "Zygote: Better logging for setgroups failures." into nyc-mr1-dev
Narayan Kamath [Wed, 10 Aug 2016 08:32:42 +0000 (08:32 +0000)]
Merge "Zygote: Better logging for setgroups failures." into nyc-mr1-dev

8 years agoTwilightService v2.0
Justin Klaassen [Wed, 10 Aug 2016 06:00:53 +0000 (06:00 +0000)]
TwilightService v2.0
am: 908b86c796

Change-Id: I167cb9dfa140b61261ae88f76b332f6115b36a3a

8 years agoTwilightService v2.0
Justin Klaassen [Mon, 8 Aug 2016 16:18:42 +0000 (09:18 -0700)]
TwilightService v2.0

- Switched to using CalendarAstronomer for more accurate sunrise/sunset
  times.
- Exposed sunrise/sunset times via TwilightState so that clients can
  track the current twilight period and perform their own
  interpolations.
- Adopted LocationRequest API for fused location updates:
  (low power, min 1h, max 10m).
- TwilightService is now only activated when a listener is registered,
  minimizing impact to system health on platforms / configurations
  where twilight state is not needed.

Bug: 28588307
Bug: 30190450
Bug: 30282370
Bug: 30650316
Change-Id: Ic5c94d8608e8bb3a3d895e623676a1468d4abdcd

8 years agoMerge "Fix up some comments in IPv6 tethering code." into nyc-mr1-dev
Erik Kline [Wed, 10 Aug 2016 02:39:08 +0000 (02:39 +0000)]
Merge "Fix up some comments in IPv6 tethering code." into nyc-mr1-dev
am: 3cc5d047a7

Change-Id: Ida9d04e4d7185ad5cbe95898f3af80194002f9d2

8 years agoFix up some comments in IPv6 tethering code.
Erik Kline [Wed, 10 Aug 2016 02:39:05 +0000 (02:39 +0000)]
Fix up some comments in IPv6 tethering code.
am: d1dcbefe06

Change-Id: Icb77a16f14591aa54cc0302b8a7bd9b377ec5eea

8 years agoMerge "Fixing admins not being removed from DpmMockContext" into nyc-mr1-dev
Suprabh Shukla [Wed, 10 Aug 2016 02:39:02 +0000 (02:39 +0000)]
Merge "Fixing admins not being removed from DpmMockContext" into nyc-mr1-dev
am: 521e27d652

Change-Id: Id595e024e1c899c2014feb0c39bb1ca15a1fe70c

8 years agoFixing admins not being removed from DpmMockContext
Suprabh Shukla [Wed, 10 Aug 2016 02:39:00 +0000 (02:39 +0000)]
Fixing admins not being removed from DpmMockContext
am: 3cb2b49f44

Change-Id: I9baefc5e069a2b8d37fa2b6c1e55d9eaebd02f26

8 years agoMerge "Fix up some comments in IPv6 tethering code." into nyc-mr1-dev
TreeHugger Robot [Wed, 10 Aug 2016 02:24:12 +0000 (02:24 +0000)]
Merge "Fix up some comments in IPv6 tethering code." into nyc-mr1-dev

8 years agoMerge "Fixing admins not being removed from DpmMockContext" into nyc-mr1-dev
TreeHugger Robot [Wed, 10 Aug 2016 02:23:53 +0000 (02:23 +0000)]
Merge "Fixing admins not being removed from DpmMockContext" into nyc-mr1-dev

8 years agoMerge "Fix setVrThread's exception handling." into nyc-mr1-dev
Ruben Brunk [Wed, 10 Aug 2016 01:16:00 +0000 (01:16 +0000)]
Merge "Fix setVrThread's exception handling." into nyc-mr1-dev
am: 8d84bc861f

Change-Id: Ie52a81999359574e2c0cff826ae62bc3b7dc247f

8 years agoFix setVrThread's exception handling.
Ruben Brunk [Wed, 10 Aug 2016 01:15:58 +0000 (01:15 +0000)]
Fix setVrThread's exception handling.
am: 83ea55a9c6

Change-Id: Ib2c9df68c2352efe21ebb9d8f2d6997afadd492f

8 years agoFix up some comments in IPv6 tethering code.
Erik Kline [Wed, 10 Aug 2016 01:00:32 +0000 (10:00 +0900)]
Fix up some comments in IPv6 tethering code.

Bug: 30298058
Change-Id: Icc99e772898b8303d8f2f8521784e2cb5c2afacc

8 years agoMerge "Fix setVrThread's exception handling." into nyc-mr1-dev
Ruben Brunk [Wed, 10 Aug 2016 00:59:26 +0000 (00:59 +0000)]
Merge "Fix setVrThread's exception handling." into nyc-mr1-dev

8 years agoMerge "Handle setting and deprecating local DNS IPv6 addresses" into nyc-mr1-dev
Erik Kline [Wed, 10 Aug 2016 00:58:03 +0000 (00:58 +0000)]
Merge "Handle setting and deprecating local DNS IPv6 addresses" into nyc-mr1-dev
am: c14748b366

Change-Id: I43a8576a8aabc30f447caa062c3730b2160aec6b

8 years agoHandle setting and deprecating local DNS IPv6 addresses
Erik Kline [Wed, 10 Aug 2016 00:58:01 +0000 (00:58 +0000)]
Handle setting and deprecating local DNS IPv6 addresses
am: fa37b2f613

Change-Id: I36b01b7b0fbed07b4279c7f35af20592248cf11d

8 years agoMerge "Fix issue #30766518: Document what targeting N does" into nyc-mr1-dev
Dianne Hackborn [Wed, 10 Aug 2016 00:57:58 +0000 (00:57 +0000)]
Merge "Fix issue #30766518: Document what targeting N does" into nyc-mr1-dev
am: 75cdd5f68f

Change-Id: I721ca6ee9471b53c6857609241f2f55d7c11e8ee

8 years agoFix issue #30766518: Document what targeting N does
Dianne Hackborn [Wed, 10 Aug 2016 00:57:54 +0000 (00:57 +0000)]
Fix issue #30766518: Document what targeting N does
am: b34cbedb4e

Change-Id: I2d2c45ef1dc9528b2b84778532edebac8a9e7712

8 years agoFixing admins not being removed from DpmMockContext
Suprabh Shukla [Wed, 10 Aug 2016 00:20:57 +0000 (17:20 -0700)]
Fixing admins not being removed from DpmMockContext

We were not calling setActiveAdmin before calling setDeviceOwner or
setProfileOwner in these tests. They were passing because the admins
were not being properly removed in the first place. The admin is
actually removed from the admin list inside onReceive of the receiver
passed in sendOrderedBroadcastForUser, which was not overridden to call
onReceive in DpmMockContext.

Bug: 30726135
Change-Id: I08cab5821228738196b229a8f885f7488aaafa34

8 years agoMerge "Handle setting and deprecating local DNS IPv6 addresses" into nyc-mr1-dev
Erik Kline [Wed, 10 Aug 2016 00:47:56 +0000 (00:47 +0000)]
Merge "Handle setting and deprecating local DNS IPv6 addresses" into nyc-mr1-dev

8 years agoMerge "Fix issue #30766518: Document what targeting N does" into nyc-mr1-dev
Dianne Hackborn [Wed, 10 Aug 2016 00:45:54 +0000 (00:45 +0000)]
Merge "Fix issue #30766518: Document what targeting N does" into nyc-mr1-dev

8 years agoFix setVrThread's exception handling.
Ruben Brunk [Wed, 10 Aug 2016 00:30:13 +0000 (17:30 -0700)]
Fix setVrThread's exception handling.

Bug: 30746129
Change-Id: I49ee29f12b52c9f9f5f061508c5cc8c89fd1cd11

8 years agoMerge "Bind fingerprint when we start authentication" into nyc-mr1-dev
Jim Miller [Tue, 9 Aug 2016 23:58:13 +0000 (23:58 +0000)]
Merge "Bind fingerprint when we start authentication" into nyc-mr1-dev
am: e11059694a

Change-Id: I2aaaecd00927ea1dd00ad9a493f5c58a3bc4ddf6

8 years agoBind fingerprint when we start authentication
Jim Miller [Tue, 9 Aug 2016 23:58:11 +0000 (23:58 +0000)]
Bind fingerprint when we start authentication
am: 837fa7e56d

Change-Id: Id2e84b60102653598e6d459e83835739b57ef404

8 years agoMerge "Put the affordance launch animation back on the renderthread" into nyc-mr1-dev
Selim Cinek [Tue, 9 Aug 2016 23:52:29 +0000 (23:52 +0000)]
Merge "Put the affordance launch animation back on the renderthread" into nyc-mr1-dev
am: 00a6c2979b

Change-Id: I2430bd0bee50ed7087c59b1ebce873e3094d5451

8 years agoPut the affordance launch animation back on the renderthread
Selim Cinek [Tue, 9 Aug 2016 23:52:27 +0000 (23:52 +0000)]
Put the affordance launch animation back on the renderthread
am: 4ae263c87c

Change-Id: I675c8a8a4403de9f735e39b03bf185678a601c3c

8 years agoMerge "Bind fingerprint when we start authentication" into nyc-mr1-dev
TreeHugger Robot [Tue, 9 Aug 2016 23:50:40 +0000 (23:50 +0000)]
Merge "Bind fingerprint when we start authentication" into nyc-mr1-dev

8 years agoMerge "Put the affordance launch animation back on the renderthread" into nyc-mr1-dev
Selim Cinek [Tue, 9 Aug 2016 23:41:35 +0000 (23:41 +0000)]
Merge "Put the affordance launch animation back on the renderthread" into nyc-mr1-dev

8 years agoMerge "Rescan apps after restore and re-publish manifest shortcuts" into nyc-mr1-dev
Makoto Onuki [Tue, 9 Aug 2016 23:34:02 +0000 (23:34 +0000)]
Merge "Rescan apps after restore and re-publish manifest shortcuts" into nyc-mr1-dev
am: a63469076e

Change-Id: Icd75a843474dd613412cbc3cc083908f96fb54d0

8 years agoRescan apps after restore and re-publish manifest shortcuts
Makoto Onuki [Tue, 9 Aug 2016 23:33:59 +0000 (23:33 +0000)]
Rescan apps after restore and re-publish manifest shortcuts
am: 377b7970ad

Change-Id: I2da62270e106408a7fec91d7442c239457be3d04

8 years agoMerge "Rescan apps after restore and re-publish manifest shortcuts" into nyc-mr1-dev
TreeHugger Robot [Tue, 9 Aug 2016 23:22:40 +0000 (23:22 +0000)]
Merge "Rescan apps after restore and re-publish manifest shortcuts" into nyc-mr1-dev

8 years agoMerge "Add missing null check to AppErrors#handleAppCrashLocked" into nyc-mr1-dev
Erik Wolsheimer [Tue, 9 Aug 2016 21:55:27 +0000 (21:55 +0000)]
Merge "Add missing null check to AppErrors#handleAppCrashLocked" into nyc-mr1-dev
am: 002dd29764

Change-Id: I9ae51ec34a606904c027cc8f987db29160cb3b78

8 years agoAdd missing null check to AppErrors#handleAppCrashLocked
Erik Wolsheimer [Tue, 9 Aug 2016 21:55:25 +0000 (21:55 +0000)]
Add missing null check to AppErrors#handleAppCrashLocked
am: b2b3b64417

Change-Id: I52ae2660aa36dccd8bb28d189999d4d842834497

8 years agoMerge "Add missing null check to AppErrors#handleAppCrashLocked" into nyc-mr1-dev
TreeHugger Robot [Tue, 9 Aug 2016 21:48:06 +0000 (21:48 +0000)]
Merge "Add missing null check to AppErrors#handleAppCrashLocked" into nyc-mr1-dev

8 years agoRescan apps after restore and re-publish manifest shortcuts
Makoto Onuki [Tue, 9 Aug 2016 21:43:55 +0000 (14:43 -0700)]
Rescan apps after restore and re-publish manifest shortcuts

Originally when I wrote backup & restore for ShortcutManager,
there was no manifest shortcuts, so there was no need to
handle preintalled apps specially.

However, now we have manifest shortcuts, which are published
when the user is unlocked, by the time restore happens preinstalled
apps may already have manifest shortcuts, which will be overwritten
by the restored shortcuts.

So we need to re-publish manifest shortcuts after restore.

Bug 30746028

Change-Id: I6afbae7790c9ed38483637f33c381ecb6f854677

8 years agoMerge "Fix navigation bar in seascape in BackdropFrameRenderer" into nyc-mr1-dev
Jorim Jaggi [Tue, 9 Aug 2016 21:37:29 +0000 (21:37 +0000)]
Merge "Fix navigation bar in seascape in BackdropFrameRenderer" into nyc-mr1-dev
am: 529319d81d

Change-Id: I5f6e8d98188b829592357570cef8d4cebd045ca3

8 years agoFix navigation bar in seascape in BackdropFrameRenderer
Jorim Jaggi [Tue, 9 Aug 2016 21:37:24 +0000 (21:37 +0000)]
Fix navigation bar in seascape in BackdropFrameRenderer
am: 9a7d0a5f84

Change-Id: If63b339fd838172fb084ccf664b7d90dce5d2254

8 years agoMerge "Fix navigation bar in seascape in BackdropFrameRenderer" into nyc-mr1-dev
TreeHugger Robot [Tue, 9 Aug 2016 21:29:03 +0000 (21:29 +0000)]
Merge "Fix navigation bar in seascape in BackdropFrameRenderer" into nyc-mr1-dev

8 years agoMerge "Docs: Fixed the link that loads Fragments guide" into nyc-docs am: 5ca44906c6...
Hemal Patel [Tue, 9 Aug 2016 21:18:58 +0000 (21:18 +0000)]
Merge "Docs: Fixed the link that loads Fragments guide" into nyc-docs am: 5ca44906c6 am: b6962dee09
am: 4e79fcdc0a

Change-Id: Ifc74e8b7c208ef070ce2aaf3d5113245cf1d1273

8 years agoDocs: Fixed the link that loads Fragments guide am: a8e1c75bf6 am: dabee01e9b
Hemal Patel [Tue, 9 Aug 2016 21:18:56 +0000 (21:18 +0000)]
Docs: Fixed the link that loads Fragments guide am: a8e1c75bf6 am: dabee01e9b
am: f8c0a138fb

Change-Id: Ica3e6f96b4e55991dd946fd3d73ac725c477d03e

8 years agoMerge "Docs: Changed custom_toast to toast_layout" into nyc-docs am: a70c722c77 am...
Hemal Patel [Tue, 9 Aug 2016 21:18:54 +0000 (21:18 +0000)]
Merge "Docs: Changed custom_toast to toast_layout" into nyc-docs am: a70c722c77 am: 3c49a4b761
am: ee3c5b3cd5

Change-Id: I9005ea88dbf6a3c257b9c50bebae5b6f2b0ca77a

8 years agoDocs: Changed custom_toast to toast_layout am: 3b7309d753 am: ca17f5b8e3
Hemal Patel [Tue, 9 Aug 2016 21:18:37 +0000 (21:18 +0000)]
Docs: Changed custom_toast to toast_layout am: 3b7309d753 am: ca17f5b8e3
am: ed51cf2c85

Change-Id: Iaf5a7aef73e22b9a536a62966567f93c86c6f2a9

8 years agoMerge "Docs: Fixed the link that loads Fragments guide" into nyc-docs am: 5ca44906c6
Hemal Patel [Tue, 9 Aug 2016 21:10:42 +0000 (21:10 +0000)]
Merge "Docs: Fixed the link that loads Fragments guide" into nyc-docs am: 5ca44906c6
am: b6962dee09

Change-Id: I5145db9e35199969ada9c38a6c5c972725af178b

8 years agoDocs: Fixed the link that loads Fragments guide am: a8e1c75bf6
Hemal Patel [Tue, 9 Aug 2016 21:10:40 +0000 (21:10 +0000)]
Docs: Fixed the link that loads Fragments guide am: a8e1c75bf6
am: dabee01e9b

Change-Id: I6a17d73c3dab8980c57e9f6c9617bb465c48f1a5

8 years agoMerge "Docs: Changed custom_toast to toast_layout" into nyc-docs am: a70c722c77
Hemal Patel [Tue, 9 Aug 2016 21:10:37 +0000 (21:10 +0000)]
Merge "Docs: Changed custom_toast to toast_layout" into nyc-docs am: a70c722c77
am: 3c49a4b761

Change-Id: Ib00803734137a0a4c3a704e45c45c66e246e586b

8 years agoDocs: Changed custom_toast to toast_layout am: 3b7309d753
Hemal Patel [Tue, 9 Aug 2016 21:10:35 +0000 (21:10 +0000)]
Docs: Changed custom_toast to toast_layout am: 3b7309d753
am: ca17f5b8e3

Change-Id: Ief6d2b58e26b4510b00ecb07a5efba180276cd37

8 years agoMerge "Docs: Fixed the link that loads Fragments guide" into nyc-docs
Hemal Patel [Tue, 9 Aug 2016 21:03:19 +0000 (21:03 +0000)]
Merge "Docs: Fixed the link that loads Fragments guide" into nyc-docs
am: 5ca44906c6

Change-Id: I4286b4a8e0766f7c3ca2d7e5ebd5c9f2b296fbb9

8 years agoDocs: Fixed the link that loads Fragments guide
Hemal Patel [Tue, 9 Aug 2016 21:03:13 +0000 (21:03 +0000)]
Docs: Fixed the link that loads Fragments guide
am: a8e1c75bf6

Change-Id: I26ea32ff32067d86fb5390103eec737b293ac031

8 years agoMerge "Docs: Changed custom_toast to toast_layout" into nyc-docs
Hemal Patel [Tue, 9 Aug 2016 21:03:06 +0000 (21:03 +0000)]
Merge "Docs: Changed custom_toast to toast_layout" into nyc-docs
am: a70c722c77

Change-Id: I6e1d0d70d5d4b89b083cb74272f064bebf6a273a

8 years agoDocs: Changed custom_toast to toast_layout
Hemal Patel [Tue, 9 Aug 2016 21:03:00 +0000 (21:03 +0000)]
Docs: Changed custom_toast to toast_layout
am: 3b7309d753

Change-Id: I3d85fb321e27643227c568127870c7ad07650c41

8 years agoMerge "Docs: Fixed the link that loads Fragments guide" into nyc-docs
Hemal Patel [Tue, 9 Aug 2016 20:55:34 +0000 (20:55 +0000)]
Merge "Docs: Fixed the link that loads Fragments guide" into nyc-docs

8 years agoMerge "Docs: Changed custom_toast to toast_layout" into nyc-docs
Hemal Patel [Tue, 9 Aug 2016 20:53:11 +0000 (20:53 +0000)]
Merge "Docs: Changed custom_toast to toast_layout" into nyc-docs

8 years agoAdd missing null check to AppErrors#handleAppCrashLocked
Erik Wolsheimer [Fri, 5 Aug 2016 16:24:07 +0000 (09:24 -0700)]
Add missing null check to AppErrors#handleAppCrashLocked

BUG: 30692618
Change-Id: Ibe3589e1248520067714d5a20963a17935789066
(cherry picked from commit dc74142c74bf37e0ddcbe6ec7d76f57191815b44)

8 years agoFix issue #30766518: Document what targeting N does
Dianne Hackborn [Tue, 9 Aug 2016 20:18:21 +0000 (13:18 -0700)]
Fix issue #30766518: Document what targeting N does

Also small documentation cleanup in a few other places.

Change-Id: I16581c751aa0ffa146faba3b140a8fa2170f4520

8 years agoMerge "Fix @link tags in keystore doc" into nyc-docs am: 3188f77658 am: 7218af3f9a
Shawn Willden [Tue, 9 Aug 2016 19:43:15 +0000 (19:43 +0000)]
Merge "Fix @link tags in keystore doc" into nyc-docs am: 3188f77658 am: 7218af3f9a
am: 58635e74ed

Change-Id: Ie3ba00057e4b44c41520af58fd27dfbbb412f3ca

8 years agoFix @link tags in keystore doc am: 3f0526ea09 am: 9e8b4ad9c9
Shawn Willden [Tue, 9 Aug 2016 19:43:10 +0000 (19:43 +0000)]
Fix @link tags in keystore doc am: 3f0526ea09 am: 9e8b4ad9c9
am: e5d71c4cfa

Change-Id: I5b488b48ca27365bf4066acd1df4bc40a08660f1

8 years agoMerge "Fix @link tags in keystore doc" into nyc-docs am: 3188f77658
Shawn Willden [Tue, 9 Aug 2016 19:38:05 +0000 (19:38 +0000)]
Merge "Fix @link tags in keystore doc" into nyc-docs am: 3188f77658
am: 7218af3f9a

Change-Id: I302b1dce1cff57b6f1cd5da3d6619984c80fde92

8 years agoFix @link tags in keystore doc am: 3f0526ea09
Shawn Willden [Tue, 9 Aug 2016 19:38:00 +0000 (19:38 +0000)]
Fix @link tags in keystore doc am: 3f0526ea09
am: 9e8b4ad9c9

Change-Id: Iadb16bd13d4bb525805dd0266aea046c4c472309

8 years agoNotification: Reuse drawable in Header if Icon unchanged
Adrian Roos [Wed, 3 Aug 2016 01:30:34 +0000 (18:30 -0700)]
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

8 years agoMerge "ContextHub: Avoid reference leaks" into cw-f-dev
Andrew Rossignol [Tue, 9 Aug 2016 19:17:31 +0000 (19:17 +0000)]
Merge "ContextHub: Avoid reference leaks" into cw-f-dev

8 years agoMake updateSurface non-blocking
John Reck [Tue, 9 Aug 2016 19:09:03 +0000 (12:09 -0700)]
Make updateSurface non-blocking

Bug: 30442298

We already do this for initialize(), fix
it so that update() is parallel with the
UI thread as well.

Shaves ~7ms off of the 99th percentile on
NotificationShade open & close

Change-Id: I1791df495453fb9e1e12362c68e3d20e837e62be

8 years agoMerge "Clean up zen rules and permissions immediately on uninstall." into nyc-mr1-dev
Julia Reynolds [Tue, 9 Aug 2016 19:10:46 +0000 (19:10 +0000)]
Merge "Clean up zen rules and permissions immediately on uninstall." into nyc-mr1-dev
am: 6715c6abbd

Change-Id: I0d41f50144bb308f53c38ee4fa6e6d760adcb79e

8 years agoClean up zen rules and permissions immediately on uninstall.
Julia Reynolds [Tue, 9 Aug 2016 19:10:43 +0000 (19:10 +0000)]
Clean up zen rules and permissions immediately on uninstall.
am: 6434eb2e04

Change-Id: Id9c534ec4226f341909e151c6703b23b6c7b9af9

8 years agoFix fingerprint swipe gesture settings for secondary users.
Doris Ling [Tue, 9 Aug 2016 19:02:28 +0000 (12:02 -0700)]
Fix fingerprint swipe gesture settings for secondary users.

Change to use getIntForUser() when reading the secure settings value for
fingerprint swipe, as PhoneWindowManager always read as user 0 by
default.

Change-Id: I1d08a970b031f7bce4864c982e791678e1ef221b
Fixes: 30709756

8 years agoMerge "Fix @link tags in keystore doc" into nyc-docs
Shawn Willden [Tue, 9 Aug 2016 19:01:04 +0000 (19:01 +0000)]
Merge "Fix @link tags in keystore doc" into nyc-docs
am: 3188f77658

Change-Id: I4d30c3ad9f1d2d9d949e5f1ebc680f65c6925b99

8 years agoFix @link tags in keystore doc
Shawn Willden [Tue, 9 Aug 2016 19:01:00 +0000 (19:01 +0000)]
Fix @link tags in keystore doc
am: 3f0526ea09

Change-Id: I3162cbf57341ab231b84544c04e02d2062dbd304

8 years agoMerge "Clean up zen rules and permissions immediately on uninstall." into nyc-mr1-dev
TreeHugger Robot [Tue, 9 Aug 2016 18:59:32 +0000 (18:59 +0000)]
Merge "Clean up zen rules and permissions immediately on uninstall." into nyc-mr1-dev

8 years agoMerge "Limit number of recents entries for an app to maxRecents allowed." into nyc...
Wale Ogunwale [Tue, 9 Aug 2016 18:54:26 +0000 (18:54 +0000)]
Merge "Limit number of recents entries for an app to maxRecents allowed." into nyc-mr1-dev
am: 6529ab20fb

Change-Id: Ic38e99f4e4fc04e4d94212ae0c4fd70f5d3352f7

8 years agoLimit number of recents entries for an app to maxRecents allowed.
Wale Ogunwale [Tue, 9 Aug 2016 18:54:24 +0000 (18:54 +0000)]
Limit number of recents entries for an app to maxRecents allowed.
am: 847167fe3d

Change-Id: Ib97c8226fc18de59802aacd55b161a3188cab5b8

8 years agoContextHub: Avoid reference leaks
Andrew Rossignol [Tue, 9 Aug 2016 17:54:38 +0000 (10:54 -0700)]
ContextHub: Avoid reference leaks

The ContextHub HAL was leaking references in passOnOsResponse. An
example of this is when a sensor hub reset occurs. If many of these
resets happen, the local reference pool is exhausted and a crash
in the HAL occurs.

Bug: 30706325
Change-Id: Ica5328137a7033f512d7fb1ccf6fa138eab55091

8 years agoMerge "Fix @link tags in keystore doc" into nyc-docs
TreeHugger Robot [Tue, 9 Aug 2016 18:35:07 +0000 (18:35 +0000)]
Merge "Fix @link tags in keystore doc" into nyc-docs

8 years agoMerge "Limit number of recents entries for an app to maxRecents allowed." into nyc...
TreeHugger Robot [Tue, 9 Aug 2016 18:25:02 +0000 (18:25 +0000)]
Merge "Limit number of recents entries for an app to maxRecents allowed." into nyc-mr1-dev

8 years agoMerge "Fixes date and time picker to use integer values" into cw-f-dev
Matthew Tait [Tue, 9 Aug 2016 17:47:07 +0000 (17:47 +0000)]
Merge "Fixes date and time picker to use integer values" into cw-f-dev

8 years agoFixes date and time picker to use integer values
Matthew Tait [Tue, 9 Aug 2016 16:54:11 +0000 (17:54 +0100)]
Fixes date and time picker to use integer values

bug: 30676304
Change-Id: Ieb1f059153219d7e4fcd29afd38333fcc6448d25

8 years agoZygote: Better logging for setgroups failures.
Narayan Kamath [Tue, 9 Aug 2016 16:23:31 +0000 (17:23 +0100)]
Zygote: Better logging for setgroups failures.

bug: 28865594
Change-Id: I88590afe6a05e2d1967c9bca74c79de3871440b8

8 years agoMerge "BootAnimation system property to play sound." into nyc-mr1-dev
Geoffrey Pitsch [Tue, 9 Aug 2016 17:16:10 +0000 (17:16 +0000)]
Merge "BootAnimation system property to play sound." into nyc-mr1-dev
am: 3025e6be7f

Change-Id: I1cce85ae51f41d22cfb3fb2ff0f708f0b6ae43c1

8 years agoBootAnimation system property to play sound.
Geoffrey Pitsch [Tue, 9 Aug 2016 17:16:04 +0000 (17:16 +0000)]
BootAnimation system property to play sound.
am: 305087991d

Change-Id: I1e6e42828340b9656354952f09f6fbf95621e524

8 years agoMerge "BootAnimation system property to play sound." into nyc-mr1-dev
Geoffrey Pitsch [Tue, 9 Aug 2016 17:08:54 +0000 (17:08 +0000)]
Merge "BootAnimation system property to play sound." into nyc-mr1-dev

8 years agoClean up zen rules and permissions immediately on uninstall.
Julia Reynolds [Mon, 8 Aug 2016 21:19:26 +0000 (17:19 -0400)]
Clean up zen rules and permissions immediately on uninstall.

Change-Id: I8d03f4a4347b7d7bffbe267961c75ed5863a4113
Fixes: 30740759

8 years agoLimit number of recents entries for an app to maxRecents allowed.
Wale Ogunwale [Tue, 9 Aug 2016 16:21:10 +0000 (09:21 -0700)]
Limit number of recents entries for an app to maxRecents allowed.

Regression in the API caused by the fixes for b/28293748 and b/25460953
which prevented the task entries from been trimmed if the task don't
have the same intent filter (additional documents launched will normally
have different intent action/filter than the base activity) or it allows
multiple task entries.
We now trim when we go over the maxRecents allowed in both cases.

Bug: 30645949
Bug: 28293748
Bug: 25460953
Change-Id: I74c8ecc38f72a5d03c213dea8d3e62261d42f8f6

8 years agoFix navigation bar in seascape in BackdropFrameRenderer
Jorim Jaggi [Tue, 9 Aug 2016 11:47:20 +0000 (13:47 +0200)]
Fix navigation bar in seascape in BackdropFrameRenderer

Change-Id: I922aaf835011b236f4b4d34f249304e335c3318b
Fixes: 30670517

8 years agoHandle setting and deprecating local DNS IPv6 addresses
Erik Kline [Tue, 2 Aug 2016 09:27:03 +0000 (18:27 +0900)]
Handle setting and deprecating local DNS IPv6 addresses

[ IPv6TetheringCoordinator ]

  - Send CMD_IPV6_TETHER_UPDATE to all TetherInterfaceStateMachines.

This results in some spurious noop messages, but currently
the coordinator does not maintain state about which downstream interaces
are serving IPv6 and which are not.  Until it does maintain such state
it does not know to notify only the affected interfaces about a loss of
IPv6 upstream

[ IPv6TetheringInterfaceServices ]

    - De-dup incoming IPv6-only LinkProperties to avoid spurious updates
      to the RA daemon.
    - Keep track of new prefixes/dns and newly deprecated prefixes/dns
      on each update.
        - Set and remove local_network routes based on new and newly
          deprecated prefixes.
        - Set and remove local DNS server IP addresses based on new
          and newly deprecated DNS servers. Update dnsmasq via netd
          accordingly.
    - Pass newly deprecated and new information to the RA daemon.

[ RouterAdvertisementDaemon ]

    - Receive newly deprecated prefixes/DNS and update local tracking
      data structures accordingly.
    - Properly send urgent final deprecation RAs, and then cease all
      transmissions.

Bug: 30298058
Change-Id: Idc821603fa93bff1a821d1180d4135bc70e4a08d

8 years agoBind fingerprint when we start authentication
Jim Miller [Tue, 9 Aug 2016 03:16:22 +0000 (20:16 -0700)]
Bind fingerprint when we start authentication

This fixes a bug where it was possible to authenticate the wrong user.
We now bind the userId when we start authentication and confirm it when
authentication completes.

Fixes bug 30744668

Change-Id: I346d92c301414ed81e11fa9c171584c7ae4341c2

8 years agoMerge "Handle empty/unspecified crop properly in wallpaper restore" into nyc-mr1-dev
Christopher Tate [Tue, 9 Aug 2016 00:43:18 +0000 (00:43 +0000)]
Merge "Handle empty/unspecified crop properly in wallpaper restore" into nyc-mr1-dev
am: 0b26adbb8b

Change-Id: Ic7b8e2dc5bf39553b1036fad8e871b5fdb51c74f

8 years agoHandle empty/unspecified crop properly in wallpaper restore
Christopher Tate [Tue, 9 Aug 2016 00:43:16 +0000 (00:43 +0000)]
Handle empty/unspecified crop properly in wallpaper restore
am: dd7110db2b

Change-Id: I501a5e30a1b204436e722d363709d3d35d430d91

8 years agoMerge "Mark wallpaper as backupInForeground="true"" into nyc-mr1-dev
Christopher Tate [Tue, 9 Aug 2016 00:37:12 +0000 (00:37 +0000)]
Merge "Mark wallpaper as backupInForeground="true"" into nyc-mr1-dev
am: d5b0b9bb1f

Change-Id: I7c12efa23f81cad90cad9735c54c80fbdd4641dd

8 years agoMark wallpaper as backupInForeground="true"
Christopher Tate [Tue, 9 Aug 2016 00:37:10 +0000 (00:37 +0000)]
Mark wallpaper as backupInForeground="true"
am: 8f4c82691a

Change-Id: Idf7e60a44496584075a8f8f7b7958278f65439e3

8 years agoMerge "Handle empty/unspecified crop properly in wallpaper restore" into nyc-mr1-dev
TreeHugger Robot [Tue, 9 Aug 2016 00:34:07 +0000 (00:34 +0000)]
Merge "Handle empty/unspecified crop properly in wallpaper restore" into nyc-mr1-dev

8 years agoPut the affordance launch animation back on the renderthread
Selim Cinek [Tue, 9 Aug 2016 00:27:24 +0000 (17:27 -0700)]
Put the affordance launch animation back on the renderthread

Change-Id: I10f6b7062d9c6ca89e139ef6b67af30cb39adcb2
Fixes: 30484027

8 years agoMerge "Mark wallpaper as backupInForeground="true"" into nyc-mr1-dev
TreeHugger Robot [Tue, 9 Aug 2016 00:24:04 +0000 (00:24 +0000)]
Merge "Mark wallpaper as backupInForeground="true"" into nyc-mr1-dev

8 years agoMerge "Merge "docs: Revised "Optimizing Content for the Assistant" page." into nyc...
Kevin Hufnagle [Mon, 8 Aug 2016 23:57:44 +0000 (23:57 +0000)]
Merge "Merge "docs: Revised "Optimizing Content for the Assistant" page." into nyc-dev am: 87c2ed97b8" into nyc-mr1-dev
am: 0402936230

Change-Id: Idb74051cc189752d2262ed0d49a483199a30c674

8 years agoMerge "docs: Revised "Optimizing Content for the Assistant" page." into nyc-dev am...
Kevin Hufnagle [Mon, 8 Aug 2016 23:57:42 +0000 (23:57 +0000)]
Merge "docs: Revised "Optimizing Content for the Assistant" page." into nyc-dev am: 87c2ed97b8
am: 70f8ca8dff

Change-Id: I8259ec45647b0ac035255ca8e3539fd4d1fe96c5