OSDN Git Service

android-x86/frameworks-base.git
8 years agoam ab45a217: Make wake-and-unlock faster
Jorim Jaggi [Sat, 22 Aug 2015 00:16:34 +0000 (00:16 +0000)]
am ab45a217: Make wake-and-unlock faster

* commit 'ab45a217b0002dcf586d529ab8581cacbbfc37e9':
  Make wake-and-unlock faster

8 years agoam 86bed406: Fix fingerprint listening state race conditions
Jorim Jaggi [Sat, 22 Aug 2015 00:16:29 +0000 (00:16 +0000)]
am 86bed406: Fix fingerprint listening state race conditions

* commit '86bed40605e407459496ee2bfdf6b8af1ae1a581':
  Fix fingerprint listening state race conditions

8 years agoMake wake-and-unlock faster
Jorim Jaggi [Thu, 20 Aug 2015 23:59:44 +0000 (16:59 -0700)]
Make wake-and-unlock faster

- Scrims: When dismissing Keyguard, don't wait until the next frame
to start the animation. Saves 16ms
- Scrims: Skip first frame, because it's completely black anyways.
Saves 16ms.
- Don't wait with navigation bar to show until the screen has turned
on. Window manager is blocked on DisplayPowerController anyways, so
the animation will exactly be started when the screen turns on. Fixes
some jank as well.
- Window manager: Don't wait for the window below Keyguard for draw
completion until turning on screen. Saves a lot of time depending on
how the app is behaving.

Bug: 23401557
Change-Id: I9734f9a12143f0e3c0647e9aa066831a29a6de63

8 years agoFix fingerprint listening state race conditions
Jorim Jaggi [Fri, 21 Aug 2015 01:20:02 +0000 (18:20 -0700)]
Fix fingerprint listening state race conditions

When calling cancel() on the cancellation signal, it doesn't happen
immediately. Now, because of a state messup during boot, we go
through the sequence

startListeningForFingerprint
stopListeningForFingerprint
startListeningForFingerprint

However, the cancellation callback from stopListeningForFingeprint
happened AFTER the second startListeningForFingerprint, so we assumed
that fingerprint detection was not running anymore but in reality it
was - leading to weird states and all kinds of small state messups.

Introduce a state machine to track when we we called cancel but
waiting for the confirmation of FingerprintService in order to track
this properly.

Bug: 23380500
Change-Id: I403479fb749cf7c22b73611b69698e8b771777d0

8 years agoam 446c00a2: am cb59747d: Merge "Add missing removed permissions to the platform...
Svetoslav Ganov [Fri, 21 Aug 2015 12:49:42 +0000 (12:49 +0000)]
am 446c00a2: am cb59747d: Merge "Add missing removed permissions to the platform manifest" into mnc-dev

* commit '446c00a2919da5b4ea0bdf08f72ac4f95125ea45':
  Add missing removed permissions to the platform manifest

8 years agoam cb59747d: Merge "Add missing removed permissions to the platform manifest" into...
Svetoslav Ganov [Fri, 21 Aug 2015 12:41:29 +0000 (12:41 +0000)]
am cb59747d: Merge "Add missing removed permissions to the platform manifest" into mnc-dev

* commit 'cb59747de7222bc7310162c4174f7b460c34adef':
  Add missing removed permissions to the platform manifest

8 years agoMerge "Add missing removed permissions to the platform manifest" into mnc-dev
Svetoslav Ganov [Fri, 21 Aug 2015 12:34:37 +0000 (12:34 +0000)]
Merge "Add missing removed permissions to the platform manifest" into mnc-dev

8 years agoam 79cb3ef9: am 7cd2d343: am 852c6178: (-s ours) am b63e291d: am 88556ac2: am 599dc2b...
Sebastien Hertz [Fri, 21 Aug 2015 11:23:42 +0000 (11:23 +0000)]
am 79cb3ef9: am 7cd2d343: am 852c6178: (-s ours) am b63e291d: am 88556ac2: am 599dc2bd: am 50af68e7: am 55f86b18: (-s ours) am 9e7a0ddb: am 18089ceb: Allow debugging only for apps forked from zygote DO NOT MERGE

