OSDN Git Service

android-x86/frameworks-base.git
8 years agoam 1fa7384a: Merge changes Ie8264c4d,Ic83ac0f1 into mnc-dr-dev
Jorim Jaggi [Thu, 20 Aug 2015 02:24:56 +0000 (02:24 +0000)]
am 1fa7384a: Merge changes Ie8264c4d,Ic83ac0f1 into mnc-dr-dev

* commit '1fa7384a101450c4619ed43e176d5a54aa0a54f3':
  Fix jank in wake-and-unlock while pulsing
  Don't call authenticate immediately after getting valid fingerprint

8 years agoMerge changes Ie8264c4d,Ic83ac0f1 into mnc-dr-dev
Jorim Jaggi [Thu, 20 Aug 2015 02:18:20 +0000 (02:18 +0000)]
Merge changes Ie8264c4d,Ic83ac0f1 into mnc-dr-dev

* changes:
  Fix jank in wake-and-unlock while pulsing
  Don't call authenticate immediately after getting valid fingerprint

8 years agoam 2af6ec51: am c14cbac4: Merge "Fix issue #23361510: Increase assist timeout from...
Dianne Hackborn [Thu, 20 Aug 2015 02:12:22 +0000 (02:12 +0000)]
am 2af6ec51: am c14cbac4: Merge "Fix issue #23361510: Increase assist timeout from 500ms to 1 second" into mnc-dev

* commit '2af6ec5198ed6edf7576c19a358afddcc4068ff7':
  Fix issue #23361510: Increase assist timeout from 500ms to 1 second

8 years agoam c14cbac4: Merge "Fix issue #23361510: Increase assist timeout from 500ms to 1...
Dianne Hackborn [Thu, 20 Aug 2015 02:03:31 +0000 (02:03 +0000)]
am c14cbac4: Merge "Fix issue #23361510: Increase assist timeout from 500ms to 1 second" into mnc-dev

* commit 'c14cbac4a3e76d924621b34367cc8b6bcf977908':
  Fix issue #23361510: Increase assist timeout from 500ms to 1 second

8 years agoMerge "Fix issue #23361510: Increase assist timeout from 500ms to 1 second" into...
Dianne Hackborn [Thu, 20 Aug 2015 01:56:02 +0000 (01:56 +0000)]
Merge "Fix issue #23361510: Increase assist timeout from 500ms to 1 second" into mnc-dev

8 years agoFix issue #23361510: Increase assist timeout from 500ms to 1 second
Dianne Hackborn [Thu, 20 Aug 2015 01:54:38 +0000 (18:54 -0700)]
Fix issue #23361510: Increase assist timeout from 500ms to 1 second

Actually, timeout is okay, but need to schedule it on UI thread.

Change-Id: I5b4ffa7caa33815a5223e3ddd08d4809bc7cf7b6

8 years agoam bbb5717d: am f3ad1eab: Merge "Pass underlying volume UUID to StorageVolume." into...
Jeff Sharkey [Thu, 20 Aug 2015 01:44:05 +0000 (01:44 +0000)]
am bbb5717d: am f3ad1eab: Merge "Pass underlying volume UUID to StorageVolume." into mnc-dev

* commit 'bbb5717dee12ec37e0fcc6c186e1f80b9890e987':
  Pass underlying volume UUID to StorageVolume.

8 years agoam 37c11800: Don\'t animate in the navigation bar when going to full shade
Jorim Jaggi [Thu, 20 Aug 2015 01:44:01 +0000 (01:44 +0000)]
am 37c11800: Don\'t animate in the navigation bar when going to full shade

* commit '37c11800600bae4f5fe0d4a1df9a8e7e91475574':
  Don't animate in the navigation bar when going to full shade

8 years agoam f3ad1eab: Merge "Pass underlying volume UUID to StorageVolume." into mnc-dev
Jeff Sharkey [Thu, 20 Aug 2015 01:33:59 +0000 (01:33 +0000)]
am f3ad1eab: Merge "Pass underlying volume UUID to StorageVolume." into mnc-dev

* commit 'f3ad1eabc1fa5252165bfe1516690d1026507f0a':
  Pass underlying volume UUID to StorageVolume.

8 years agoDon't animate in the navigation bar when going to full shade
Jorim Jaggi [Wed, 19 Aug 2015 03:27:54 +0000 (20:27 -0700)]
Don't animate in the navigation bar when going to full shade

Fixes some jank.

Bug: 22537253
Change-Id: Ia816fea6274e38cc2b18e2f28008b3a8341d37f7

8 years agoam 28f1794f: am 6a21a5a1: am 9f4ddca9: am 56c22d29: Merge "Docs: Creating interactive...
David Friedman [Thu, 20 Aug 2015 01:32:46 +0000 (01:32 +0000)]
am 28f1794f: am 6a21a5a1: am 9f4ddca9: am 56c22d29: Merge "Docs: Creating interactive watch faces Bug: 21721463" into mnc-preview-docs

* commit '28f1794f446b1790c5211451e00fc50d00b4269c':
  Docs: Creating interactive watch faces Bug: 21721463

