9625 Commits

Author SHA1 Message Date
Selim Cinek
f1a38a5998 Merge "Improved the usablility of the lockscreen affordances" 2015-04-23 03:31:25 +00:00
Selim Cinek
6746c28b81 Improved the usablility of the lockscreen affordances
Bug: 19563694
Change-Id: I47c24eae432ae168f6a3eaaed57fbcc59a411f8a
2015-04-22 20:28:11 -07:00
Selim Cinek
5f94c4da75 Merge "Fixed a regression with collapsed notification heights" 2015-04-22 23:53:59 +00:00
Adam Powell
a1f6211e79 Merge "Cancel a screenshot notification after a share target is chosen." 2015-04-22 23:36:02 +00:00
Selim Cinek
06a24ebd77 Fixed a regression with collapsed notification heights
This could lead to collapsed notifications having and intrinsic
height smaller than the collapsed size and notifications
overlapping.

Change-Id: Iabba19033f8069f1f75218280b97d3a1a45a5efb
2015-04-22 14:22:05 -07:00
Geoff Mendal
0c886bbb9b Import translations. DO NOT MERGE
Change-Id: I971de964d782fbfd1b54a1fcb5d1366c7416f0e8
Auto-generated-cl: translation import
2015-04-22 06:01:35 -07:00
Jim Miller
93ea09a376 Merge "Make fingerprint enroll/authenticate haptic feedback part of framework." 2015-04-21 17:45:52 +00:00
Robin Lee
0fa9987b5b Merge "SecurityController: track VPN for all users" 2015-04-21 14:30:55 +00:00
Robin Lee
9cb1d5f641 SecurityController: track VPN for all users
Fixes inconsistencies when switching users.

Bug: 17763561
Bug: 17506956
Bug: 18419023
Change-Id: I65988e6c45afd00a402d1e266922d5648fd12743
2015-04-21 15:28:20 +01:00
Erik Kline
32830cc820 Listen for CONNECTIVITY_ACTION instead of _IMMEDIATE
I missed this in yesterday's reaping of CONNECTIVITY_ACTION_IMMEDIATE.

Bug: 20013379
Change-Id: I6a7a0b76c1e2d183d9357ecf912ebb6dc0a5c08f
2015-04-21 13:27:48 +09:00
Jim Miller
af281ca0d3 Make fingerprint enroll/authenticate haptic feedback part of framework.
Change-Id: Icc2e9ec4b30a6f3a21e3bbe8476efc56361d6944
2015-04-20 19:04:21 -07:00
Jason Monk
f6707568c7 Merge "SysUI: Stop wifi scanning so much" 2015-04-21 00:02:58 +00:00
Selim Cinek
6a1c23bf19 Merge "Made StackScrollAlgorithm HUN logic only depend on children" 2015-04-20 22:23:01 +00:00
Selim Cinek
a4baaa3269 Made StackScrollAlgorithm HUN logic only depend on children
A racecondition could trigger that the two states where not in sync
anymore. We now only rely on the ordering of the children.
Bug: 20421801

Change-Id: I3b607adb3b4b22f04f465d5e5e23f6e514c35ef9
2015-04-20 14:27:54 -07:00
Jason Monk
0d6a1c445c SysUI: Stop wifi scanning so much
Seems that QS to end up in a listening state while the phone is sleeping
so switch scanning to only happen while the detail panel is showing.

Bug: 20137092
Change-Id: Ib067531c8af75f9f93b10e087b6fc252b5e508fa
2015-04-20 16:38:51 -04:00
Selim Cinek
84b8b066b4 Merge "Fixed a crash with HUN notifications" 2015-04-20 20:35:05 +00:00
Selim Cinek
2f6b3fb90f Fixed a crash with HUN notifications
Bug: 20421801
Change-Id: Ifc4445e585d924388f0642379c5268b6bbfb2e99
2015-04-20 13:04:47 -07:00
Geoff Mendal
e13825328e Import translations. DO NOT MERGE
Change-Id: Ib763e6d6dc2f6eca3cd26ceb314b97ac90032719
Auto-generated-cl: translation import
2015-04-20 06:00:16 -07:00
Jeff Sharkey
e6c04f9417 Broadcast hidden volumes, notification polish.
Send limited broadcast intent when certain volume state changes
occur; the only customer for now is ExternalStorageProvider.

Change notification flow to be less bumpy.  Pick USB icon based on
disk type, and avoid using "generic" disk labels.