* commit '79cb3ef99eec49df785c1b93a743db32c1388af8':
  Allow debugging only for apps forked from zygote DO NOT MERGE

8 years agoam 7cd2d343: am 852c6178: (-s ours) am b63e291d: am 88556ac2: am 599dc2bd: am 50af68e...
Sebastien Hertz [Fri, 21 Aug 2015 11:14:23 +0000 (11:14 +0000)]
am 7cd2d343: am 852c6178: (-s ours) am b63e291d: am 88556ac2: am 599dc2bd: am 50af68e7: am 55f86b18: (-s ours) am 9e7a0ddb: am 18089ceb: Allow debugging only for apps forked from zygote DO NOT MERGE

* commit '7cd2d3431c157fa20576e84a8a9f04ba4f7e1dd9':
  Allow debugging only for apps forked from zygote DO NOT MERGE

8 years agoam 852c6178: (-s ours) am b63e291d: am 88556ac2: am 599dc2bd: am 50af68e7: am 55f86b1...
Sebastien Hertz [Fri, 21 Aug 2015 11:10:18 +0000 (11:10 +0000)]
am 852c6178: (-s ours) am b63e291d: am 88556ac2: am 599dc2bd: am 50af68e7: am 55f86b18: (-s ours) am 9e7a0ddb: am 18089ceb: Allow debugging only for apps forked from zygote DO NOT MERGE

* commit '852c6178629d3bdcd7d2c958379b0b71539f460f':
  Allow debugging only for apps forked from zygote DO NOT MERGE

8 years agoam b63e291d: am 88556ac2: am 599dc2bd: am 50af68e7: am 55f86b18: (-s ours) am 9e7a0dd...
Sebastien Hertz [Fri, 21 Aug 2015 11:02:27 +0000 (11:02 +0000)]
am b63e291d: am 88556ac2: am 599dc2bd: am 50af68e7: am 55f86b18: (-s ours) am 9e7a0ddb: am 18089ceb: Allow debugging only for apps forked from zygote DO NOT MERGE

* commit 'b63e291d05aa9522b2ef9b399936c52079820c3f':
  Allow debugging only for apps forked from zygote DO NOT MERGE

8 years agoam 88556ac2: am 599dc2bd: am 50af68e7: am 55f86b18: (-s ours) am 9e7a0ddb: am 18089ce...
Sebastien Hertz [Fri, 21 Aug 2015 10:53:07 +0000 (10:53 +0000)]
am 88556ac2: am 599dc2bd: am 50af68e7: am 55f86b18: (-s ours) am 9e7a0ddb: am 18089ceb: Allow debugging only for apps forked from zygote DO NOT MERGE

* commit '88556ac22157ddfe154be6ee7c8853e0a81dc83c':
  Allow debugging only for apps forked from zygote DO NOT MERGE

8 years agoam 599dc2bd: am 50af68e7: am 55f86b18: (-s ours) am 9e7a0ddb: am 18089ceb: Allow...
Sebastien Hertz [Fri, 21 Aug 2015 10:37:46 +0000 (10:37 +0000)]
am 599dc2bd: am 50af68e7: am 55f86b18: (-s ours) am 9e7a0ddb: am 18089ceb: Allow debugging only for apps forked from zygote DO NOT MERGE

* commit '599dc2bd1c809ae5a413fc3800fc3fbb71432de6':
  Allow debugging only for apps forked from zygote DO NOT MERGE

8 years agoam 50af68e7: am 55f86b18: (-s ours) am 9e7a0ddb: am 18089ceb: Allow debugging only...
Sebastien Hertz [Fri, 21 Aug 2015 10:29:30 +0000 (10:29 +0000)]
am 50af68e7: am 55f86b18: (-s ours) am 9e7a0ddb: am 18089ceb: Allow debugging only for apps forked from zygote DO NOT MERGE