8 years agoMerge "Pass underlying volume UUID to StorageVolume." into mnc-dev
Jeff Sharkey [Thu, 20 Aug 2015 01:28:30 +0000 (01:28 +0000)]
Merge "Pass underlying volume UUID to StorageVolume." into mnc-dev

8 years agoam 96a3c9a7: am 6540375a: am 311f8eee: am ed54f60a: Merge "Docs: Updating, clarifying...
David Friedman [Thu, 20 Aug 2015 01:24:08 +0000 (01:24 +0000)]
am 96a3c9a7: am 6540375a: am 311f8eee: am ed54f60a: Merge "Docs: Updating, clarifying Debug-over-WiFi instructions. Bug: 21371836" into mnc-preview-docs

* commit '96a3c9a7430452f47fb39080cef932c979622519':
  Docs: Updating, clarifying Debug-over-WiFi instructions. Bug: 21371836

8 years agoam 6a21a5a1: am 9f4ddca9: am 56c22d29: Merge "Docs: Creating interactive watch faces...
David Friedman [Thu, 20 Aug 2015 01:24:02 +0000 (01:24 +0000)]
am 6a21a5a1: am 9f4ddca9: am 56c22d29: Merge "Docs: Creating interactive watch faces Bug: 21721463" into mnc-preview-docs

* commit '6a21a5a142dad98c7bc678a9c9d0859d7558da4b':
  Docs: Creating interactive watch faces Bug: 21721463

8 years agoam 9f4ddca9: am 56c22d29: Merge "Docs: Creating interactive watch faces Bug: 21721463...
David Friedman [Thu, 20 Aug 2015 01:15:08 +0000 (01:15 +0000)]
am 9f4ddca9: am 56c22d29: Merge "Docs: Creating interactive watch faces Bug: 21721463" into mnc-preview-docs

* commit '9f4ddca909e1f7d4274da3282a05494d6fb2f3f9':
  Docs: Creating interactive watch faces Bug: 21721463

8 years agoam 6540375a: am 311f8eee: am ed54f60a: Merge "Docs: Updating, clarifying Debug-over...
David Friedman [Thu, 20 Aug 2015 01:14:52 +0000 (01:14 +0000)]
am 6540375a: am 311f8eee: am ed54f60a: Merge "Docs: Updating, clarifying Debug-over-WiFi instructions. Bug: 21371836" into mnc-preview-docs

* commit '6540375add2eafe9734ea6a54ebaa2c0587608e8':
  Docs: Updating, clarifying Debug-over-WiFi instructions. Bug: 21371836

8 years agoam 311f8eee: am ed54f60a: Merge "Docs: Updating, clarifying Debug-over-WiFi instructi...
David Friedman [Thu, 20 Aug 2015 01:06:29 +0000 (01:06 +0000)]
am 311f8eee: am ed54f60a: Merge "Docs: Updating, clarifying Debug-over-WiFi instructions. Bug: 21371836" into mnc-preview-docs

* commit '311f8eeee04937a08dd3576aaab74be19645c14e':
  Docs: Updating, clarifying Debug-over-WiFi instructions. Bug: 21371836

8 years agoam 56c22d29: Merge "Docs: Creating interactive watch faces Bug: 21721463" into mnc...
David Friedman [Thu, 20 Aug 2015 00:57:50 +0000 (00:57 +0000)]
am 56c22d29: Merge "Docs: Creating interactive watch faces Bug: 21721463" into mnc-preview-docs

* commit '56c22d29b8727e55073cede04b51e65eb6125b9f':
  Docs: Creating interactive watch faces Bug: 21721463

8 years agoMerge "Docs: Creating interactive watch faces Bug: 21721463" into mnc-preview-docs
David Friedman [Thu, 20 Aug 2015 00:44:58 +0000 (00:44 +0000)]
Merge "Docs: Creating interactive watch faces Bug: 21721463" into mnc-preview-docs

8 years agoDocs: Creating interactive watch faces
David Friedman [Wed, 15 Jul 2015 05:42:53 +0000 (22:42 -0700)]
Docs: Creating interactive watch faces
Bug: 21721463

Training module and related API-reference documentation. This is new
material for Android Wear D(iamond) release.

Change-Id: I9959bca50fd96812abd7cfb693139986bc59b133

8 years agoFix jank in wake-and-unlock while pulsing
Jorim Jaggi [Wed, 19 Aug 2015 02:55:53 +0000 (19:55 -0700)]
Fix jank in wake-and-unlock while pulsing

- Don't hide keyguard after the animation is done, because this
would cause a measure in the middle of the fade animation.
- Don't use a layer for the notification panel in this case - we
don't need it and it only adds latency.
- Speed up the whole thing a bit because the animation is now
smoother.

Bug: 23225107
Change-Id: Ie8264c4d0e62bd6a78227e04b9900b4348ddd649

8 years agoDon't call authenticate immediately after getting valid fingerprint
Jorim Jaggi [Wed, 19 Aug 2015 02:49:04 +0000 (19:49 -0700)]
Don't call authenticate immediately after getting valid fingerprint

After gettin a callback onAuthenticationSucceded we set the
fingerprint listening state to false. However, when waking up, we
immediately started listening again because the state was false.
Protect against that by only calling authenticate only once, except
when the unlock doesn't go through because unlocking with fingerprint
is not allowed.

