Make all the instance public methods private
and add static methods to control the behavior:
* show
* dismiss
* toggle
Make sure we only deal with one instance of the
KeyboardShortcuts (previously both the
KeyboardShortcutsReceiver and BaseStatusBar were
creating instances).
Makes sure the instance is destroyed when dismissing
and when showing it either creates a new one if none
exists or reuses the existing one.
Also fixes an existing nasty issue where in order
to dismiss the dialog from BaseStatusBar we were
always first creating a new instance.
Bug: 28012198
Change-Id: I207553dd45ae535edc64b6292a472fa0899029b0
This is a privileged permission and is only to be used by
the core OS and related packages whose names are confusing
or misleading when shown in notifications.
The user will always be able to see the true package name by
accessing the notification inspector (longpress or swipe
gesture on the notification row in SystemUI).
Fixes: 26517701
Change-Id: I2b021c9da0757b99df76399666af263668d88070
To ensure that the package we are using to load WebView is a valid
provider we need to verify this before loading WebView - not only when
choosing what package to use.
Bug: 27900925
Change-Id: If57ca32a7a3fa08735a3b8ea9ed268c1bb1b8ede
Previously we invokes performeSave both for ACTION_DOWN and ACTION_UP,
thus it creates two documents.
Change-Id: I7fc2a62c34fc239c2bf3ca6c71122e360d589727
Fixes: 28179791
This patch adds an event class derived from IpConnectivityEvent that
records parsing errors of DHCP response packets.
Change-Id: I19516cf05e3419c4262e3236899e52987e5f2264
- Don’t reinflate the header bar and dummy stack view
- Only update the header bar layout params when values change
Change-Id: I47bb699e35b10caea2ab8640be8d3f9a3d445c58
We still want to dispatch input for non-watch devices when the non-interactive
and the display is off.
Bug: 26277593
Change-Id: I38023b3494e46c63578dd3162e2b9aa0a213862d
Re-add scrim and shadows to cards.
This can happen on TV when an App is mid launch and the HOME button
is pressed. The Banner of the App is used as a fallback, with the
icon of the app as a final fallback. The icon should not be used
normally, since an App would fail review for not providing a banner.
BUG: 27349208
BUG: 27857124
BUG: 27953609
Change-Id: I50f6ee714eeddee1ea2b5ae31f23ea68d230bc59