* commit '50af68e74a756d0fc81eda2a3580dbcf70362d42':
  Allow debugging only for apps forked from zygote DO NOT MERGE

8 years agoam 55f86b18: (-s ours) am 9e7a0ddb: am 18089ceb: Allow debugging only for apps forked...
Sebastien Hertz [Fri, 21 Aug 2015 10:18:38 +0000 (10:18 +0000)]
am 55f86b18: (-s ours) am 9e7a0ddb: am 18089ceb: Allow debugging only for apps forked from zygote DO NOT MERGE

* commit '55f86b1811f0411a5d685d6c97772b846a706e19':
  Allow debugging only for apps forked from zygote DO NOT MERGE

8 years agoam 5d2faf11: am c5151d2c: am b60bc0ec: resolved conflicts for merge of a2d19318 to...
Sebastien Hertz [Fri, 21 Aug 2015 10:10:18 +0000 (10:10 +0000)]
am 5d2faf11: am c5151d2c: am b60bc0ec: resolved conflicts for merge of a2d19318 to lmp-mr1-ub-dev

* commit '5d2faf111e18fc44163ec4fe3cc8c6151d3e6aeb':
  Allow debugging only for apps forked from zygote

8 years agoam 9e7a0ddb: am 18089ceb: Allow debugging only for apps forked from zygote DO NOT...
Sebastien Hertz [Fri, 21 Aug 2015 10:09:22 +0000 (10:09 +0000)]
am 9e7a0ddb: am 18089ceb: Allow debugging only for apps forked from zygote DO NOT MERGE

* commit '9e7a0ddb65ad0bd04d49a24a68aa96730b2ba9a1':
  Allow debugging only for apps forked from zygote DO NOT MERGE

8 years agoam c5151d2c: am b60bc0ec: resolved conflicts for merge of a2d19318 to lmp-mr1-ub-dev
Sebastien Hertz [Fri, 21 Aug 2015 10:03:51 +0000 (10:03 +0000)]
am c5151d2c: am b60bc0ec: resolved conflicts for merge of a2d19318 to lmp-mr1-ub-dev

* commit 'c5151d2c378e4dad4d1312caf2021d7515297d06':
  Allow debugging only for apps forked from zygote

8 years agoam 18089ceb: Allow debugging only for apps forked from zygote DO NOT MERGE
Sebastien Hertz [Fri, 21 Aug 2015 09:50:24 +0000 (09:50 +0000)]
am 18089ceb: Allow debugging only for apps forked from zygote DO NOT MERGE

* commit '18089ceb71ad4ce2332096b8e7b5f8c1f8e263db':
  Allow debugging only for apps forked from zygote DO NOT MERGE

8 years agoam b60bc0ec: resolved conflicts for merge of a2d19318 to lmp-mr1-ub-dev
Sebastien Hertz [Fri, 21 Aug 2015 09:49:11 +0000 (09:49 +0000)]
am b60bc0ec: resolved conflicts for merge of a2d19318 to lmp-mr1-ub-dev

* commit 'b60bc0ece2b2714845eff37c97cb19d41a308122':
  Allow debugging only for apps forked from zygote

8 years agoresolved conflicts for merge of a2d19318 to lmp-mr1-ub-dev
Sebastien Hertz [Fri, 21 Aug 2015 07:53:41 +0000 (09:53 +0200)]
resolved conflicts for merge of a2d19318 to lmp-mr1-ub-dev

Change-Id: I4cb38241b5efab1eb7af161e1589fa477a473a39

8 years agoam 87a786af: am 445ab7fa: am ff8dc212: Allow debugging only for apps forked from...
Sebastien Hertz [Fri, 21 Aug 2015 07:19:10 +0000 (07:19 +0000)]
am 87a786af: am 445ab7fa: am ff8dc212: Allow debugging only for apps forked from zygote

* commit '87a786afdba8ec94036c62fb58265d364a7064ae':
  Allow debugging only for apps forked from zygote

