Setting to keep track of whether a QS tile has disabled the keyguard so
we can display this state elsewhere.
Ref: CYNGNOS-1513
Change-Id: If6ecb78a028d9d74d70bc2f1cd584ac9ac83a2d1
Signed-off-by: Roman Birg <roman@cyngn.com>
Contains contants utilized throughout Settings/Systemui
to log usage of specific fragments, settings, or panels.
An extension of Androids MetricsLogger.
Change-Id: I44eff06f87313fca8c2ecf78b7bdea9055956e3c
Created the AndroidTestCase unit test
Added functional testing for airplane mode, which can be restored
without contaminating other tests.
Also added setZenMode testing, which currently contaminates other
tests. But we will allow for lack of a better way
FOR-156
Change-Id: I2ab5642c60f41266d9de8aab897e4852e872ad38
Since the locksettings database is not backed by a provider, we cannot
use a ContentObserver to know when a change to the third party keyguard
component has occurred. Instead we broadcast that it has changed.
Change-Id: I1384b8ba445dcb8d0c571ded1c68b297182f086a
TICKET: CYNGNOS-1481
Since LOCAL_JACK_ENABLED isn't flexible enough
to have generation of both java archives and jack
binaries, we can work around this by having a
secondary module defined that disables jack compile.
Change-Id: Ied647b659c13b672621d82af536d1ed447d5f7fa
Previously, a new method was added to IPartnerInterface.aidl in the
middle of other methods. This needs to be added only at the end to
ensure backwards compatibility with older versions. Reorder the methods
to place setZenModeWithDuration at the end.
Change-Id: Ib9f9c7acceb928db5acc76e7351147074b230141
See http://review.cyanogenmod.org/#/c/125484 which brings the
changes to allow third party components to set and modify alarms,
and which actually makes use of the ClockContract in the SDK. This
flushes out the fact that the ClockContract in CM13 added a new
state.
Change-Id: If6d57727298c0a749055337809b9a66e91078a01
Add setZenModeWithDuration API call with long durationMills
Use NotificationManager.setZenMode with Condition URI
specifying end time.
Update settings/CMPartnerInterfaceTest
TODO: unit test to be added in:
tests/src/org/cyanogenmod/tests/settings/unit.
FOR-156
Change-Id: I18dd661fc07419a7019b6372e81df430a70f86e9
This adds two samples, samples/externalviews/keyguardviewprovider
which provides an example of creating a third party keyguard component,
and samples/externalviews/setleygiardviewprovider which allows setting
and clearing of the third party keyguard component.
Change-Id: Ia9c564d602f1b6d44953eb05f2ffcf3f44663ece
Adds an interface for the KeyguardExternalViewProviderService to
communicate with the host in SystemUI. This includes handling
notifying the host when the provider service has died.
Change-Id: Icd185da289913b84da09707f1d8a2f4f4ff86bae
KeyguardExternalView requires extra state callbacks that can be passed
on to the KeyguardExternalViewProvider. For this reason the
KeyguardExternalViewProvider no longer extends ExternalViewProvider
and instead provides the full implementation needed for ExternalViews
as well as the specific keyguard components.
Change-Id: Icf3589a201bf0ab29ba6e00e2bd6c0149e955e1d
KeyguardExternalViews need to have a different window type
as well as different flags set when creating the window. this
patch allows those to be overridden when extending the
ExternalViewProviderService. This patch also makes sure that
the width and height of the external view window is always the
same as the display size.
Change-Id: Ic5fc0d211e9fee0e610d55a3620e6e322defe231
For now, this class is used only to expose the category that must be used
by the activity requesting permissions in the keyguard and the name of the
extra argument provided in the intent used to start such activity
Change-Id: Ib978d192110ebab65691c6c3e03f977df2ab47d3
Initial ExternalViewProvider
Change-Id: Ib35d79d3ae01d2e1a98020c5e65e4fbe50d2d322
Fill out methods and run everything on main thread
Change-Id: I05dd1bce5c24057101cd85656d28b01e6681434a
Fix aidl
Change-Id: Ie4b9a4463fdea37a0c5d657ffbc8796d51b57303
Add sample provider
Change-Id: I51b73302f85927aba2e9ea30ce47d6958af8e451
Create window and view earlier and only once
Change-Id: I60264b3c2de302f6f628320f436ac2aeb39de42c
visibility
Change-Id: I6ed2d6431c5aec9d4959a51828c42a700aabbd22
Add logging
Change-Id: I224587bcdfd1ff08673a618c5e45fef384041b8b
Add external view
Change-Id: Ic7f1ba96857239ac0fa43777f7d637716b7aead7
Resource fixes
Change-Id: I75324900d36a465575338c8b0ec9cc568ea50b9a
Add view host
Change-Id: Ief57371563feca707f420a509827c78c48bedf9c
Such hacks :\
Change-Id: I11ff460e7e7fed9cb14531ec3fb4699a37021ee0
Use a real window
Change-Id: Ie79f8188beaa871c6b8c96303c3221cdd7352fc6
Make api able to handle multiple instances of provided views
Change-Id: I185a8950aa577f920eaf7582c53f3316b88765c8
Ensure attribute set is passed to constructor
Change-Id: I9ebb4e8b0f7538ea5d0e7da179b1f1df812532b1
Add clip rect support
Change-Id: I23ac08b9e9e1e07e72bbf761ede1de87f4e4b084
Use final clipRect, instead of member
Change-Id: I2fa5f6ff30adf30fc0fe10f9fac1869ab4c03904
For CM13, the third party keyguard permission is being added to
the cmsdk rather than frameworks/base. This patch also introduces
CmLockPatternUtils, a subclass of LockPatternUtils, which allows us
to make use of the new third party keyguard permissions in cmsdk.
Change-Id: I91fadfaae79e3f146e9ae73929cea91294ef8d87