aboutsummaryrefslogtreecommitdiffstats
path: root/lineage
Commit message (Collapse)AuthorAgeFilesLines
* Automatic translation importlineage-15.1Michael W2019-03-112-2/+2
| | | | Change-Id: I29fc83279a734b4784f145b0efb2159fd9ab491e
* Automatic translation importMichael W2019-03-103-19/+227
| | | | Change-Id: Iddc83ce3017ccd55038e12b774c70a97bd1c8c49
* Automatic translation importMichael W2019-03-01104-5066/+107
| | | | Change-Id: Ide8c9940322efa35fde3e3a6e741839bd71d0eac
* Automatic translation importMichael W2019-01-064-0/+198
| | | | Change-Id: I965cee774abfa77a0dc8b01dddc5804d1ced93b9
* Revert "Automatic translation import"Michael W2019-01-064-198/+0
| | | | | | This reverts commit 5f06011a755307465238b04a6ce933472a7d9321. Change-Id: I1b951cb63fd0b6628d87243a068ab4c083075f5a
* lineage-sdk: Start Weather service in onUnlockUser.Steve Kondik2019-01-061-3/+7
| | | | | | | | | | | | | | | | After reboot the active WeatherProvider is started (onBootPhase) too early, resulting in WeatherProvider not syncing anymore. Start the active Provider when userland apps are ready to fix this, like on 14.1: https://github.com/LineageOS/cm_platform_sdk/commit/0cee14b03c42fc606b9674d22f9a82a638617d0e Found by meiser@xda lineage-15.1 ready Weatherproviders for testing: https://github.com/nvertigo/android_vendor_nlos/tree/nlos-15.1/weatherproviders Change-Id: I8d3eb7aacaf265c55d5d0b5157731e04068a7c7d
* Automatic translation importMichael W2019-01-054-0/+198
| | | | Change-Id: I9b36a526bfd06868e848ea799a890189e6d4b956
* Automatic translation importMichael Bestas2018-12-141-0/+8
| | | | Change-Id: I26c01c4aec667cf579f77ced43f9e014ce0dc60b
* Automatic translation importMichael Bestas2018-11-151-0/+110
| | | | Change-Id: I3fe05670a09596af6e9d7a09131b1122d644eadf
* Automatic translation importMichael Bestas2018-11-05104-8555/+8556
| | | | Change-Id: I3373473b848957920fd1bd3c5e292aed979469d1
* sdk: resources: Fix lights related commentsNvertigo2018-10-211-2/+2
| | | | Change-Id: I181621e4f9388ec398a79758eb96fd8c4ac08273
* Automatic translation importMichael Bestas2018-10-1310-4/+33
| | | | Change-Id: I84a6daefc6b91600b7618b49df46f7688d2315f1
* Automatic translation importMichael Bestas2018-08-194-2/+4
| | | | Change-Id: I9f372825afbc8586bed6725631946c84b3d893b1
* sdk: Rework reading mode APIPaul Keith2018-08-081-21/+8
| | | | | | | | * The current API makes no sense, and doesn't really fit with how the other boolean features work * While we're at it, place AutoContrast properly Change-Id: I81d7805411c281e435c7451c0b62689711dbb323
* Automatic translation importMichael Bestas2018-08-05104-6/+155
| | | | Change-Id: I6f79248cd97a10a576469b03d2752578efead469
* sdk: Add minimal LineageSettingsServiceLuK13372018-08-022-0/+56
| | | | | | | * This service is currently used for loading custom hostname, it may be used for more than that in the future. Change-Id: I9b4da124b54bdc28544becb2ad25b7b43d46f123
* sdk: Make smarter low-power display mode choicesPaul Keith2018-07-271-5/+3
| | | | | | | | | * Keep CABC in low-power mode, it helps save battery * Keep ACO in low-power mode, it helps save battery * Only disable color enhancement if it's not the default, because some devices *need* color enhancement enabled Change-Id: Id8c47bdf06782d783e175cd679847c227f3b3636
* sdk: Add an overlay to specify notch presenceLuca Stefani2018-07-262-0/+6
| | | | Change-Id: Ia6a39484a45c2bbe300d9cf905999d405d11aa22
* Automatic translation importMichael Bestas2018-07-226-0/+15
| | | | Change-Id: I1cd7a1ca0ffb8972dff3c9b82df1f90ec64569bc
* [2/2] Add vendor security patch level to device infoTobias Tefke2018-07-202-0/+3
| | | | Change-Id: Ic65290aa2c5fa159512e16a3781bc407876b9e5a
* ProfileManager: Make PROFILE_SELECTED broadcast explicitLuca Stefani2018-07-151-0/+1
| | | | | Ref: BUGBASH-1969 Change-Id: I698e047f1130974a75e5e6404a13f619f57bb707
* styles: do not enforce permission when it's not neededJoey2018-07-141-4/+0
| | | | | | | Matches the javadocs now Change-Id: I3e4c8b0ff118a55a0c082310e82752f1d9f2988b Signed-off-by: Joey <joey@lineageos.org>
* Automatic translation importMichael Bestas2018-07-0924-27/+74
| | | | Change-Id: Iad6abad38bba63bcd43b5e9f6d7b82ece0c7fab1
* styles: add support for more dark overlaysJoey2018-07-081-0/+93
| | | | | Change-Id: If9e08ba8ff28cff7a4061a6b6cea10d5fe38a541 Signed-off-by: Joey <joey@lineageos.org>
* sdk: Trust: better warnings managementJoey2018-07-061-17/+39
| | | | | | | | | Allow fine-tuned management of trust warnings, the user is now able to disable specific warnings instead of blocking everything Change-Id: I04c7aa5fba76fd7500fd70c0c874fa0c3e59e03a Signed-off-by: Joey <joey@lineageos.org>
* Trust: warn if build is signed with insecure keysTobias Tefke2018-06-263-4/+28
| | | | Change-Id: I1d58e232ed99dfe7e2addb651c114c1068e64105
* Automatic translation importMichael Bestas2018-06-18104-4/+659
| | | | Change-Id: I1e864fd7e123826117d996ffb688927379f28597
* TrustInterface: Handle unsupported encryption stateAdrian DC2018-06-161-0/+2
| | | | | | | | | | | * Some devices might return unsupported, therefore explicitly label this state as bad * Also applies for special situations where encryption is essentially impossible, like booting with MultiROM from an external storage Change-Id: I7752933bad05bf8c67f5ca0d3fba7c5b38833c87
* Trust: add action to disable alerts to notificationsJoey2018-06-134-6/+26
| | | | | Change-Id: I39c60e87e511819aaac82e104d6495f363ccef0d Signed-off-by: Joey <joey@lineageos.org>
* sdk: Add an option to force pre-O apps to use full screen aspect ratioJesse Chan2018-06-122-0/+6
| | | | | | | | | | | When an app target pre-O releases, the default max aspect ratio is 1.86:1 which leads to ugly black areas on devices that have screens with higher aspect ratio (for example Galaxy S8/S9). This change adds an option to allow users to change aspect ratio for pre-O apps to full screen aspect ratio. Change-Id: I2531542f736ee7b809ef7faffd72e5963e7d20d6
* TrustInterface: Remove useless checkLuca Stefani2018-06-101-4/+0
| | | | | | * It's done in onStart Change-Id: Ib31819e881159b2fff580f3fa87f0d5da2d8bd7f
* TrustInterface: Fix default root access valueLuca Stefani2018-06-101-1/+1
| | | | | | * On clean installs persist.sys.root_access is empty Change-Id: I99fe87ebcfe53915c663244023486cf3698af24c
* Fix config.xml indentationLuca Stefani2018-06-101-8/+8
| | | | Change-Id: I58a597ed00bc3b9fc8406aefd65d418afcd9cfa3
* sdk: Introduce Trust InterfaceJoey2018-06-108-0/+436
| | | | | Change-Id: I5c3ece3f6035dd03be1ceab01020496c179f2e65 Signed-off-by: Joey <joey@lineageos.org>
* Revert "lineage-sdk: Switch back to AOSP TwilightService"Arne Coucheron2018-06-065-61/+733
| | | | | | | | | | * Causing issues on several devices, with that the GPS gets stuck in ON state and can't be turned off * No timezone fallback This reverts commit cac65b89721188e9873b0572b32b13bec81f0d76. Change-Id: Ie9b0249a1e6f94c374e90f89f49d506b1ec6c50d
* Add led capability LIGHTS_ADJUSTABLE_BATTERY_LED_BRIGHTNESSSam Mortimer2018-06-051-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | *) Many existing liblights support notification brightness control via the alpha channel but do not support similar for the battery led. *) https://github.com/LineageOS/android_lineage-sdk/commit/8f7a4559ab4a81855f399eae32ebe4a3f531e8b2 introduced a dependency on light capability LIGHTS_ADJUSTABLE_BATTERY_LED_BRIGHTNESS such that, when set, it was assumed that the battery led brightness is also liblights adjustable. It turned out that this was not the case. *) Create a new capability to allow devices to distinguish whether their liblights supports adjustable brightness control for notification and battery leds independently of one another. *) Document how brightness support works in LightsCapabilities. *) Copy LightsCapabilities comments to the default lights config to raise visibility. Change-Id: Id95905f07128c78c6acacf3b60d71bb37f70bcfb
* Automatic translation importMichael Bestas2018-06-033-2/+17
| | | | Change-Id: I4c2317a017fb1c58b9b490e4e9e9e05bec1275de
* lineage-sdk: Add backend for reading enhancementRashed Abdel-Tawab2018-05-242-2/+36
| | | | Change-Id: Ibd1c9e057ddf8e9d21657aef0ebeeaa9a253e92d
* Automatic translation importMichael Bestas2018-05-086-1/+62
| | | | Change-Id: I2ba6cf000f997a70900a390768321c9961b9bc14
* lineage-sdk: Switch back to AOSP TwilightServiceSam Mortimer2018-05-075-733/+61
| | | | | | | | | | | | | | | | | | | *) cyanogen@ forked a local copy of TwilightService in https://github.com/LineageOS/android_lineage-sdk/commit/683c67fdd456042828b86a80ae67178ef12069b0 However, the AOSP Twilight API is now much leaner and will continue to receive bug fixes which our local copy won't. Therefore, switch back to fw/b TwilightService making changes to match the API as needed. *) Refactor getTwilightK() now that yesterday, today, tomorrow sunset/sunrise values are no longer directly exposed by class TwilightState. (And make it more readable at the same time.) *) Return < 0 from getTwilightK() if a useful result couldn't be determined (eg lack of location) and update the caller so as not to try changing the temperature when this happens. Previously, getTwilightK() would always return the day temperature on failure. Change-Id: If1043435ccfee90fe5c892991d314009d13b33bb
* Automatic translation importMichael Bestas2018-04-2028-0/+39
| | | | Change-Id: I900e08f5e60de36e0112582f368268ab2550ee9a
* sdk: Remove low power restrictions on color controlPaul Keith2018-04-102-7/+5
| | | | | | | | | | | | | * We no longer support the GPU backed, power hungry, color transformations that this check was put in place for, so remove the restriction on color temp changes for low power * This is desirable because low power situations happen often at times later in the day, when blasting users with blue light (for auto night mode) is undesirable, and because reducing the intensity of colors is more power efficient, at least for AMOLED displays Change-Id: I6b78a3f626cff3387d2acafa9c73cdf6af208fef
* Automatic translation importMichael Bestas2018-04-01104-46/+495
| | | | Change-Id: Id5a6f4eb1afe35cb95416832a51c3c64aa4a3696
* sdk: workaround for runtime-permission request dialog with GooglePackageManagerJoey2018-03-111-1/+4
| | | | | | | | | | | | | | google's package manager uses the android:description attribute as description for the runtime permission request dialog with non-default dangerous permissions, so this would result in something like "Allow <APP NAME> to _Allows an app to customize the system colors._ ?" Let's change it to something more neutral so it can be used both as in-settings description and for runtime dialogs Change-Id: Iade57105a7af5d132a258fedadefe0f017fc4502 Signed-off-by: Joey <joey@lineageos.org>
* sdk: Styles API finalization for API9Joey2018-03-113-6/+107
| | | | | | | | | | | | | | | Changes: - Added getter for global style and current accent - Added getter for a list of (available) trusted overlays - Apps that want to change the global style now MUST specify their package name when calling setGlobalStyle(). LineageParts will expose the name of the app that's currently managing the global style - Improved documentation Change-Id: Iaa1b106f43684b4120aa0f39023ebfddcb379806 Signed-off-by: Joey <joey@lineageos.org>
* Automatic translation importMichael Bestas2018-03-09104-3/+219
| | | | Change-Id: Ie12729572a5f5aff8198c4d642b895fafcbf2c10
* lineage-sdk: Update the way OMS records details about overlaysBruno Martins2018-03-051-1/+2
| | | | Change-Id: If5c5988e32b9ee7bec129b60b8b13ee4772904b2
* sdk: introduce Style APIJoey2018-03-054-0/+237
| | | | | | | | | | | | | | | | | | | | | | | | | This API will allow apps to change global style mode and accent. Global style mode can be * Automatic (wallpaper) * Automatic (day of time) * Light * Dark Accent colors are defined in the caller application that will have to pass the package name. It's possible for apps to pass a Bitmap and get a suggestion of a global style + accent color that can be applied. Restrictions: * Only one accent can be enabled at time. * We're not limiting this to system apps, but we're marking this as dangerous permissions so apps will have to require it at runtime to the user. Change-Id: I921e8758c3ae093a88e897899612830258c97f8d Signed-off-by: Joey <joey@lineageos.org>
* lineage-sdk: Add vendor platform signature overlayEthan Chen2018-02-272-0/+7
| | | | Change-Id: I7e2daaaad194536d0e4fab4edcfb570d3038e10b
* Automatic translation importMichael Bestas2018-02-2519-0/+236
| | | | Change-Id: I5f0d7df148653f6f67f826c8ee4770dc19992d23