On eng and userdebug builds, adds the possibility to track touch and sensor events on the Keyguard.
Change-Id: I9ff9fe5545cb9b7e6833a6af0b5a97a6c204dbd2
also fix a crash if the feature is disabled and then enabled
while a heads up is active.
Bug: 13208692
Change-Id: I6847f7a5f275aee2f608de0237dab0e45c39b33f
combine the 1U with the action buttons to make a mid-sized notification
bounded to 128dp by the system ui
used for the heads up
Bug: 13208692
Change-Id: I382bb0bd1ce73f35295f05ca2606195986cff1d3
- New global zen mode setting with three values:
ZEN_MODE_OFF, ZEN_MODE_LIMITED, ZEN_MODE_FULL
- Status bar icon (on lhs) when in _LIMITED / _FULL
- Rules are hardcoded for now:
_LIMITED = intercept all notifications except calls/alarms
_FULL = intercept everything
- UI affordance in shade to set mode
- Only one exit condition: "Until you delete this"
- Intercepted notifications:
- appear darker in the shade
- do not cause sound/vibration
- do not fire fullScreenIntents
- do not contribute an icon to the status bar
Change-Id: Ic36c95982b483432006bf9dab102a31370382aa9
remove shadow
quick hack to open shade from HUN
over status bar instead of under and below it
dismiss by pushing up
tablets: shadow remains on left, right, and bottom
Bug: 13208692
Change-Id: Ie3abb762fb1388be68353c7e3111fe4708ab8110
Enabling notifications on keyguard tripped keyguard into simple
mode which isn't ready for prime-time. Disabled with variable.
Fixes bug 13172958
Change-Id: Ia281b06d754cd62455010f9e31c0ee81e4937977
This is probably not what keyguard_simple_host_view should
look like in landscape, but we need the resource.
Bug: 13185323
Change-Id: Ib044db1f86510128d27ecf45546398c7c1b81aa4
Hide managed profiles from lockscreen user switcher on tablets.
Hide managed profiles from power menu user switcher on phones.
Add flag to enable multi user ui turned off by default.
Change-Id: I4c69a6f7b0f39c249fc85fd940318df1ddab073f
$ adb shell settings put global lock_screen_show_notifications 1
Previously a per-user secure setting
(Settings.Secure.LOCK_SCREEN_ALLOW_NOTIFICATIONS), but this
doesn't really make a lot of sense since this behavior
pertains to areas of the system (keyguard, status bar) that
exist outside of any one user.
This setting now effectively enables notifications on the
secure lockscreen for all users.
Change-Id: I9c5179498dbbba9343184efdedb1587ea862cf96
Settings.Secure.LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS, if
set and nonzero, will show that user's notifications on the
secure lockscreen (assuming LOCK_SCREEN_ALLOW_NOTIFICATIONS
is also set). Note that this applies only to a particular
user's notifications, so if multiple users' notifications
are shown at once (currently this only applies to the
current user and USER_ALL) only that user's notifications
are affected.
USER_ALL is assumed to always allow private notifications in
public (because they can't be user-specific).
Change-Id: I32bb7939066c4919191e74161ca48ead01a88c7f
This fixes a bug where input wasn't being enabled when the security
method changed. The solution is to propagate changes back to the parent
Add missing copyright header to simplified keyguard view.
Bugs 12135931, 12879769
Change-Id: I0fc6cf8ef3b628c96a045797a5b9cdecd3a1007a
This adds a simplified KeyguardHostView that's intended to
be used as an overlay or dialog for asking the user's
credentials.
Bug 12135931
Change-Id: Iecede0715d671e88024e7bb77e7432cd1c7ec356
- Add simplified KeyguardHostView
- Move common functions to KeyguardViewBase.java
- Create new KeyguardSimpleHostView class for simplified view
implementation.
Bug 12135931
Change-Id: I8d6b0a61c36a0c7ceb87da4da54b1dfbed0054ff