Bug: 19993667
Change-Id: I263bc9e9aae2ae57eb4d1afe76da686aee5475fb
2015-04-18 23:11:00 -07:00
Jeff Sharkey
355df8f16a Merge "Wire up non-visible volumes, more states." 2015-04-18 23:25:31 +00:00
Jeff Sharkey
27de30d31c Wire up non-visible volumes, more states.
Adds logic to ExternalStorageProvider to scan non-visible volumes,
such as USB OTG devices.  We use internal paths when surfacing these
volumes, which also optimizes around the FUSE daemon for public
devices.  Also dumps internal state when requested.

VolumeInfo now directly contains DiskInfo, which means it's
snapshotted when sending events, avoiding teardown races.  Switch
notifications to use this DiskInfo directly.

Finish wiring up new volume state, including helper methods to make
it readable/writable state clearer.  Handle disks and volumes with
spaces in their labels.

Bug: 19993667
Change-Id: I5c75e5658a6415976811477aebafee7694bde0f4
2015-04-18 16:20:30 -07:00
Geoff Mendal
664622fb77 Import translations. DO NOT MERGE
Change-Id: I0558ebee84c3b599dce7f50583753724e0e396b1
Auto-generated-cl: translation import
2015-04-17 21:00:43 -07:00
Adam Powell
d4d34150b3 Cancel a screenshot notification after a share target is chosen.
Use the (relatively) new API for supplying a callback when a user
makes a selection from the system ChooserActivity to clear out the
screenshot notification after it has been shared to another app.

Change-Id: If023a26d690c5ae8e29f28e2422f694ae4b654cb
2015-04-17 19:42:52 -07:00
Jeff Sharkey
6b875a7497 Merge "Volumes know parent disks; unsupported disks." 2015-04-18 01:12:25 +00:00
Jeff Sharkey
7e92ef3a11 Volumes know parent disks; unsupported disks.
This is cleaner and more direct than the reverse of having the disk
publish child volume membership.  Rename state constants to match
public API.  Add state representing bad removal.  Make it clear that
volume flags are related to mounting.

Send new unsupported disk event when we finish scanning an entire
disk and have no meaningful volumes.

Splice disk labels into description when known.  Only adoptable
slots are directly visible to apps.

Bug: 19993667
Change-Id: I12fda95be0d82781f70c3d85c039749052dc936b
2015-04-17 17:35:11 -07:00
Jorim Jaggi
f3b3bee129 Speedup unlock when authenticating with fingerprint
Change-Id: Ib76ff7a2a42cf6fc77848ef799c2a13b77cfebb2
2015-04-17 13:26:39 -07:00
Selim Cinek
ccc9b7f85c Merge "Fixed a crash on android tv with the new heads-up manager" 2015-04-17 18:03:29 +00:00
Selim Cinek
29fa89b41e Fixed a crash on android tv with the new heads-up manager
Bug: 20282768
Change-Id: Ibb3dc879a2529c12f4d8ab6b031711363da93d37
2015-04-17 11:02:33 -07:00
Adrian Roos
94e15a59b7 Allow dismissing Keyguard from TrustAgentService
Bug: 19900313
Change-Id: I44d13ee6fe65070327076e73a3ed96c94acdc108
2015-04-17 01:12:30 +00:00
Selim Cinek
8148f8b6f7 Merge "Fixed the behavior for HUNs with fullscreen intents" 2015-04-16 18:59:34 +00:00
Selim Cinek
31d9ef7a40 Fixed the behavior for HUNs with fullscreen intents
Now HUNs with full screen intents don't fire automatically
when added and don't time out anymore when HUN'd

Change-Id: Ic2d5033febe514760cbb4e6e028c3cea84d07cd8
2015-04-16 11:58:41 -07:00
Selim Cinek
80ee14ebb4 Merge "Fixed that disappear animations were disabled" 2015-04-16 18:55:56 +00:00
Selim Cinek
ecc53f4835 Merge "Fixed a bug where the notification size was incorrect" 2015-04-16 18:55:01 +00:00
Selim Cinek
2aab2fb76e Fixed that disappear animations were disabled
Bug: 20165559
Change-Id: I44fd10aee1ad4107ffcf98e103cd8054afb83731
2015-04-16 11:53:43 -07:00
Selim Cinek
60122be674 Fixed a bug where the notification size was incorrect
When an activity was shown and the device was locked
the notification had the wrong size if they were redacted.

Bug: 20086154
Change-Id: I37448a2ba1c027cffd1f945b031d08f0fd90f638
2015-04-16 11:53:36 -07:00
John Spurlock
90be37953d An update on VolumePanel.
Retired, and removed all claimed resources.

VolumeDialog is now the only option.

