15357 Commits

Author SHA1 Message Date
Geoff Mendal
ca02bc7ceb Merge "Import translations. DO NOT MERGE" 2015-04-20 13:08:03 +00: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
Geoff Mendal
3ac2032586 Import translations. DO NOT MERGE
Change-Id: If0652f6630dbfb0110c8b13a479cb59c1af22bcc
Auto-generated-cl: translation import
2015-04-20 05:21: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
4cfb3130a4 Merge "Enable the copy feature." 2015-04-19 04:35:39 +00: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
3d6f270e31 Merge "Import translations. DO NOT MERGE" 2015-04-18 04:04:08 +00: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
Geoff Mendal
d265d70f0f Merge "Import translations. DO NOT MERGE" 2015-04-18 03:42:18 +00:00
Geoff Mendal
04d8165ddc Import translations. DO NOT MERGE
Change-Id: I30e078fe1a9ea0fe645597d9dc93172f301322e9
Auto-generated-cl: translation import
2015-04-17 20:39:13 -07:00
Geoff Mendal
67a8ad3b65 Import translations. DO NOT MERGE
Change-Id: If7a0cfd12e5ed935ad521bd48eb82dd6cad3084f
Auto-generated-cl: translation import
2015-04-17 20:22:14 -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
Tony Mantler
991465c655 Merge "Add PermissionsInfo to SettingsLib" 2015-04-17 16:13:39 +00:00
Ben Kwa
d58d954a15 Enable the copy feature.
Change-Id: Ie0636895f2b2fe6550eb68042295daf76bbbd7fe
2015-04-16 18:17:25 -07:00
Adrian Roos
94e15a59b7 Allow dismissing Keyguard from TrustAgentService
Bug: 19900313
Change-Id: I44d13ee6fe65070327076e73a3ed96c94acdc108
2015-04-17 01:12:30 +00:00
Daichi Hirono
fbad74b29c Merge "Stop to take multiline file name in the create directory dialog." 2015-04-17 00:59:51 +00:00
Tony Mantler
618f3c4f94 Add PermissionsInfo to SettingsLib
in preparation to use it in TvSettings

Change-Id: I7e336ae923f94eef3efe56bf61c250ae540fb83b
2015-04-16 15:43:00 -07: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
f99c656afb Merge "An update on VolumePanel." 2015-04-16 18:19:05 +00:00
Ben Kwa
f8f80c8034 Merge "Fix cancellation of copy jobs." 2015-04-16 16:45:29 +00:00
Ben Kwa
94ac0d7d30 Fix cancellation of copy jobs.
Add FLAG_CANCEL_CURRENT to the pending intent for cancellation, to
prevent reuse of previously created cancellation intents.  Previously
created intents have non-matching job IDs, which causes the cancellation
intent to be ignored.

BUG=20221969

Change-Id: Ie0afcc6af53a550b44bc4b2f3d48942cdb092a65
2015-04-16 09:43:41 -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
Daichi Hirono
ba383eb576 Stop to take multiline file name in the create directory dialog.
BUG=20275734

Change-Id: I1b0847598eb06091193bb63e6ab3a57033798c10
2015-04-16 16:45:33 +09:00
Daichi Hirono
ff9ab66d42 Merge "DocumentsUI: Hide pick button of copy destination picker for read only directory." 2015-04-16 03:34:35 +00:00
Adrian Roos
81af4733b5 Merge "Fix lockscreen bugs with SHOW_WHEN_LOCKED" 2015-04-16 01:50:22 +00: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
Jorim Jaggi
053dee7928 Merge "More fingerprint API's for 3rd party apps" 2015-04-15 22:56:09 +00:00
Jorim Jaggi
2aad7ee245 More fingerprint API's for 3rd party apps
- Make isHardwareAvailable public
- Add hasEnrolledFingerprints so apps can check whether to show
fingerprint UI or not.

Change-Id: Iaefd5e9e68bf3bee8305574dc1477ea9bc72b30a
2015-04-15 14:55:43 -07: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