8 years agoam 445ab7fa: am ff8dc212: Allow debugging only for apps forked from zygote
Sebastien Hertz [Fri, 21 Aug 2015 07:08:43 +0000 (07:08 +0000)]
am 445ab7fa: am ff8dc212: Allow debugging only for apps forked from zygote

* commit '445ab7fa43f32ac1a256b15f5ab2bd619e9711e4':
  Allow debugging only for apps forked from zygote

8 years agoam ff8dc212: Allow debugging only for apps forked from zygote
Sebastien Hertz [Fri, 21 Aug 2015 07:01:02 +0000 (07:01 +0000)]
am ff8dc212: Allow debugging only for apps forked from zygote

* commit 'ff8dc21278b19b22ed8dc9f9475850838336d351':
  Allow debugging only for apps forked from zygote

8 years agoam 99b252ad: am ddc2536d: Make sure to kill restore-at-install full-data targets...
Christopher Tate [Thu, 20 Aug 2015 23:15:29 +0000 (23:15 +0000)]
am 99b252ad: am ddc2536d: Make sure to kill restore-at-install full-data targets after restore

* commit '99b252adc78a0450b7a881aff93a77f6d0e160ce':
  Make sure to kill restore-at-install full-data targets after restore

8 years agoam ddc2536d: Make sure to kill restore-at-install full-data targets after restore
Christopher Tate [Thu, 20 Aug 2015 23:09:39 +0000 (23:09 +0000)]
am ddc2536d: Make sure to kill restore-at-install full-data targets after restore

* commit 'ddc2536d2b6f277a7828278a066be874e4f9502e':
  Make sure to kill restore-at-install full-data targets after restore

8 years agoMake sure to kill restore-at-install full-data targets after restore
Christopher Tate [Thu, 20 Aug 2015 19:30:50 +0000 (12:30 -0700)]
Make sure to kill restore-at-install full-data targets after restore

Specifically: correctly distinguish the "I want to restore my own data"
case, in which the app is intentionally not killed, from the single-package
restore at install operation.

Bug 23357388

Change-Id: Ic50ac39fe942af1f6ec9e04a32d81a39b70a0b2b

8 years agoam 786529f2: am 54c807e7: Merge "Translate ripple mask to account for drawable bounds...
Alan Viverette [Thu, 20 Aug 2015 20:44:40 +0000 (20:44 +0000)]
am 786529f2: am 54c807e7: Merge "Translate ripple mask to account for drawable bounds" into mnc-dev

* commit '786529f2d15fe9b9083eb9ac46c8305f29cdf8e9':
  Translate ripple mask to account for drawable bounds

8 years agoam 54c807e7: Merge "Translate ripple mask to account for drawable bounds" into mnc-dev
Alan Viverette [Thu, 20 Aug 2015 20:38:24 +0000 (20:38 +0000)]
am 54c807e7: Merge "Translate ripple mask to account for drawable bounds" into mnc-dev

* commit '54c807e713c0d04134108b7d13e4abd467e318d5':
  Translate ripple mask to account for drawable bounds

8 years agoMerge "Translate ripple mask to account for drawable bounds" into mnc-dev
Alan Viverette [Thu, 20 Aug 2015 20:31:27 +0000 (20:31 +0000)]
Merge "Translate ripple mask to account for drawable bounds" into mnc-dev

8 years agoTranslate ripple mask to account for drawable bounds
Alan Viverette [Thu, 20 Aug 2015 20:27:21 +0000 (16:27 -0400)]
Translate ripple mask to account for drawable bounds

Bug: 23354529
Change-Id: Iaa4fde6b37645492cf902f141f975bdef8e7e14e

8 years agoam ea57b592: am 1773ded8: Merge "Fixed key comparison in equals method" into mnc-dev
Fyodor Kupolov [Thu, 20 Aug 2015 20:02:42 +0000 (20:02 +0000)]
am ea57b592: am 1773ded8: Merge "Fixed key comparison in equals method" into mnc-dev

* commit 'ea57b59222571e7e82d8b628e86b4ff0bdbe3f49':
  Fixed key comparison in equals method