Bug: 19260237
Change-Id: I6e8abff0f8c16c4e02c47c8b7f24d5703cb3dbdf
2015-04-16 12:14:56 -04:00
Andrew Flynn
64e605a5be Merge "SysUI: Carrier Network Change icon" 2015-04-16 13:15:02 +00:00
Geoff Mendal
b300d6930a Import translations. DO NOT MERGE
Change-Id: Ib81a9725011568bacb0250dac5a59b50450209fc
Auto-generated-cl: translation import
2015-04-16 05:54:43 -07:00
Andrew Flynn
a478d70a68 SysUI: Carrier Network Change icon
- Listen for new PhoneStateListener.CARRIER_NETWORK_CHANGE events.
- Show/hide a new unique animated icon in status bar and quick settings during
  Carrier Network Change events if we are instructed by PhoneStateListener
  and it's during a period without connectivity.
- ObjectAnimator doesn't let you animate colors between themed colors, so
  there's quite a bit of boilerplate duplication in the animation xml.
- Add a new demo mode command to toggle it on/off.

Change-Id: Ic5bb2aa7444303c6b7f2456526a9c25325c6e1f4
2015-04-16 08:37:43 -04:00
John Spurlock
dd5b1f5f2f Mark sysui string reference as untranslatable.
Bug: 19260237
Change-Id: I4a2267462ece1d21ced0156cb1e99be913ea2ada
2015-04-16 06:04:00 -04:00
Adrian Roos
f253eeb9d3 Fix lockscreen bugs with SHOW_WHEN_LOCKED
When unlocking to a SHOW_WHEN_LOCKED activity by clicking
a notification, we don't get a the startKeyguardExitAnimation
because Keyguard is not actually going away. Instead, we start
it ourselves.

Also fixes the bug where restarting Keyguard while it's occluded
lead to an inconsistent state where the user got stuck on the
lockscreen.

Bug: 16481924
Change-Id: Iebc5bdd1287bbb81415ae01c7428850acc16c53f
2015-04-16 01:49:25 +00:00
Selim Cinek
dc3e29c390 Merge changes from topic 'headsup'
* changes:
  Finishing up heads up changes
  Added the heads up scrim back
  Fixed a bug where a notification could not be collapsed
  Made ranking consistent with heads Up manager
  Fixed a bug where the intrinsic height was not updated
  Fixed more heads up bugs
  More Heads Up bug fixes
  Adapted the interpolator of the heads up appear motion
  Treating headsUpViews now as real notification citizen
  Handling a few more border cases with HUNs
  Integrate Heads-up notifications into the shade
  Fixed a bug with notification clipping
2015-04-15 21:44:03 +00:00
Selim Cinek
d853586993 Finishing up heads up changes
Fixed a bug where the QS could be expanded when collapsed.
More refactorings, removed todos

Change-Id: I6dea262456c529d7f4a8a4a6a4fdc0e46597bafe
2015-04-15 13:14:34 -07:00
Selim Cinek
aac932591d Added the heads up scrim back
Also fixed a bug where the notification panel would
keep a hardware layer.
Also improved the interal structure of the HeadsUpManager

Change-Id: I635e4a89b0a32573c26515cc3e65e142d77593ec
2015-04-15 13:14:27 -07:00
Selim Cinek
e53e6bbb82 Fixed a bug where a notification could not be collapsed
Also fixed a bug where the content height was wrongly
calculated when the dismissview was invisible.
Finally refined the appearance when more then 2 huns
are present.
Change-Id: If66243beef2383f2cb36961deffcb0a42bbcd177
2015-04-15 13:11:14 -07:00
Selim Cinek
fbe9a44a15 Made ranking consistent with heads Up manager
Change-Id: I8e83c2e7e5a5635c1c0fb83cf2b4614965336786
2015-04-15 13:07:36 -07:00
Selim Cinek
c80fdb11f5 Fixed a bug where the intrinsic height was not updated
Change-Id: I2c171aff6eb30418121f0ca77e71045b0b61c9b2
2015-04-15 12:58:40 -07:00
Selim Cinek
1f3f544f21 Fixed more heads up bugs
Change-Id: Ibfb6656deb3bc588fc9292a672a5e4d4d1de4d23
2015-04-15 12:58:39 -07:00
Selim Cinek
d2281151ee More Heads Up bug fixes
Heads-up now has the correct height while expanding
and collapsing the shade.
Fading out while collapsing the shade was restored.
Fixed a bug where translation was not correctly replaced
with paddingOffset.

Change-Id: I9f1b28856b3ca52543460e7ddde84a1a7eb79cf2
2015-04-15 12:58:39 -07:00
Selim Cinek
a7840af09d Adapted the interpolator of the heads up appear motion
Change-Id: Ic67f481c7a14a4aa4c965f4739f7574f8f4f05a7
2015-04-15 12:58:38 -07:00