Commit Graph

8 Commits

Author SHA1 Message Date
Danesh M d549053b2d CmSdk : Swipe offsets and show lockscreen
Allows live lockscreen to listen to keyguard offsets
and show lockscreen.

Change-Id: I1a06c78b95e4e6940e063c6e0ba0e4db44a3c380
2016-04-01 11:17:16 -07:00
d34d 2c5d3d5224 Add callbacks for window attachment
Because we restrict the window type used for live lock screens to
only one instance, we need to know when the current one is detached
so that a new one can be added.

Change-Id: I55cf79a8eeb962b53c01014ec97373403cd073b6
2016-03-31 09:54:50 -07:00
d34d 32788b0555 ExtViews: Guard against bad LLS providers
Add checks in onServiceConnected to make sure the provider was
created correctly and if not, log it and move on without imploding
the universe.

Change-Id: I6929a02631685636e2c52c2d6d13883f0c3a13c4
TICKET: CNYNGOS-2217
2016-03-10 11:47:00 -08:00
d34d dbb87e233d ExtView: Document the keyguard external view APIs
Change-Id: Ia714c8a4afc40abda2448ba4a757ea34af05a65a
2016-01-06 12:07:35 -08:00
d34d 8cc5a55f82 ExtViews: Add callbacks for ExtView->Host communication
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
2015-12-22 15:13:17 -08:00
d34d f2741cb04c ExtView: Add keyguard specific interface for KeyguardExternalView
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
2015-12-22 15:13:05 -08:00
d34d 582ba4c91e ExtView: Allow window type and flags to be overridden
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
2015-12-18 16:15:29 -08:00
Luis Vidal 637e40fba5 Introduce KeyguardExternalView
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
2015-12-18 16:14:13 -08:00