Also fixes some animation "jank" because of the state messup.

Bug: 23304421
Change-Id: Ic83ac0f1590dd4f8017bb55dca9e19a60cfdf99f

8 years agoam a6562603: am 1e9bfc64: Fix incorrect android.telecom.Call.Details equality check.
Tyler Gunn [Wed, 19 Aug 2015 22:41:14 +0000 (22:41 +0000)]
am a6562603: am 1e9bfc64: Fix incorrect android.telecom.Call.Details equality check.

* commit 'a65626031017517331fd402541b5e8f072c46a34':
  Fix incorrect android.telecom.Call.Details equality check.

8 years agoam ed54f60a: Merge "Docs: Updating, clarifying Debug-over-WiFi instructions. Bug...
David Friedman [Wed, 19 Aug 2015 22:31:15 +0000 (22:31 +0000)]
am ed54f60a: Merge "Docs: Updating, clarifying Debug-over-WiFi instructions. Bug: 21371836" into mnc-preview-docs

* commit 'ed54f60ae4d57ed1e9cc963fc3baf5de91d51c53':
  Docs: Updating, clarifying Debug-over-WiFi instructions. Bug: 21371836

8 years agoam 1e9bfc64: Fix incorrect android.telecom.Call.Details equality check.
Tyler Gunn [Wed, 19 Aug 2015 22:29:51 +0000 (22:29 +0000)]
am 1e9bfc64: Fix incorrect android.telecom.Call.Details equality check.

* commit '1e9bfc6461d3fe5455c9d7a21414ec66695b5798':
  Fix incorrect android.telecom.Call.Details equality check.

8 years agoMerge "Docs: Updating, clarifying Debug-over-WiFi instructions. Bug: 21371836" into...
David Friedman [Wed, 19 Aug 2015 22:21:41 +0000 (22:21 +0000)]
Merge "Docs: Updating, clarifying Debug-over-WiFi instructions. Bug: 21371836" into mnc-preview-docs

8 years agoDocs: Updating, clarifying Debug-over-WiFi instructions.
David Friedman [Thu, 23 Jul 2015 16:05:08 +0000 (09:05 -0700)]
Docs: Updating, clarifying Debug-over-WiFi instructions.
Bug: 21371836

Change-Id: Ieef63c416c85f778e4b00ef08b434040709c2493

8 years agoPass underlying volume UUID to StorageVolume.
Jeff Sharkey [Wed, 19 Aug 2015 21:15:33 +0000 (14:15 -0700)]
Pass underlying volume UUID to StorageVolume.

To help MediaProvider uniquely identify storage devices, pass through
the UUID of the underlying private storage volume.

Bug: 23329611
Change-Id: I22ee7ea98fcb208d7797310acb3396a3f074f09b

8 years agoam 0257c82f: am 11e84bde: Merge "Don\'t mark NetworkRequests restricted when they...
Lorenzo Colitti [Wed, 19 Aug 2015 21:01:33 +0000 (21:01 +0000)]
am 0257c82f: am 11e84bde: Merge "Don\'t mark NetworkRequests restricted when they don\'t have restricted caps" into mnc-dev

* commit '0257c82fa122243e97e4a1f4ef4bc4b8c21bd692':
  Don't mark NetworkRequests restricted when they don't have restricted caps

8 years agoam 06a86644: Merge "Fix wakelock leak for dozing" into mnc-dr-dev
Adrian Roos [Wed, 19 Aug 2015 21:01:28 +0000 (21:01 +0000)]
am 06a86644: Merge "Fix wakelock leak for dozing" into mnc-dr-dev

* commit '06a86644cca0621696afc38db02f2fe2010f120c':
  Fix wakelock leak for dozing

8 years agoam 11e84bde: Merge "Don\'t mark NetworkRequests restricted when they don\'t have...
Lorenzo Colitti [Wed, 19 Aug 2015 20:54:48 +0000 (20:54 +0000)]
am 11e84bde: Merge "Don\'t mark NetworkRequests restricted when they don\'t have restricted caps" into mnc-dev

* commit '11e84bde9e98cb4b777a67208989d259883e9375':
  Don't mark NetworkRequests restricted when they don't have restricted caps

8 years agoFix incorrect android.telecom.Call.Details equality check.
Tyler Gunn [Wed, 19 Aug 2015 18:18:58 +0000 (11:18 -0700)]
Fix incorrect android.telecom.Call.Details equality check.

The the android.telecom.Call.Details class provides its own equals
implementation.  Recently added in M is to also check if the mExtras
and mIntentExtras are different.  Unfortunately, Bundles do not implement
equals.  As a result when Telecom calls are parceled and sent to the
InCallServices, this means that the internalUpdate method will always
assume that the Details of a call have changed, even if they have not.
This was causing a LOT of extra calls to onUpdate in the InCall UI (2x the
amount).  Although there is still room for improvement in the number of
callbacks from Telecom, this fix prevents a pretty significant regression
on that front.

Bug: 23218195
Change-Id: I128e996faf60376ed3df1dc848a97c4a7b0482ee

