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 fc50f7cef8 ExtViews: Add action and meta-data
Services that extend KeyguardExternalViewProviderService should also
include this newly defined action in an intent-filter within the
<service> tag in their AndroidManifest.xml.  These services can also
include meta-data that defines a configuration xml which will be used
to define a settings activity that can be launched within a yet to
be defined settings/configuration UI.

Change-Id: I0a5ca09cf6f63413d067f89a9757137102dd09f6
TICKET: CYNGNOS-1687
2016-01-22 15:44:34 -08:00
d34d 7622e3c7d6 ExtView: Fix name of dismissAndStartActivity
The method should have been renamed to requestDismissAndStartActivity

Change-Id: I93e00be58dc9c70f0f7a0b6d0bb6ac487af8fe58
2016-01-06 14:26:07 -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