This could lead to collapsed notifications having and intrinsic
height smaller than the collapsed size and notifications
overlapping.
Change-Id: Iabba19033f8069f1f75218280b97d3a1a45a5efb
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
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
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
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
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
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
Now HUNs with full screen intents don't fire automatically
when added and don't time out anymore when HUN'd
Change-Id: Ic2d5033febe514760cbb4e6e028c3cea84d07cd8
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
- 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
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
* 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
Also fixed a bug where the notification panel would
keep a hardware layer.
Also improved the interal structure of the HeadsUpManager
Change-Id: I635e4a89b0a32573c26515cc3e65e142d77593ec
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
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