OSDN Git Service

android-x86/frameworks-base.git
8 years agoam 9520071b: Merge "docs: Fix return info for support lib checkSelfPermission()"...
Andrew Solovay [Sat, 22 Aug 2015 00:36:54 +0000 (00:36 +0000)]
am 9520071b: Merge "docs: Fix return info for support lib checkSelfPermission()" into mnc-dev

* commit '9520071b983e2ca61160f580e0be3fe24d305760':
  docs: Fix return info for support lib checkSelfPermission()

8 years agoMerge "docs: Fix return info for support lib checkSelfPermission()" into mnc-dev
Andrew Solovay [Sat, 22 Aug 2015 00:30:59 +0000 (00:30 +0000)]
Merge "docs: Fix return info for support lib checkSelfPermission()" into mnc-dev

8 years agoam a7dde2e8: Merge "Camera: Fix depth documentation issues" into mnc-dev
Eino-Ville Talvala [Sat, 22 Aug 2015 00:25:38 +0000 (00:25 +0000)]
am a7dde2e8: Merge "Camera: Fix depth documentation issues" into mnc-dev

* commit 'a7dde2e89ec9a8c0ce5460d4f57d1e561f16520f':
  Camera: Fix depth documentation issues

8 years agoMerge "Camera: Fix depth documentation issues" into mnc-dev
Eino-Ville Talvala [Sat, 22 Aug 2015 00:14:13 +0000 (00:14 +0000)]
Merge "Camera: Fix depth documentation issues" into mnc-dev

8 years agoam d9eef347: Merge "MIDI docs: fix buffer allocation" into mnc-dev
Glenn Kasten [Fri, 21 Aug 2015 23:32:32 +0000 (23:32 +0000)]
am d9eef347: Merge "MIDI docs: fix buffer allocation" into mnc-dev

* commit 'd9eef3478ae2bea4d943082aaefd1a4a91a30600':
  MIDI docs: fix buffer allocation

8 years agoMerge "MIDI docs: fix buffer allocation" into mnc-dev
Glenn Kasten [Fri, 21 Aug 2015 23:27:08 +0000 (23:27 +0000)]
Merge "MIDI docs: fix buffer allocation" into mnc-dev

8 years agoam 41fc973c: am 251f2479: am dc35d48f: Merge "docs: changed red to yellow in code...
Cheryl Potter [Fri, 21 Aug 2015 23:12:47 +0000 (23:12 +0000)]
am 41fc973c: am 251f2479: am dc35d48f: Merge "docs: changed red to yellow in code snippet" into mnc-preview-docs

* commit '41fc973c144287c010d6219ab82f2640ebaff9dc':
  docs: changed red to yellow in code snippet

8 years agoam e6c64508: Merge "Fixed a typo in convertRestrictionsToBundle JavaDoc" into mnc-dev
Fyodor Kupolov [Fri, 21 Aug 2015 23:12:43 +0000 (23:12 +0000)]
am e6c64508: Merge "Fixed a typo in convertRestrictionsToBundle JavaDoc" into mnc-dev

* commit 'e6c64508aba566b5bd4ac9cd87a07358b13f5a06':
  Fixed a typo in convertRestrictionsToBundle JavaDoc

8 years agoam 251f2479: am dc35d48f: Merge "docs: changed red to yellow in code snippet" into...
Cheryl Potter [Fri, 21 Aug 2015 23:08:00 +0000 (23:08 +0000)]
am 251f2479: am dc35d48f: Merge "docs: changed red to yellow in code snippet" into mnc-preview-docs

* commit '251f24790757cf38bffbd6cec06c6503f99299dd':
  docs: changed red to yellow in code snippet

8 years agoMerge "Fixed a typo in convertRestrictionsToBundle JavaDoc" into mnc-dev
Fyodor Kupolov [Fri, 21 Aug 2015 23:04:09 +0000 (23:04 +0000)]
Merge "Fixed a typo in convertRestrictionsToBundle JavaDoc" into mnc-dev

8 years agoam dc35d48f: Merge "docs: changed red to yellow in code snippet" into mnc-preview...
Cheryl Potter [Fri, 21 Aug 2015 23:01:17 +0000 (23:01 +0000)]
am dc35d48f: Merge "docs: changed red to yellow in code snippet" into mnc-preview-docs

* commit 'dc35d48f4fdc2016f900207ebc934e5a57bd9265':
  docs: changed red to yellow in code snippet

8 years agoMerge "Invoke strong auth callback and default strong auth expired to true" into...
Adrian Roos [Fri, 21 Aug 2015 22:59:43 +0000 (22:59 +0000)]
Merge "Invoke strong auth callback and default strong auth expired to true" into mnc-dr-dev

8 years agoMerge "docs: changed red to yellow in code snippet" into mnc-preview-docs
Cheryl Potter [Fri, 21 Aug 2015 22:51:30 +0000 (22:51 +0000)]
Merge "docs: changed red to yellow in code snippet" into mnc-preview-docs

