203919 Commits

Author SHA1 Message Date
Cheryl Potter
0be53aef4d am c4b0028e: am a4f65ff5: am 41fc973c: am 251f2479: am dc35d48f: Merge "docs: changed red to yellow in code snippet" into mnc-preview-docs
* commit 'c4b0028e6f71a7bfcce4c15b2e62186ba78a0aeb':
  docs: changed red to yellow in code snippet
2015-08-22 00:27:11 +00:00
Fyodor Kupolov
037281d4a9 am 563f974d: am d7cdbd4d: am e6c64508: Merge "Fixed a typo in convertRestrictionsToBundle JavaDoc" into mnc-dev
* commit '563f974d97232706743ac415c65238b1c84ec1d5':
  Fixed a typo in convertRestrictionsToBundle JavaDoc
2015-08-22 00:27:05 +00:00
Adrian Roos
b51e34c35f am fb6f6f24: am 2c632c88: Merge "Invoke strong auth callback and default strong auth expired to true" into mnc-dr-dev
* commit 'fb6f6f2490372f113698d9c8d09dae7f4991dec3':
  Invoke strong auth callback and default strong auth expired to true
2015-08-22 00:26:58 +00:00
Jim Miller
7225af9472 am c66a0db2: am 1bbc2750: am 74d9c2aa: Merge "Fix type-o in FingerprintManager documentation" into mnc-dev
* commit 'c66a0db280d5b8f21e7335b964f13cf6b765f336':
  Fix type-o in FingerprintManager documentation
2015-08-22 00:26:52 +00:00
Trevor Bunker
b1dded03df am e2fb50b2: am fbcd78e6: Merge "Add support for new window orientation sensor." into mnc-dr-dev
* commit 'e2fb50b21d67decc555b6f89dea1d56fe8ee6655':
  Add support for new window orientation sensor.
2015-08-22 00:26:45 +00:00
Adrian Roos
69fd61cb9a am a8bbebd4: am b5e47228: Add StrongAuthTracker
* commit 'a8bbebd426b554378cedf3d4e729cabd7e0caff9':
  Add StrongAuthTracker
2015-08-22 00:26:39 +00:00
Jorim Jaggi
a1415360d7 am 2021956a: am ab45a217: Make wake-and-unlock faster
* commit '2021956a1c35dba2b88257dc4a8eed8fa0acd650':
  Make wake-and-unlock faster
2015-08-22 00:26:31 +00:00
Jorim Jaggi
6014635635 am 83526e3b: am 86bed406: Fix fingerprint listening state race conditions
* commit '83526e3bbdff8e8ca3f85616d0678eb5d00ae3b7':
  Fix fingerprint listening state race conditions
2015-08-22 00:26:24 +00:00
Cheryl Potter
c4b0028e6f am a4f65ff5: am 41fc973c: am 251f2479: am dc35d48f: Merge "docs: changed red to yellow in code snippet" into mnc-preview-docs
* commit 'a4f65ff5e0cd265ef28697dc17f451106a79f90d':
  docs: changed red to yellow in code snippet
2015-08-22 00:17:48 +00:00
Fyodor Kupolov
563f974d97 am d7cdbd4d: am e6c64508: Merge "Fixed a typo in convertRestrictionsToBundle JavaDoc" into mnc-dev
* commit 'd7cdbd4d812f3d3501c37b7242a7038298c7ee14':
  Fixed a typo in convertRestrictionsToBundle JavaDoc
2015-08-22 00:17:44 +00:00
Adrian Roos
fb6f6f2490 am 2c632c88: Merge "Invoke strong auth callback and default strong auth expired to true" into mnc-dr-dev
* commit '2c632c8831349d2c951c9addae05f080958f0604':
  Invoke strong auth callback and default strong auth expired to true
2015-08-22 00:17:39 +00:00
Jim Miller
c66a0db280 am 1bbc2750: am 74d9c2aa: Merge "Fix type-o in FingerprintManager documentation" into mnc-dev
* commit '1bbc2750bb58f397a0195540d50c44400c381441':
  Fix type-o in FingerprintManager documentation
2015-08-22 00:17:22 +00:00
Trevor Bunker
e2fb50b21d am fbcd78e6: Merge "Add support for new window orientation sensor." into mnc-dr-dev
* commit 'fbcd78e6ed5cd0ba3c231aa412ad5b07dd2faa44':
  Add support for new window orientation sensor.
2015-08-22 00:17:06 +00:00
Adrian Roos
a8bbebd426 am b5e47228: Add StrongAuthTracker
* commit 'b5e4722891e7bbf2fffcd995af02838667a3abab':
  Add StrongAuthTracker
2015-08-22 00:16:48 +00:00
Jorim Jaggi
2021956a1c am ab45a217: Make wake-and-unlock faster
* commit 'ab45a217b0002dcf586d529ab8581cacbbfc37e9':
  Make wake-and-unlock faster
2015-08-22 00:16:34 +00:00
Jorim Jaggi
83526e3bbd am 86bed406: Fix fingerprint listening state race conditions
* commit '86bed40605e407459496ee2bfdf6b8af1ae1a581':
  Fix fingerprint listening state race conditions
2015-08-22 00:16:29 +00:00
Cheryl Potter
a4f65ff5e0 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
2015-08-21 23:12:47 +00:00
Fyodor Kupolov
d7cdbd4d81 am e6c64508: Merge "Fixed a typo in convertRestrictionsToBundle JavaDoc" into mnc-dev
* commit 'e6c64508aba566b5bd4ac9cd87a07358b13f5a06':
  Fixed a typo in convertRestrictionsToBundle JavaDoc