8 years agoMerge "Fix wakelock leak for dozing" into mnc-dr-dev
Adrian Roos [Wed, 19 Aug 2015 20:50:04 +0000 (20:50 +0000)]
Merge "Fix wakelock leak for dozing" into mnc-dr-dev

8 years agoMerge "Don't mark NetworkRequests restricted when they don't have restricted caps...
Lorenzo Colitti [Wed, 19 Aug 2015 20:48:31 +0000 (20:48 +0000)]
Merge "Don't mark NetworkRequests restricted when they don't have restricted caps" into mnc-dev

8 years agoam c3aa7f3a: Merge "Camera2: Handle surface size change" into mnc-dr-dev
Chien-Yu Chen [Wed, 19 Aug 2015 20:48:27 +0000 (20:48 +0000)]
am c3aa7f3a: Merge "Camera2: Handle surface size change" into mnc-dr-dev

* commit 'c3aa7f3a7564f36db58d8a9a5470fd64f6fa282b':
  Camera2: Handle surface size change

8 years agoMerge "Camera2: Handle surface size change" into mnc-dr-dev
Chien-Yu Chen [Wed, 19 Aug 2015 20:40:11 +0000 (20:40 +0000)]
Merge "Camera2: Handle surface size change" into mnc-dr-dev

8 years agoam e1df482c: am e3de6c5d: Merge "Fix crashes when removing work profile" into mnc-dev
Amith Yamasani [Wed, 19 Aug 2015 20:25:26 +0000 (20:25 +0000)]
am e1df482c: am e3de6c5d: Merge "Fix crashes when removing work profile" into mnc-dev

* commit 'e1df482c173d975923dba2d3cf644f5a0fadee17':
  Fix crashes when removing work profile

8 years agoam e3de6c5d: Merge "Fix crashes when removing work profile" into mnc-dev
Amith Yamasani [Wed, 19 Aug 2015 20:19:28 +0000 (20:19 +0000)]
am e3de6c5d: Merge "Fix crashes when removing work profile" into mnc-dev

* commit 'e3de6c5df5a94e627c5ee0f188cbb066233a3dd0':
  Fix crashes when removing work profile

8 years agoFix wakelock leak for dozing
Jorim Jaggi [Wed, 19 Aug 2015 20:01:19 +0000 (13:01 -0700)]
Fix wakelock leak for dozing

Bug: 23344235
Change-Id: I7f4233cfe15bdd3e8cc5f01a70707bdde9fc1737

8 years agoMerge "Fix crashes when removing work profile" into mnc-dev
Amith Yamasani [Wed, 19 Aug 2015 20:10:30 +0000 (20:10 +0000)]
Merge "Fix crashes when removing work profile" into mnc-dev

8 years agoam 5c577bab: am 29cd8808: Merge "Fix issue #23326715: Clarify --checkin/-c options...
Dianne Hackborn [Wed, 19 Aug 2015 18:39:56 +0000 (18:39 +0000)]
am 5c577bab: am 29cd8808: Merge "Fix issue #23326715: Clarify --checkin/-c options in batterystats" into mnc-dev

* commit '5c577bab3b4cd9bf74a09368be5d73aed627f6a5':
  Fix issue #23326715: Clarify --checkin/-c options in batterystats

8 years agoam 29cd8808: Merge "Fix issue #23326715: Clarify --checkin/-c options in batterystats...
Dianne Hackborn [Wed, 19 Aug 2015 18:31:20 +0000 (18:31 +0000)]
am 29cd8808: Merge "Fix issue #23326715: Clarify --checkin/-c options in batterystats" into mnc-dev

* commit '29cd880890825ce15a1b2da977bcb1796db6f4e3':
  Fix issue #23326715: Clarify --checkin/-c options in batterystats

8 years agoMerge "Fix issue #23326715: Clarify --checkin/-c options in batterystats" into mnc-dev
Dianne Hackborn [Wed, 19 Aug 2015 18:25:29 +0000 (18:25 +0000)]
Merge "Fix issue #23326715: Clarify --checkin/-c options in batterystats" into mnc-dev

8 years agoam 399237f8: (-s ours) Merge "Import translations. DO NOT MERGE" into mnc-dr-dev
Geoff Mendal [Wed, 19 Aug 2015 16:18:11 +0000 (16:18 +0000)]
am 399237f8: (-s ours) Merge "Import translations. DO NOT MERGE" into mnc-dr-dev

* commit '399237f825863f8d52336778debde8c54313cca2':
  Import translations. DO NOT MERGE

8 years agoam f2f01148: Merge "Launched camera in the correct user." into mnc-dr-dev
Zhentao Sun [Wed, 19 Aug 2015 16:18:06 +0000 (16:18 +0000)]
am f2f01148: Merge "Launched camera in the correct user." into mnc-dr-dev

* commit 'f2f0114848e5fb729bf5943a70142520f66daa4c':
  Launched camera in the correct user.