8 years agoam 74d9c2aa: Merge "Fix type-o in FingerprintManager documentation" into mnc-dev
Jim Miller [Fri, 21 Aug 2015 22:11:30 +0000 (22:11 +0000)]
am 74d9c2aa: Merge "Fix type-o in FingerprintManager documentation" into mnc-dev

* commit '74d9c2aad1bcd52933a8dba7752b28e9aef1902d':
  Fix type-o in FingerprintManager documentation

8 years agoMerge "Fix type-o in FingerprintManager documentation" into mnc-dev
Jim Miller [Fri, 21 Aug 2015 21:59:51 +0000 (21:59 +0000)]
Merge "Fix type-o in FingerprintManager documentation" into mnc-dev

8 years agoMerge "Add support for new window orientation sensor." into mnc-dr-dev
Trevor Bunker [Fri, 21 Aug 2015 21:14:00 +0000 (21:14 +0000)]
Merge "Add support for new window orientation sensor." into mnc-dr-dev

8 years agoInvoke strong auth callback and default strong auth expired to true
Adrian Roos [Wed, 19 Aug 2015 23:52:52 +0000 (16:52 -0700)]
Invoke strong auth callback and default strong auth expired to true

Split off from I0af11da1b7cd7c8d837bc5ba3a62ef2ffca74b1b.

The initial value did not matter previously because
a SystemUI crash triggered the boot logic and forced
a manual entry before fingerprint works.

Long term the timeout logic should be moved to StrongAuthTracker
so it can be shared with the trust agent implementation (currently
implemented by the trust agents themeselfes)

Bug: 22846469
Bug: 22115393
Change-Id: I0af11da1b7cd7c8d837bc5ba3a62ef2ffca74b1b

8 years agoAdd StrongAuthTracker
Adrian Roos [Fri, 14 Aug 2015 22:53:06 +0000 (15:53 -0700)]
Add StrongAuthTracker

Bug: 22846469
Bug: 22115393
Change-Id: I6ef5322d02e540fc043e7f20d3aabf595ce7c224

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 agoFixed a typo in convertRestrictionsToBundle JavaDoc
Fyodor Kupolov [Fri, 21 Aug 2015 18:25:55 +0000 (11:25 -0700)]
Fixed a typo in convertRestrictionsToBundle JavaDoc

Bug: 23408097
Change-Id: Ie06c33aa7b9a953dec645d1763e27dcb506764f0

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 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 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 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 agoAdd support for new window orientation sensor.
Michael Wright [Mon, 17 Aug 2015 22:31:55 +0000 (23:31 +0100)]
Add support for new window orientation sensor.

If we have a window orientation sensor available then we can defer
our orientation calculation to it and potentially let the AP go into
XO shutdown.

By default we'll use the typical accelerometer-based sensor unless
the device tells us the name of the sensor to look for.

Bug: 23038651
Change-Id: I94f02e0639956a7a6a3ab85710aa0f2537fbf7f3

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 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 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 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 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 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 agoFix type-o in FingerprintManager documentation
Jim Miller [Thu, 20 Aug 2015 05:03:43 +0000 (22:03 -0700)]
Fix type-o in FingerprintManager documentation

Fixes bug 23274133

Change-Id: I15607d0e64c0b11d36d0e0d47ea88c42101e4dde

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 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 agoMIDI docs: fix buffer allocation
Phil Burk [Tue, 18 Aug 2015 23:43:22 +0000 (16:43 -0700)]
MIDI docs: fix buffer allocation

Also describe NoteOn more clearly.

Bug: 23303608
Change-Id: I35f88022c854c2eb16ec606e58f28e06c52d18b7
Signed-off-by: Phil Burk <philburk@google.com>
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 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 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 agoCamera: Fix depth documentation issues
Eino-Ville Talvala [Wed, 19 Aug 2015 23:21:15 +0000 (16:21 -0700)]
Camera: Fix depth documentation issues

- Correct spelling of quaternion
- LENS_INTRINSIC_CALIBRATION and LENS_RADIAL_DISTORTION were not
  linkifying correctly

Bug: 23360503
Change-Id: I9c5acc0087d7115548b75ccfa1bc1eb1866557b2

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 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 agodocs: Fix return info for support lib checkSelfPermission()
Andrew Solovay [Wed, 19 Aug 2015 20:44:56 +0000 (13:44 -0700)]
docs: Fix return info for support lib checkSelfPermission()

Docs incorrectly said the method returns a boolean. In fact,
it (like the framework version) returns an int constant.

See first comment for doc stage location.

bug: 23331110
Change-Id: I2b4ccdc56dc0cff414c4d21e3916e8e7a0b0e909

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 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 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 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

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

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: Ib5b6d3bc4d45389993c3c54226df5a7b72479d19