| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
| |
* If extphone binder service is invoked after death, phone service
would crash due to android.os.DeadObjectException.
Change-Id: I8dec7bfd709b0443654001ecd67219a2ba8cc134
|
|
|
|
|
|
| |
* catch OEM RIL being unresponsive to UICC provisioning request
Change-Id: Ic28c01412bffaec4cadabd3d68434ddef75693ef
|
|
|
|
|
|
|
|
|
|
| |
* Our overlay name now confuses people as Google introduced a screen
burnin protection feature for ambient mode in Oreo. Just re-use AOSP
one and kill this.
This reverts commit 088ddf5aafbb578ae5566bec3fab580d1372f76.
Change-Id: Ia76b28444cd7b117559062fbd8230602962616b2
|
|
|
|
| |
Change-Id: I62b9e1cc8a4896062a3ffddbf2c33c566fd592dc
|
|
|
|
|
|
|
| |
*) Replace lineageos.permission.CHANGE_STYLE with
AOSP android.permission.CHANGE_OVERLAY_PACKAGES.
Change-Id: I2dfb339688795ad5a7ae70d8d60a7dc51bbdb4cb
|
|
|
|
|
|
| |
*) Mild cleanup of DEV_FORCE_SHOW_NAVBAR in the process.
Change-Id: I519245ffb350c172bb1eef2b0d507089fc87907c
|
|
|
|
|
|
|
| |
* Google introduced user logout in Pie:
https://github.com/LineageOS/android_frameworks_base/commit/044588599c97ceff70d74a133c9eb01a028db00c
Change-Id: I60a64beb5fc69e89d5872c74439bec30a47d4d0c
|
|
|
|
|
|
| |
* Now extending TextView to match Android P settings.
Change-Id: Ieed7174a92e3801e6c782b39c36731a67ae1be59
|
|
|
|
|
|
|
|
| |
* An alternative to using the getRecentTasksForUser method
that got removed with the following commit:
https://github.com/LineageOS/android_frameworks_base/commit/5fa397533fa29254e8a45a05675b2c03756a0ada
Change-Id: I752c2445c3ffc0933dfe6290c99d839a036e4bc3
|
|
|
|
|
|
|
|
|
|
|
|
| |
Replaces the need for:
https://github.com/LineageOS/android_frameworks_support/commit/32e67e60201feee32b5af8ef4bb66c98292cd3b7
*) frameworks/support are now built with gradle and are included as prebuilts.
*) API level 26 (8.0) introduced PreferenceDataStorage which can be used
to implement what we need without touching the support library.
Change-Id: Ide3417019ccf8bde5dca3b2aec3d2075e7c8b597
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Apparently creating it so early can cause serious breakages
that make StorageManagerService and UsbDeviceManager end up
getting null pointer when trying to get KeyguardManager with
ctx.getSystemService(KeyguardManager.class).
* Moving ctx.getSystemService(KeyguardManager.class) out of
constructor to isKeyguardLocked() solves these issues.
* Also move to getSystemService(Class<T>) while at it.
Change-Id: Ib3f65ba2e726149089ab1fb12030321e0ecdeab1
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
| |
* For non-RGB segmented battery LEDs, we currently don't allow any kind
of brightness control, because the alpha channel is taken up by the level
* To remedy this, set the brightness in the color channel like we do for
setting panel backlight brightness by setting the brightness as R/G/B
Change-Id: I4e47861643e0b2b8766af0f2ff275069fc580108
|
|
|
|
|
|
|
| |
* This service is currently used for loading custom hostname,
it may be used for more than that in the future.
Change-Id: I9b4da124b54bdc28544becb2ad25b7b43d46f123
|
|
|
|
| |
Change-Id: I85383db3583eba75f675ad5e4a4be1379c012ef6
|
|
|
|
| |
Change-Id: Ic65290aa2c5fa159512e16a3781bc407876b9e5a
|
|
|
|
|
| |
Change-Id: If9e08ba8ff28cff7a4061a6b6cea10d5fe38a541
Signed-off-by: Joey <joey@lineageos.org>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Change-Id: Ifdd18dd6e89e23c5b804c3454ee8473a5920b562
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Apply the color tint with PorterDuff.Mode.MULTIPLY
as the original color is white, with transparencies
* Use the DarkReceiver tint's value as icons tint
* Results: Before and after: https://ibb.co/k15ony
* Test: Bright wallpaper with status bar contrasts:
https://ibb.co/dxupSy
Change-Id: I4f31cf5a9a3db4018543603a891fa7967ccbb4a3
|
|
|
|
| |
Change-Id: I1d58e232ed99dfe7e2addb651c114c1068e64105
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Change-Id: I5c3ece3f6035dd03be1ceab01020496c179f2e65
Signed-off-by: Joey <joey@lineageos.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*) 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
|
|
|
|
| |
Change-Id: Ibd1c9e057ddf8e9d21657aef0ebeeaa9a253e92d
|
|
|
|
|
|
|
| |
* In case mCanAdjustBrightness was false, the brightness level would
always be set to the maximum value.
Change-Id: I034bc17ac1174c491830f0a6cb1969a99ee900a7
|
|
|
|
| |
Change-Id: Ie99c14a73c14e1f5b6c39125625153f2628f884d
|
|
|
|
|
|
| |
* Follow LineageNotificationLights debug logic
Change-Id: I6b4a91db45a119c8c0b8b30684386765b73b93d2
|
|
|
|
|
|
| |
* Mimic LineageNotificationLights logic
Change-Id: Ifc0c899ef78dbdec22fa69ecd0bcffe1a9488afe
|
|
|
|
|
|
|
|
| |
* Fixes ArrayIndexOutOfBoundsException when accessing
button settings after update from 14.1 when user had
one hand selected before.
Change-Id: I3a8663211cfc5dd7ee22dbb6fa85a8eafb746790
|
|
|
|
|
| |
Change-Id: I22ec35e3ab59fe64c223e8e3433e12c05870a1c0
Signed-off-by: Joey <joey@lineageos.org>
|
|
|
|
|
| |
Change-Id: Iace1ed8b9a4c38afda908a6923bdbea4679cba83
Signed-off-by: Joey <joey@lineageos.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Change-Id: I1a914a5f0dab22376f2a86d58be4e4a0c233f6ac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
*) Allows us to cater for the case where the notification led is turned off
and yet the user wants to adjust battery light settings (which requires
posting led notifications to illustrate the change).
Change-Id: I24d128d796a44f5b3e9051d441427cc19e2a3822
|
|
|
|
|
| |
Change-Id: I036b2e332ba0b03e50d323daf395bb13d160656d
Signed-off-by: Joey <joey@lineageos.org>
|
|
|
|
|
|
|
|
|
| |
*) Android docs say this is required.
*) Fixes generating alert color from oreo gmail app (and probably
many others).
Change-Id: Iad9a8ea82531c1cf844fae5456fd998a4b486165
|
|
|
|
|
|
|
|
| |
*) fw/b now sets the color to 0 to indicate that we need to set
a default (to cover Oreo+ sdk where DEFAULT_LIGHTS has been
deprecated).
Change-Id: I91b7cfff2ea6f8c1b999b6246c14416a2a47cbfb
|
|
|
|
|
|
|
| |
Throwing an exception leads to rescueMode in oreo
Change-Id: I9c4cb7af8cae51936f439641b79ae522c84eaaee
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
|
|
|
|
|
|
|
|
|
| |
LiveDisplayManager.getMode() returns MODE_AUTO when night mode is enabled
automatically, so there's no way to determine if night is on when livedisplay
changes automatically
Change-Id: Ia47fc127232c2bb3b6634b55712060a919f8c9c1
Signed-off-by: Joey <joey@lineageos.org>
|
|
|
|
|
| |
Change-Id: If4b2d913713c7e5d2dab8dd43a41a7d0db3c6cb2
Signed-off-by: Joey <joey@lineageos.org>
|
|
|
|
|
|
|
| |
* Remove per-app profiles support
* Remove cpu boost support
Change-Id: I37e7473f8df1d08a69bc9274ae356dc1133811db
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Changes made since the original implementation from older branches:
*) Forward-ported to Oreo and adapted to Lineage SDK (bgcngm).
*) Implement LineageStatusBarItem interfaces to receive visibility
and color tint information (bgcngm / sam3000).
*) Move from fw/b to lineage-sdk (sam3000).
*) Increase refresh interval from 1s to 2s (sam3000).
*) Don't generate messages when the statusbar isn't visible (sam3000).
*) Allow for choice of unit to be kb/s or Mb/s (and kB/s and MB/s). This
deprecates threshold selection for autohide (sam3000).
*) Add an option for whether units should be shown in the
statusbar (sam3000).
*) Various other simplifications (sam3000).
*) Added vector drawables (courtesy of kover).
Change-Id: Ia5aadc3f03a7b434a047accbd7d53f4aa44c77fb
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*) Introduce LineageStatusBarItem class that contains interfaces
and utility methods that can be used by status bar items that
that are hosted here in the lineage-sdk in order to communicate
with systemui.
*) Nested interface: Manager
Implemented by layout view LineageStatusBarItemHolder in systemui.
Contains methods that are used to request receipt of certain
systemui events.
*) Nested interface: DarkReceiver
Can be used to listen for systemui DarkReceiver events.
*) Nested interface: VisibilityReceiver
Can be used to listen for changes in visibility of a statusbar item.
Works even if the statusbar item sets it's own visibility to GONE.
*) Util method: findManager(View v) walks up through parent views to
look for something that implements Manager.
*) Systemui side that provides a layout that implements Manager:
https://review.lineageos.org/#/c/202265/
Change-Id: Ie237db5bfac9994b87de39372505cd61c39d89ee
|
|
|
|
| |
Change-Id: I00170f5c42a9849ec71b2c328b56b1ee32e73747
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*) Support separate normal and dnd led brightness levels for battery
and notifications.
*) Move lineage-specific notification bundle extras definitions from fw/b
to LineageNotification here in the sdk.
*) In addition to the existing bundle extra EXTRA_FORCE_SHOW_LIGHTS, add
a new extra EXTRA_FORCE_LIGHT_BRIGHTNESS that can be used to override
the brightness level set by a Lineage system setting brightness level
on a per notification basis. This is used by the brightness sliders
in LineageParts that otherwise would have to juggle changing / restoring
the system led brightness setting whenever the a slider is on display.
*) Disable all lights in dnd mode when lineage setting ZEN_ALLOW_LIGHTS
is set to 0.
Change-Id: I917f402a291682b582f68c8324a33c461357dad9
|
|
|
|
|
|
| |
* Last used in cm-13.0 for cyngn purposes
Change-Id: Ie5aa8b224c29f2d716489cf7a7eb2dfe2d8a3bbf
|
|
|
|
|
|
| |
* Was used by ThemeManagerService
Change-Id: I94b5e640a8280edced2706ab029a2558f2003486
|
|
|
|
|
|
| |
* Last used/implemented in cm-13.0 DeskClock
Change-Id: I9db1a72e29fd2ce232f7cad69ee9b5a6fadfa5de
|