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
Any "CALL" into the CMSettingsProvider on a new user triggers the load
default settings mechanism which may lead to attempting to load "global"
settings for non owner which is impossible.
Change-Id: Ic8535e3c211aeaccfd3d72c3f9b11eef4d9087b8
* A bunch of generally useful algorithms and helpers for performing
colorspace conversions and other color-related math.
Change-Id: If54ca156fc5473f6c1b39eb53bd871f48c3dc2a1
Move validators from CMSettings.System into CMSettings,
add validators for CMSettings.Secure, and move protected apps validator
from CMSettings.System to CMSettings.Secure
Change-Id: I9f4e1bef7ff5be100376d2d03d34483d12938158
Rework profile handling to address the following issues:
- When app specific profiles are enabled, the perf service silently
changes the profile to BALANCED when the user revisits settings.
The service and Settings UI still show whatever pref the user had
selected. The user is now unable to change the setting to BALANCED.
The perf service ignores the change because the current profile
(selected by app profiles) did not change.
- When low power mode (battery saver) activates or deactivates, the
user selected profile is overwritten.
All runtime decisions regarding active profiles have been consolidated
in to a single applyProfile() function that handles low power mode,
user and app-specific profile rules.
App specific profiles are applied only if the power profile is
BALANCED.
setPowerProfileInternal has been changed to save the user pref even if
the active pref is unchanged.
Fixes SAMBAR-1088
Change-Id: Iac658959130f08452f5e41ce3339fe4603ac474e