8 years agoam 1773ded8: Merge "Fixed key comparison in equals method" into mnc-dev
Fyodor Kupolov [Thu, 20 Aug 2015 19:53:29 +0000 (19:53 +0000)]
am 1773ded8: Merge "Fixed key comparison in equals method" into mnc-dev

* commit '1773ded84684593f459b19f3271d471b38f14f85':
  Fixed key comparison in equals method

8 years agoMerge "Fixed key comparison in equals method" into mnc-dev
Fyodor Kupolov [Thu, 20 Aug 2015 19:47:38 +0000 (19:47 +0000)]
Merge "Fixed key comparison in equals method" into mnc-dev

8 years agoam 33074733: am 46eddef4: am 504623e1: am 5389f46c: Docs: Fixes to interactive-watch...
David Friedman [Thu, 20 Aug 2015 18:16:11 +0000 (18:16 +0000)]
am 33074733: am 46eddef4: am 504623e1: am 5389f46c: Docs: Fixes to interactive-watch-face docs (CL 743190)

* commit '33074733f015e3e8f84cf0aaebdfbe859f0f6800':
  Docs: Fixes to interactive-watch-face docs (CL 743190)

8 years agoam 46eddef4: am 504623e1: am 5389f46c: Docs: Fixes to interactive-watch-face docs...
David Friedman [Thu, 20 Aug 2015 18:07:18 +0000 (18:07 +0000)]
am 46eddef4: am 504623e1: am 5389f46c: Docs: Fixes to interactive-watch-face docs (CL 743190)

* commit '46eddef4d46e11269c4f13d695c46cdd7f071a34':
  Docs: Fixes to interactive-watch-face docs (CL 743190)

8 years agoam 504623e1: am 5389f46c: Docs: Fixes to interactive-watch-face docs (CL 743190)
David Friedman [Thu, 20 Aug 2015 17:53:49 +0000 (17:53 +0000)]
am 504623e1: am 5389f46c: Docs: Fixes to interactive-watch-face docs (CL 743190)

* commit '504623e1a7b20ff7ce66ec487fb329f4b3d2c3cf':
  Docs: Fixes to interactive-watch-face docs (CL 743190)

8 years agoam a001f7ae: Merge "Add carrier config variable to hide merge call button" into mnc...
Tyler Gunn [Thu, 20 Aug 2015 17:28:14 +0000 (17:28 +0000)]
am a001f7ae: Merge "Add carrier config variable to hide merge call button" into mnc-dr-dev

* commit 'a001f7ae7fde0418a6f8e455f88a2d7dc3c392ce':
  Add carrier config variable to hide merge call button

8 years agoam b460cc88: Merge "Remove wifi enabled checking from settings TetherUtil" into mnc...
Mitchell Wills [Thu, 20 Aug 2015 17:28:01 +0000 (17:28 +0000)]
am b460cc88: Merge "Remove wifi enabled checking from settings TetherUtil" into mnc-dr-dev

* commit 'b460cc88865bbdafe3f343e43bd08382c6745fe0':
  Remove wifi enabled checking from settings TetherUtil

8 years agoFixed key comparison in equals method
Fyodor Kupolov [Thu, 20 Aug 2015 17:20:34 +0000 (10:20 -0700)]
Fixed key comparison in equals method

Bug: 23376695
Change-Id: Ie4bd55a88f5f86fd8de7b087d0a5f1755951e90d

8 years agoMerge "Add carrier config variable to hide merge call button" into mnc-dr-dev
Tyler Gunn [Thu, 20 Aug 2015 17:19:17 +0000 (17:19 +0000)]
Merge "Add carrier config variable to hide merge call button" into mnc-dr-dev

8 years agoam 5389f46c: Docs: Fixes to interactive-watch-face docs (CL 743190)
David Friedman [Thu, 20 Aug 2015 16:59:08 +0000 (16:59 +0000)]
am 5389f46c: Docs: Fixes to interactive-watch-face docs (CL 743190)