8 years agoMerge "Import translations. DO NOT MERGE" into mnc-dr-dev
Geoff Mendal [Wed, 19 Aug 2015 16:15:00 +0000 (16:15 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dr-dev

8 years agoMerge "Launched camera in the correct user." into mnc-dr-dev
Zhentao Sun [Wed, 19 Aug 2015 16:12:25 +0000 (16:12 +0000)]
Merge "Launched camera in the correct user." into mnc-dr-dev

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 19 Aug 2015 16:00:52 +0000 (11:00 -0500)]
Import translations. DO NOT MERGE

Change-Id: Ibf82892f48ab6cc0b5aa3eb2460859afa8e44332
Auto-generated-cl: translation import

8 years agoDon't mark NetworkRequests restricted when they don't have restricted caps
Paul Jensen [Wed, 19 Aug 2015 15:06:15 +0000 (11:06 -0400)]
Don't mark NetworkRequests restricted when they don't have restricted caps

Requests without NET_CAPABILITIES_INTERNET and just the default network
capabilities should not be marked restricted.  Without this fix apps
can hit permissions exceptions if they inadvertently make requests
without NET_CAPABILITIES_INTERNET.

Bug:23164917
Change-Id: I4c7136821315bcb05dfc42ffbc505a5d4f6109e6

8 years agoam 81d99d47: (-s ours) Merge "Import translations. DO NOT MERGE" into mnc-dr-dev
Geoff Mendal [Wed, 19 Aug 2015 14:15:26 +0000 (14:15 +0000)]
am 81d99d47: (-s ours) Merge "Import translations. DO NOT MERGE" into mnc-dr-dev

* commit '81d99d47831153cfa71afaa1831b7a1e025e3069':
  Import translations. DO NOT MERGE

8 years agoMerge "Import translations. DO NOT MERGE" into mnc-dr-dev
Geoff Mendal [Wed, 19 Aug 2015 14:07:13 +0000 (14:07 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dr-dev

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 19 Aug 2015 14:02:46 +0000 (07:02 -0700)]
Import translations. DO NOT MERGE

Change-Id: I13d19cb68c1b7b7880e2168e621c377c2b750b1b
Auto-generated-cl: translation import

8 years agoam c2e81a0c: (-s ours) Import translations. DO NOT MERGE
Geoff Mendal [Wed, 19 Aug 2015 14:02:25 +0000 (14:02 +0000)]
am c2e81a0c: (-s ours) Import translations. DO NOT MERGE

* commit 'c2e81a0c2d95c0eee54975cb62b6c535171d74ee':
  Import translations. DO NOT MERGE

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 19 Aug 2015 13:53:44 +0000 (06:53 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ifd3cfe65e9a82e21d6a1611368dcbe9d6dfee829
Auto-generated-cl: translation import

8 years agoam b960e75e: am 8b8fa3e9: Fix SysUI crash when no metadata is provided
Jorim Jaggi [Wed, 19 Aug 2015 02:27:04 +0000 (02:27 +0000)]
am b960e75e: am 8b8fa3e9: Fix SysUI crash when no metadata is provided

* commit 'b960e75e52176bc4edc709aba71535b32e2d9970':
  Fix SysUI crash when no metadata is provided

8 years agoam 8b8fa3e9: Fix SysUI crash when no metadata is provided
Jorim Jaggi [Wed, 19 Aug 2015 02:20:10 +0000 (02:20 +0000)]
am 8b8fa3e9: Fix SysUI crash when no metadata is provided

* commit '8b8fa3e934e3ddf01790e647b4401dc88b24bf67':
  Fix SysUI crash when no metadata is provided

8 years agoFix SysUI crash when no metadata is provided
Jorim Jaggi [Wed, 19 Aug 2015 01:33:49 +0000 (18:33 -0700)]
Fix SysUI crash when no metadata is provided

Bug: 23327474
Change-Id: I4903c0812c9677e1b31e1f645e3d6f1a03150c38

8 years agoam 27c1a728: am f610bd78: Fix race conditions for camera prewarm service
Jorim Jaggi [Wed, 19 Aug 2015 01:13:37 +0000 (01:13 +0000)]
am 27c1a728: am f610bd78: Fix race conditions for camera prewarm service

* commit '27c1a728c8dd5d9b6051d4169eb47ef16c31e5a7':
  Fix race conditions for camera prewarm service

8 years agoam 0835f33a: Merge "Improve motion for wake-and-unlocking while pulsing" into mnc...
Jorim Jaggi [Wed, 19 Aug 2015 01:13:32 +0000 (01:13 +0000)]
am 0835f33a: Merge "Improve motion for wake-and-unlocking while pulsing" into mnc-dr-dev

* commit '0835f33a4de14d62c433b36d1b08daff9166e9b3':
  Improve motion for wake-and-unlocking while pulsing

8 years agoam 394686ef: Merge "Fix race condition for doze mode and wake-and-unlocking" into...
Jorim Jaggi [Wed, 19 Aug 2015 01:13:28 +0000 (01:13 +0000)]
am 394686ef: Merge "Fix race condition for doze mode and wake-and-unlocking" into mnc-dr-dev

* commit '394686efbb51e7c05e230c4ad3695fadc3aa85a0':
  Fix race condition for doze mode and wake-and-unlocking

8 years agoam f610bd78: Fix race conditions for camera prewarm service
Jorim Jaggi [Wed, 19 Aug 2015 01:08:27 +0000 (01:08 +0000)]
am f610bd78: Fix race conditions for camera prewarm service

* commit 'f610bd78b2cf574faa197ed9f21128ac7795a407':
  Fix race conditions for camera prewarm service

8 years agoMerge "Improve motion for wake-and-unlocking while pulsing" into mnc-dr-dev
Jorim Jaggi [Wed, 19 Aug 2015 01:04:58 +0000 (01:04 +0000)]
Merge "Improve motion for wake-and-unlocking while pulsing" into mnc-dr-dev

8 years agoMerge "Fix race condition for doze mode and wake-and-unlocking" into mnc-dr-dev
Jorim Jaggi [Wed, 19 Aug 2015 01:04:54 +0000 (01:04 +0000)]
Merge "Fix race condition for doze mode and wake-and-unlocking" into mnc-dr-dev

8 years agoam 892768fb: am 0b804542: Merge "Constrain drawBitmap matrix-to-rect optimization...
Chris Craik [Wed, 19 Aug 2015 00:59:24 +0000 (00:59 +0000)]
am 892768fb: am 0b804542: Merge "Constrain drawBitmap matrix-to-rect optimization" into mnc-dev

* commit '892768fb3efa6bde3f24ffa09a013fa76cab855e':
  Constrain drawBitmap matrix-to-rect optimization

8 years agoam df23f371: am c9ecc985: Merge "Add some bookmarks to plugin-for-gradle page" into...
Tenghui Zhu [Wed, 19 Aug 2015 00:59:19 +0000 (00:59 +0000)]
am df23f371: am c9ecc985: Merge "Add some bookmarks to plugin-for-gradle page" into mnc-dev

* commit 'df23f37105747918921099e7618b4071358fac92':
  Add some bookmarks to plugin-for-gradle page

8 years agoam f17a4f42: am 54bdb2e7: Merge "docs: Updated hardware system images for M." into...
Quddus Chong [Wed, 19 Aug 2015 00:59:15 +0000 (00:59 +0000)]
am f17a4f42: am 54bdb2e7: Merge "docs: Updated hardware system images for M." into mnc-dev

* commit 'f17a4f4257d8e18439ba894435ba2d112e757753':
  docs: Updated hardware system images for M.

8 years agoam bda9b324: am 886e7a63: Merge "Change default cellular activity timeout to 10"...
Adam Lesinski [Wed, 19 Aug 2015 00:59:10 +0000 (00:59 +0000)]
am bda9b324: am 886e7a63: Merge "Change default cellular activity timeout to 10" into mnc-dev

* commit 'bda9b324c88b70514109f2d9ffc937ca3202fd03':
  Change default cellular activity timeout to 10

8 years agoam ee2cfe48: Only call authenticate when we are not listening yet
Jorim Jaggi [Wed, 19 Aug 2015 00:59:06 +0000 (00:59 +0000)]
am ee2cfe48: Only call authenticate when we are not listening yet

* commit 'ee2cfe48d4fb36906c59c2ae545808dba01f90d8':
  Only call authenticate when we are not listening yet

8 years agoImprove motion for wake-and-unlocking while pulsing
Jorim Jaggi [Tue, 18 Aug 2015 00:38:58 +0000 (17:38 -0700)]
Improve motion for wake-and-unlocking while pulsing

- Move all fingerprint related to logic in on central class in
SystemUI that knows all the state of the UI so there is exactly ONE
place in which we decide what to do when we acquire a fingerprint.
- When pulsing and we get a valid finger, we fade the contents of the
Keyguard out and fade the scrim out almost the same way as we would do
in a normal wake-and-unlock sequence.
- Hide shadows while dozing, so we don't see the artifacts when we fade
the dozed Keyguard out.

Bug: 23225107
Change-Id: I82f78e61f2530cf7d507ade80f6f0a340c082567

8 years agoam 0b804542: Merge "Constrain drawBitmap matrix-to-rect optimization" into mnc-dev
Chris Craik [Wed, 19 Aug 2015 00:54:00 +0000 (00:54 +0000)]
am 0b804542: Merge "Constrain drawBitmap matrix-to-rect optimization" into mnc-dev

* commit '0b8045425ff58f992046ff2be35bc91001dabf7b':
  Constrain drawBitmap matrix-to-rect optimization

8 years agoam c9ecc985: Merge "Add some bookmarks to plugin-for-gradle page" into mnc-dev
Tenghui Zhu [Wed, 19 Aug 2015 00:53:52 +0000 (00:53 +0000)]
am c9ecc985: Merge "Add some bookmarks to plugin-for-gradle page" into mnc-dev

* commit 'c9ecc985947462e3032fdd3b1c6abc0d5b5b1084':
  Add some bookmarks to plugin-for-gradle page

8 years agoam 54bdb2e7: Merge "docs: Updated hardware system images for M." into mnc-dev
Quddus Chong [Wed, 19 Aug 2015 00:53:39 +0000 (00:53 +0000)]
am 54bdb2e7: Merge "docs: Updated hardware system images for M." into mnc-dev

* commit '54bdb2e732de98ae2829101570dc29970e377fa3':
  docs: Updated hardware system images for M.

8 years agoam 886e7a63: Merge "Change default cellular activity timeout to 10" into mnc-dev
Adam Lesinski [Wed, 19 Aug 2015 00:53:35 +0000 (00:53 +0000)]
am 886e7a63: Merge "Change default cellular activity timeout to 10" into mnc-dev

* commit '886e7a63b122a30c69c663d32e3e5f880a07593e':
  Change default cellular activity timeout to 10

8 years agoOnly call authenticate when we are not listening yet
Jorim Jaggi [Tue, 18 Aug 2015 22:25:09 +0000 (15:25 -0700)]
Only call authenticate when we are not listening yet

Bug: 23304421
Change-Id: I5c589ba8992039ca995138d7d74abd123b911a5c

8 years agoFix issue #23326715: Clarify --checkin/-c options in batterystats
Dianne Hackborn [Wed, 19 Aug 2015 00:33:00 +0000 (17:33 -0700)]
Fix issue #23326715: Clarify --checkin/-c options in batterystats

Change-Id: I3f026447ba7c6d2c3f9ef065269c31a78cf73512

8 years agoLaunched camera in the correct user.
Zhentao Sun [Fri, 14 Aug 2015 22:57:18 +0000 (15:57 -0700)]
Launched camera in the correct user.

Fixed b/23325974.
The camera was always launched in the device owner's profile. Now it can
work with secondary users.

Change-Id: I826b341a7e73a9dd603dd5df7aa31bfaf4d440c4

8 years agoFix race conditions for camera prewarm service
Jorim Jaggi [Tue, 18 Aug 2015 03:17:30 +0000 (20:17 -0700)]
Fix race conditions for camera prewarm service

When the unbind request came in before the service was actually
bound, we dropped the unbind request because mPrewarmBound was still
false. Fix that by tracking whether a bind is pending and if a unbind
event comes in during that time, set another flag to unbind it
directly again when the service is actually bound. In addition, don't
allow binding again if any of the previous events are still pending.

Bug: 23143748
Change-Id: I2b8ace86e35479a9848668a3462a2ce687835413

8 years agoMerge "Constrain drawBitmap matrix-to-rect optimization" into mnc-dev
Chris Craik [Tue, 18 Aug 2015 23:51:11 +0000 (23:51 +0000)]
Merge "Constrain drawBitmap matrix-to-rect optimization" into mnc-dev

8 years agoFix crashes when removing work profile
Amith Yamasani [Tue, 18 Aug 2015 21:32:14 +0000 (14:32 -0700)]
Fix crashes when removing work profile

This isn't specific to work profile. When multiple user
deletions happen in sequence, a race causes a dying user
to lose permissions prematurely. This fix delays removal of
user state until the user is completely cleaned up and all the
processes have been killed.

Bug: 23178833
Change-Id: I1636bc2022416359a25f19a3f65d113c05289cd3

8 years agoam bea9d7b9: Merge "Reset fingerprint lockout timer when strong auth is used." into...
Jim Miller [Tue, 18 Aug 2015 23:18:36 +0000 (23:18 +0000)]
am bea9d7b9: Merge "Reset fingerprint lockout timer when strong auth is used." into mnc-dr-dev

* commit 'bea9d7b94cfa16da8f257ed705e218b017d459a7':
  Reset fingerprint lockout timer when strong auth is used.

8 years agoMerge "Add some bookmarks to plugin-for-gradle page" into mnc-dev
Tenghui Zhu [Tue, 18 Aug 2015 23:13:12 +0000 (23:13 +0000)]
Merge "Add some bookmarks to plugin-for-gradle page" into mnc-dev

8 years agoMerge "Reset fingerprint lockout timer when strong auth is used." into mnc-dr-dev
Jim Miller [Tue, 18 Aug 2015 23:12:18 +0000 (23:12 +0000)]
Merge "Reset fingerprint lockout timer when strong auth is used." into mnc-dr-dev

8 years agoCamera2: Handle surface size change
Chien-Yu Chen [Tue, 18 Aug 2015 19:46:39 +0000 (12:46 -0700)]
Camera2: Handle surface size change

When comparing if two OutputConfigurations are equal, also check
the width, height, format, dataspace when the output configurations
were created. With this, CameraDeviceImpl knows that the surface has
changed sizes and will reconfigure the stream.

Bug: 12250682
Change-Id: Ie5965d242b2017b87a76d26cdc2f6b700082e002

8 years agoMerge "docs: Updated hardware system images for M." into mnc-dev
Quddus Chong [Tue, 18 Aug 2015 22:03:21 +0000 (22:03 +0000)]
Merge "docs: Updated hardware system images for M." into mnc-dev

8 years agoConstrain drawBitmap matrix-to-rect optimization
Chris Craik [Tue, 18 Aug 2015 21:52:52 +0000 (14:52 -0700)]
Constrain drawBitmap matrix-to-rect optimization

bug:22962165

Optimization is not valid if matrix would flip image.

Change-Id: Ieee42390517bd3466b7d94596f0fbbe192ab757e

8 years agodocs: Updated hardware system images for M.
Quddus Chong [Tue, 18 Aug 2015 19:59:24 +0000 (12:59 -0700)]
docs: Updated hardware system images for M.

Change-Id: Ied1658cd2c3052e4c6cf23aa18b65b291d03dbc6

8 years agoMerge "Change default cellular activity timeout to 10" into mnc-dev
Adam Lesinski [Tue, 18 Aug 2015 20:43:34 +0000 (20:43 +0000)]
Merge "Change default cellular activity timeout to 10" into mnc-dev

8 years agoam 358fcc79: Do not start with a black frame in bootanimation
Jorim Jaggi [Tue, 18 Aug 2015 20:33:08 +0000 (20:33 +0000)]
am 358fcc79: Do not start with a black frame in bootanimation

* commit '358fcc795ea567ba086a460c587de427507fefdd':
  Do not start with a black frame in bootanimation

8 years agoDo not start with a black frame in bootanimation
Jorim Jaggi [Wed, 12 Aug 2015 03:23:56 +0000 (20:23 -0700)]
Do not start with a black frame in bootanimation

Bug: 23128307
Change-Id: I0ec044f983c1c30960be046e43a882c63205dc5f

8 years agoam 33a5c807: resolved conflicts for merge of 448216e7 to mnc-dr-dev
Jim Miller [Tue, 18 Aug 2015 20:15:10 +0000 (20:15 +0000)]
am 33a5c807: resolved conflicts for merge of 448216e7 to mnc-dr-dev

* commit '33a5c80773b7b2913c92fec170787499a453d184':
  Revert "Disable fingerprint when remotely reset by DPM"

8 years agoresolved conflicts for merge of 448216e7 to mnc-dr-dev
Jim Miller [Tue, 18 Aug 2015 20:07:25 +0000 (13:07 -0700)]
resolved conflicts for merge of 448216e7 to mnc-dr-dev

Change-Id: Ic83b34ab6114e2ffe6e08961eaea07110efc5cc5

8 years agoam 2ad94499: Merge "Use init to write usb typec props." into mnc-dr-dev
Tim Kilbourn [Tue, 18 Aug 2015 20:02:47 +0000 (20:02 +0000)]
am 2ad94499: Merge "Use init to write usb typec props." into mnc-dr-dev

* commit '2ad94499697d79dc41489ab873527411f88b3f15':
  Use init to write usb typec props.

8 years agoReset fingerprint lockout timer when strong auth is used.
Jim Miller [Thu, 13 Aug 2015 03:30:34 +0000 (20:30 -0700)]
Reset fingerprint lockout timer when strong auth is used.

Fixes bug 22565462

Change-Id: I4842877839845e7fe103396d8ca8104928568c04

8 years agoMerge "Use init to write usb typec props." into mnc-dr-dev
Tim Kilbourn [Tue, 18 Aug 2015 19:54:46 +0000 (19:54 +0000)]
Merge "Use init to write usb typec props." into mnc-dr-dev

8 years agoam 57928364: am 53c38c88: Merge "Revert "Create a special CONSTRAINED font bucket...
Roozbeh Pournader [Tue, 18 Aug 2015 19:44:49 +0000 (19:44 +0000)]
am 57928364: am 53c38c88: Merge "Revert "Create a special CONSTRAINED font bucket in frameworks."" into mnc-dev

* commit '579283647e110538651fa812ceb15bc7f44e50a8':
  Revert "Create a special CONSTRAINED font bucket in frameworks."

8 years agoam 53c38c88: Merge "Revert "Create a special CONSTRAINED font bucket in frameworks...
Roozbeh Pournader [Tue, 18 Aug 2015 19:37:16 +0000 (19:37 +0000)]
am 53c38c88: Merge "Revert "Create a special CONSTRAINED font bucket in frameworks."" into mnc-dev

* commit '53c38c8819e2497f8272e7615d34aaa4ae052adf':
  Revert "Create a special CONSTRAINED font bucket in frameworks."

8 years agoMerge "Revert "Disable fingerprint when remotely reset by DPM"" into mnc-dev
Jim Miller [Tue, 18 Aug 2015 19:32:01 +0000 (19:32 +0000)]
Merge "Revert "Disable fingerprint when remotely reset by DPM"" into mnc-dev

8 years agoMerge "Revert "Create a special CONSTRAINED font bucket in frameworks."" into mnc-dev
Roozbeh Pournader [Tue, 18 Aug 2015 19:29:47 +0000 (19:29 +0000)]
Merge "Revert "Create a special CONSTRAINED font bucket in frameworks."" into mnc-dev

8 years agoRevert "Create a special CONSTRAINED font bucket in frameworks."
Roozbeh Pournader [Tue, 18 Aug 2015 19:17:13 +0000 (12:17 -0700)]
Revert "Create a special CONSTRAINED font bucket in frameworks."

This reverts commit 9e21eced5efacd605036be599d96974964deb09b.

Bug: 22929087

8 years agoChange default cellular activity timeout to 10
Adam Lesinski [Tue, 18 Aug 2015 18:47:07 +0000 (11:47 -0700)]
Change default cellular activity timeout to 10

LTE radios take 10 seconds to power down, so we should set the
activity timeout to 10 seconds.

Bug:23294704
Change-Id: I7478b77f134b0fe2d82e39acd5c370add12735ca