2015-08-21 23:12:43 +00:00
Cheryl Potter
41fc973c14 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
2015-08-21 23:08:00 +00:00
Fyodor Kupolov
e6c64508ab Merge "Fixed a typo in convertRestrictionsToBundle JavaDoc" into mnc-dev 2015-08-21 23:04:09 +00:00
Cheryl Potter
251f247907 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
2015-08-21 23:01:17 +00:00
Adrian Roos
2c632c8831 Merge "Invoke strong auth callback and default strong auth expired to true" into mnc-dr-dev 2015-08-21 22:59:43 +00:00
Cheryl Potter
dc35d48f4f Merge "docs: changed red to yellow in code snippet" into mnc-preview-docs 2015-08-21 22:51:30 +00:00
Jim Miller
1bbc2750bb am 74d9c2aa: Merge "Fix type-o in FingerprintManager documentation" into mnc-dev
* commit '74d9c2aad1bcd52933a8dba7752b28e9aef1902d':
  Fix type-o in FingerprintManager documentation
2015-08-21 22:11:30 +00:00
Jim Miller
74d9c2aad1 Merge "Fix type-o in FingerprintManager documentation" into mnc-dev 2015-08-21 21:59:51 +00:00
Trevor Bunker
fbcd78e6ed Merge "Add support for new window orientation sensor." into mnc-dr-dev 2015-08-21 21:14:00 +00:00
Adrian Roos
1de8bcb1e5 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
2015-08-21 13:28:01 -07:00
Adrian Roos
b5e4722891 Add StrongAuthTracker
Bug: 22846469
Bug: 22115393
Change-Id: I6ef5322d02e540fc043e7f20d3aabf595ce7c224
2015-08-21 13:28:00 -07:00
Jorim Jaggi
ab45a217b0 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
2015-08-21 19:29:30 +00:00
Jorim Jaggi
86bed40605 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
2015-08-21 19:29:05 +00:00
Fyodor Kupolov
7d35fc3898 Fixed a typo in convertRestrictionsToBundle JavaDoc
Bug: 23408097
Change-Id: Ie06c33aa7b9a953dec645d1763e27dcb506764f0
2015-08-21 11:25:55 -07:00
Svetoslav Ganov
c9dec16460 am e96b80f3: am 446c00a2: am cb59747d: Merge "Add missing removed permissions to the platform manifest" into mnc-dev
* commit 'e96b80f3deb7a49225112d497dcf75cc4211b092':
  Add missing removed permissions to the platform manifest
2015-08-21 12:55:58 +00:00
Svetoslav Ganov
e96b80f3de 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
2015-08-21 12:49:42 +00:00
Svetoslav Ganov
446c00a291 am cb59747d: Merge "Add missing removed permissions to the platform manifest" into mnc-dev
* commit 'cb59747de7222bc7310162c4174f7b460c34adef':
  Add missing removed permissions to the platform manifest
2015-08-21 12:41:29 +00:00
Svetoslav Ganov
cb59747de7 Merge "Add missing removed permissions to the platform manifest" into mnc-dev 2015-08-21 12:34:37 +00:00
Sebastien Hertz
0fbbe38b86 am 36970140: 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 '36970140f3ce6ce66f3873e2091841f97efdd390':
  Allow debugging only for apps forked from zygote DO NOT MERGE
2015-08-21 11:30:41 +00:00
Sebastien Hertz
36970140f3 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
2015-08-21 11:23:42 +00:00
Sebastien Hertz
79cb3ef99e 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
2015-08-21 11:14:23 +00:00
Sebastien Hertz
7cd2d3431c 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
2015-08-21 11:10:18 +00:00
Sebastien Hertz
852c617862 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
2015-08-21 11:02:27 +00:00
Sebastien Hertz
b63e291d05 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
2015-08-21 10:53:07 +00:00
Sebastien Hertz
88556ac221 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
2015-08-21 10:37:46 +00:00
Sebastien Hertz
599dc2bd1c 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
2015-08-21 10:29:30 +00:00
Sebastien Hertz
50af68e74a 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
2015-08-21 10:18:38 +00:00
Sebastien Hertz
b56c6437c5 am b1d01411: am 5d2faf11: am c5151d2c: am b60bc0ec: resolved conflicts for merge of a2d19318 to lmp-mr1-ub-dev
* commit 'b1d01411f4daafd5a07619d7c2060f99db61a64b':
  Allow debugging only for apps forked from zygote
2015-08-21 10:15:47 +00:00
Sebastien Hertz
b1d01411f4 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
2015-08-21 10:10:18 +00:00
Sebastien Hertz
55f86b1811 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
2015-08-21 10:09:22 +00:00
Sebastien Hertz
5d2faf111e 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
2015-08-21 10:03:51 +00:00
Sebastien Hertz
9e7a0ddb65 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
2015-08-21 09:50:24 +00:00
Sebastien Hertz
c5151d2c37 am b60bc0ec: resolved conflicts for merge of a2d19318 to lmp-mr1-ub-dev
* commit 'b60bc0ece2b2714845eff37c97cb19d41a308122':
  Allow debugging only for apps forked from zygote
2015-08-21 09:49:11 +00:00