19082 Commits

Author SHA1 Message Date
Adrian Roos
cb20f55415 am f83da111: am b51e34c3: am fb6f6f24: am 2c632c88: Merge "Invoke strong auth callback and default strong auth expired to true" into mnc-dr-dev
* commit 'f83da11131cfa0069fd4d455a74379968a7772ee':
  Invoke strong auth callback and default strong auth expired to true
2015-08-22 01:22:25 +00:00
Adrian Roos
e3b07451c3 resolved conflicts for merge of bcc26c02 to master
Change-Id: I4260ff0d090cfa9741fd3adcfcadcbbff6839388
2015-08-21 18:08:58 -07:00
Jorim Jaggi
4b27011c6d am ab023c90: am a1415360: am 2021956a: am ab45a217: Make wake-and-unlock faster
* commit 'ab023c901598ffb478a78550874cb692217a82a8':
  Make wake-and-unlock faster
2015-08-22 00:51:41 +00:00
Jorim Jaggi
ab03badef9 am ff35aa2e: am 60146356: am 83526e3b: am 86bed406: Fix fingerprint listening state race conditions
* commit 'ff35aa2ec14fe17853bd4edacc7dd9171e8b32f3':
  Fix fingerprint listening state race conditions
2015-08-22 00:51:35 +00:00
Adrian Roos
f83da11131 am b51e34c3: am fb6f6f24: am 2c632c88: Merge "Invoke strong auth callback and default strong auth expired to true" into mnc-dr-dev
* commit 'b51e34c35f5ef979cfc8ea6b1dfec7fc97c15a9a':
  Invoke strong auth callback and default strong auth expired to true
2015-08-22 00:41:04 +00:00
Adrian Roos
bcc26c0201 am 69fd61cb: am a8bbebd4: am b5e47228: Add StrongAuthTracker
* commit '69fd61cb9a487e5993098c93113d86c4fb32c304':
  Add StrongAuthTracker
2015-08-22 00:40:47 +00:00
Jorim Jaggi
ab023c9015 am a1415360: am 2021956a: am ab45a217: Make wake-and-unlock faster
* commit 'a1415360d739a382bde8efa2fdb9cce4a1e8c00e':
  Make wake-and-unlock faster
2015-08-22 00:40:42 +00:00
Jorim Jaggi
ff35aa2ec1 am 60146356: am 83526e3b: am 86bed406: Fix fingerprint listening state race conditions
* commit '6014635635cf1b41319413fdd6984ae1207dc397':
  Fix fingerprint listening state race conditions
2015-08-22 00:40:35 +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
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
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
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
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
Tomasz Mikolajewski
7f2aba0fb9 Merge "Wire uploading to MtpDocumentsProvider." 2015-08-21 01:08:12 +00:00
Ben Kwa
b347436a3d Merge "Load appropriately sized thumbnails in grid mode." 2015-08-20 21:49:51 +00:00
Ben Kwa
147bdc9f93 Load appropriately sized thumbnails in grid mode.
Fix a bug that is causing thumbnail size to be 80px regardless of the
display mode.  This causes larger thumbnails to be used in grid mode,
resulting in better image quality.

BUG=23385406

Change-Id: Ic62ed0de1c6326a7ccd9ca31bdead15b49c481c1
2015-08-20 14:41:16 -07:00
Kyle Horimoto
164752df2a Merge "BandSelectMatrix: Create matrix tracking location of RecycleView items and band selection." 2015-08-20 21:39:12 +00:00
Kyle Horimoto
8f0c98b646 BandSelectMatrix: Create matrix tracking location of RecycleView items and band selection.
Change-Id: Ia5d1011427ba1321571d999bc2425e1443e71ca6
2015-08-20 14:37:10 -07:00
Steve McKay
3349dbd491 Merge "Use type inference where possible." 2015-08-20 21:27:34 +00:00
Ben Kwa
5fbd153466 Merge "Make grid items be square." 2015-08-20 21:00:45 +00:00
Ben Kwa
207968345a Make grid items be square.
Introduce a new GridItem class whose onMeasure method enforces a square
aspect ratio, and use it for rendering items when in grid mode.

Change-Id: Ieda82b644d0155354ee8e4c1dacae4af7436b7aa
2015-08-20 13:16:36 -07:00
Steve McKay
58efce36cd Use type inference where possible.
Normalize use of Annotations like VisibleForTesting, Nullable and so on.
Also, fix a small issue where we were not doubling the marging on cells when calculating columns for grid view.

Change-Id: Ia02f683c2682fa8d0963d13f253a359911d27965
2015-08-20 13:10:07 -07:00
Mitchell Wills
658b8c258c am a578ac88: am 9fde6f2c: am edf93764: am b460cc88: Merge "Remove wifi enabled checking from settings TetherUtil" into mnc-dr-dev
* commit 'a578ac888622a6b46bbaac78b04adebec9b9979b':
  Remove wifi enabled checking from settings TetherUtil
2015-08-20 18:58:56 +00:00
Mitchell Wills
a578ac8886 am 9fde6f2c: am edf93764: am b460cc88: Merge "Remove wifi enabled checking from settings TetherUtil" into mnc-dr-dev
* commit '9fde6f2c662b63164a2930852b9e09805bdbdc24':
  Remove wifi enabled checking from settings TetherUtil