* commit '5389f46ce4245a6a0cfc931160ea13dab17f6590':
  Docs: Fixes to interactive-watch-face docs (CL 743190)

8 years agoMerge "Remove wifi enabled checking from settings TetherUtil" into mnc-dr-dev
Mitchell Wills [Thu, 20 Aug 2015 16:58:02 +0000 (16:58 +0000)]
Merge "Remove wifi enabled checking from settings TetherUtil" into mnc-dr-dev

8 years agoMerge "DO NOT MERGE Work around for not getting APN info in NetworkInfo object."...
Sharvil Nanavati [Thu, 20 Aug 2015 16:45:52 +0000 (16:45 +0000)]
Merge "DO NOT MERGE Work around for not getting APN info in NetworkInfo object." into cw-e-dev

8 years agoDO NOT MERGE Work around for not getting APN info in NetworkInfo object.
Sharvil Nanavati [Thu, 20 Aug 2015 16:30:47 +0000 (09:30 -0700)]
DO NOT MERGE Work around for not getting APN info in NetworkInfo object.

This change is a workaround to an issue where the APN name is missing
in the CONNECTIVITY_ACTION intent. Submitting this patch so we can
unblock AVL testing.

Bug: 22908453
Change-Id: I67f67872b8636e63404bd6c2cf7835feb586f254

8 years agoDocs: Fixes to interactive-watch-face docs (CL 743190)
David Friedman [Thu, 20 Aug 2015 15:31:07 +0000 (08:31 -0700)]
Docs: Fixes to interactive-watch-face docs (CL 743190)

Change-Id: I2b9c7d7afbf5583da01808027869e1e98873c7d1

8 years agoAdd missing removed permissions to the platform manifest
Svet Ganov [Thu, 20 Aug 2015 13:57:31 +0000 (06:57 -0700)]
Add missing removed permissions to the platform manifest

We need to keep in the manifest as normal hidden permissions
all removed dangerous ones to ensure backwards compatibility
as apps may be gating operations based on whether they have
a removed permission.

bug:23377184

Change-Id: I105bd646c4594d85c501f53a10ea393ee50046bc

8 years agoam 2364af20: Merge "Save interactive/screen-on state in KeyguardServiceDelegate"...
Jorim Jaggi [Thu, 20 Aug 2015 02:25:02 +0000 (02:25 +0000)]
am 2364af20: Merge "Save interactive/screen-on state in KeyguardServiceDelegate" into mnc-dr-dev

* commit '2364af2083f4f0b00ae8275aed1aeb4193f4b89d':
  Save interactive/screen-on state in KeyguardServiceDelegate

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 "Save interactive/screen-on state in KeyguardServiceDelegate" into mnc-dr-dev
Jorim Jaggi [Thu, 20 Aug 2015 02:18:36 +0000 (02:18 +0000)]
Merge "Save interactive/screen-on state in KeyguardServiceDelegate" into mnc-dr-dev

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 agoSave interactive/screen-on state in KeyguardServiceDelegate
Jorim Jaggi [Wed, 19 Aug 2015 22:14:52 +0000 (15:14 -0700)]
Save interactive/screen-on state in KeyguardServiceDelegate

So when SystemUI/Keyguard crashes, we only call onStartedWakingUp and
onScreenTurnedOn when the device is interactive and/or the screen is
on.

Bug: 23344236
Change-Id: I0d0be91ff15d6c552304659956770ab88bb26ba4

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 agoAllow debugging only for apps forked from zygote DO NOT MERGE
Sebastien Hertz [Mon, 10 Aug 2015 16:55:34 +0000 (18:55 +0200)]
Allow debugging only for apps forked from zygote DO NOT MERGE

When starting the runtime from app_process, we only pass JDWP options
if starting zygote. It prevents from opening a JDWP connection in
non-zygote programs while Android apps (forked from zygote) remain
debuggable.

Bug: 23050463

(cherry picked from commit 7a09b8322cab26d6e3da1362d3c74964ae66b5d4)

Change-Id: I2400ecc8aea7579c43300efccf288b69f70eef53

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