2015-08-20 18:51:58 +00:00
Mitchell Wills
9fde6f2c66 am edf93764: am b460cc88: Merge "Remove wifi enabled checking from settings TetherUtil" into mnc-dr-dev
* commit 'edf93764f09357f6062eee2e4da8da925247834a':
  Remove wifi enabled checking from settings TetherUtil
2015-08-20 18:45:11 +00:00
Mitchell Wills
edf93764f0 am b460cc88: Merge "Remove wifi enabled checking from settings TetherUtil" into mnc-dr-dev
* commit 'b460cc88865bbdafe3f343e43bd08382c6745fe0':
  Remove wifi enabled checking from settings TetherUtil
2015-08-20 17:28:01 +00:00
Mitchell Wills
b460cc8886 Merge "Remove wifi enabled checking from settings TetherUtil" into mnc-dr-dev 2015-08-20 16:58:02 +00:00
Steve McKay
8c88c6cdd1 Merge "Move Drawer management code to a facade." 2015-08-20 16:19:38 +00:00
Jason Monk
31d4cad5ae Merge "SysUI Tuner: Add clock seconds option" 2015-08-20 15:42:15 +00:00
Clara Bayarri
3014e63f08 Merge "Hook up Ctrl + '/' to SysUI for a Keyboard Shortcuts screen" 2015-08-20 14:19:05 +00:00
Clara Bayarri
f2debb1f9a Hook up Ctrl + '/' to SysUI for a Keyboard Shortcuts screen
This CL adds the necessary hooks between PhoneWindowManager
and SysUI to show a keyboard shortcuts screen given a specific
shortcut combination. SysUI for now just shows a Toast.

Change-Id: Icf43a81776b04a2e96a540f45b7cd3464342d679
2015-08-20 15:11:10 +01:00
Jorim Jaggi
0eb6586bef am a0d57270: am e46b5b48: am a2737bee: am 1fa7384a: Merge changes Ie8264c4d,Ic83ac0f1 into mnc-dr-dev
* commit 'a0d5727078bdb47f19613b9c73e5d973281609f5':
  Fix jank in wake-and-unlock while pulsing
  Don't call authenticate immediately after getting valid fingerprint
2015-08-20 02:45:49 +00:00
Jorim Jaggi
a0d5727078 am e46b5b48: am a2737bee: am 1fa7384a: Merge changes Ie8264c4d,Ic83ac0f1 into mnc-dr-dev
* commit 'e46b5b48235af0aebfc0afa86ea899204463ef8a':
  Fix jank in wake-and-unlock while pulsing
  Don't call authenticate immediately after getting valid fingerprint
2015-08-20 02:38:49 +00:00
Tomasz Mikolajewski
87763e6a91 Wire uploading to MtpDocumentsProvider.
This patch does not yet allow to upload files, but uploading (creating)
directories already works.

Bug: 22545670
Change-Id: If4d5a53aa26f791475bb1a783e0ac9540d6760c1
2015-08-20 11:34:44 +09:00
Jorim Jaggi
e46b5b4823 am a2737bee: am 1fa7384a: Merge changes Ie8264c4d,Ic83ac0f1 into mnc-dr-dev
* commit 'a2737beea11455c48b719c6d2f26d5908d4b8cd2':
  Fix jank in wake-and-unlock while pulsing
  Don't call authenticate immediately after getting valid fingerprint
2015-08-20 02:29:09 +00:00
Jorim Jaggi
a2737beea1 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
2015-08-20 02:24:56 +00:00
Jorim Jaggi
1fa7384a10 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
2015-08-20 02:18:20 +00:00
Jorim Jaggi
662b33fcff am 6b0f0dd6: am 66d7cdcd: am df5ca90e: am 37c11800: Don\'t animate in the navigation bar when going to full shade
* commit '6b0f0dd60b7987085543abca519108a057af552d':
  Don't animate in the navigation bar when going to full shade
2015-08-20 01:59:12 +00:00
Jorim Jaggi
6b0f0dd60b am 66d7cdcd: am df5ca90e: am 37c11800: Don\'t animate in the navigation bar when going to full shade
* commit '66d7cdcd6e1fcb0732bdaa536de580ddfb4d157b':
  Don't animate in the navigation bar when going to full shade
2015-08-20 01:57:46 +00:00
Jorim Jaggi
66d7cdcd6e am df5ca90e: am 37c11800: Don\'t animate in the navigation bar when going to full shade
* commit 'df5ca90e3f68876bec750cf2fdaa69a320a7fa83':
  Don't animate in the navigation bar when going to full shade
2015-08-20 01:49:34 +00:00
Jorim Jaggi
df5ca90e3f 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
2015-08-20 01:44:01 +00:00
Jorim Jaggi
37c1180060 Don't animate in the navigation bar when going to full shade
Fixes some jank.

Bug: 22537253
Change-Id: Ia816fea6274e38cc2b18e2f28008b3a8341d37f7
2015-08-20 01:33:18 +00:00
Daichi Hirono
831c5a1e43 Merge "Extract task list operations from MTP DocumentLoader to the internal task list class." 2015-08-20 01:10:18 +00:00