summaryrefslogtreecommitdiff
path: root/sdk/src/java/lineageos/providers/LineageSettings.java
AgeCommit message (Collapse)Author
2021-09-27Revert "LineageSettingsProvider: Allow overriding volume panel default location"HEADlineage-18.1alk3pInjection
This reverts commit 1bc4dc5, eaedf7b. Change-Id: Ie4494b34c06675f6224f7456cc5e595bac9d0ae6
2021-09-27Revert "Implement click to take partial screenshot [3/3]"alk3pInjection
This reverts commit e588c4aa831a177b1888a9feefbe20941a1259b7. Change-Id: I796d7120d276b36b2a66dd1408293dd862545d69
2021-08-29fixup! lineage-sdk: Add preference keys for one shot auto-brightnessEamon Powell
Fix typo in comments Change-Id: I13b0673ef6b4b3ec501cfea2b5dbfe9b20df3833
2021-08-23lineage-sdk: Add preference keys for one shot auto-brightnessCédric Bellegarde
Change-Id: Ifde39e542b078c40b2fd33e951b68fabef417921
2021-06-06LineageSettings: Mark lookup features as deprecatedBruno Martins
These are now handled directly in our Dialer app. Change-Id: I8d1cd0963360a88be21fdda727725cdb7146723f
2021-05-23Revert "sdk: Deprecate POWER_MENU_ACTIONS"Gegham Zakaryan
This reverts commit d8742f0727aad8187a903a0afbafbc909edf1d1c. Signed-off-by: Gegham Zakaryan <zakaryan.2004@outlook.com> Change-Id: I4071297652a6cd0a47d6c642909b32f742e60781
2021-05-20lineage-sdk: Mark DEVICE_HOSTNAME as deprecated and drop code using itLuK1337
* AOSP feature is now in place, which uses device name as DHCP hostname. Change-Id: I4adbaca2d980017e5cd81e200729f03b245c6a3e
2021-05-04lineage-sdk: Add KILL_APP button actionLuK1337
This partially reverts commit 9eca90278d2936b83b420081bbc78d475627ba7e. Change-Id: I9bfc039540936e4dbd4313c8f368ce3e3e445290
2021-05-04lineage-sdk: Add preference keys for back key long press customizationLuK1337
Change-Id: I8a5d80ef5f8aa238ad73ba034d275ea1094dffe9
2021-05-04lineage-sdk: Remove single hand mode enum valuesLuK1337
Change-Id: I2865d57d5b6e49391898e8de06889b1a26c54970
2021-04-30BatteryLights: Add ability to turn off LED when fully chargedBruno Martins
Change-Id: I01b8c753a1f92838462a797fd97b5f6a3c666158
2021-04-06Introduce anti flicker mode in LiveDisplayArian
Change-Id: Iba7387ff16d463d087c9a38bced90b6c1bd503b1
2020-11-11Implement click to take partial screenshot [3/3]Jesse Chan
Change-Id: I9de0cd4f1b793119a7dd45a95b040f70d6c151a6 Signed-off-by: Jesse Chan <jc@lineageos.org>
2020-11-07sdk: Deprecate POWER_MENU_ACTIONSLuK1337
Change-Id: I35b0d1123a427598e548cf865328a7c9423cbbca
2020-10-12sdk: Mark ADB_NOTIFY and ADB_PORT settings as deprecatedBruno Martins
Android 11 introduced Wireless Debugging, rendering our good old feature redundant. Change-Id: I7581fd79c5addad4542f392217365fa7e192528d
2020-10-08sdk: Remove "long-press back to kill app" featureBruno Martins
Change-Id: I3df4469beb53eeee070cdc486d02bb95001d7f53
2020-09-15LineageSettingsProvider: Make it compile againLuK1337
* IContentProvider API now requires us to pass an attribution tag. Change-Id: Ie991f71fb34717ab7d811ccb519a0d2d595df388
2020-06-01Implement quick QS brightness slider [3/3]Jesse Chan
Change-Id: I00ad1ce2742faa1f5a24e4b4f034b314c61cbfd0 Signed-off-by: Jesse Chan <jc@lineageos.org>
2020-05-26Implement hide gestural navigation hint bar [3/5]Jesse Chan
Change-Id: Iaf776d9d70b951119134eb31bc44a3a63f468698 Signed-off-by: Jesse Chan <jc@lineageos.org>
2020-05-26lineage-sdk: add black theme for dark mode [4/4]Jesse Chan
Change-Id: I53bbb8b9115d5b523aebd09cdb550df577c27272
2020-05-26sdk: add top exclusion to the back gestureJoey
Change-Id: I908714d80740598188ef6a27f35e4f2cb228094a Signed-off-by: Joey <joey@lineageos.org> Signed-off-by: Luca Stefani <luca.stefani.ge1@gmail.com> Signed-off-by: Jesse Chan <jc@lineageos.org>
2020-04-21sdk: Allow translucent notifications background on lockscreen [2/3]rautamak
Change-Id: I5f2ee373e446713aee236540f8d16e2685227b32
2020-03-15Implement edge long swipe gesture [2/3]Nico
Set up standard action setting for long swipe gesture. (KEY_EDGE_LONG_SWIPE_ACTION) Change-Id: Ida75e768b822542dea944cc719408e192bbb7d7e
2019-11-21sdk: Nuke Berry StylesBruno Martins
This is being ditched in favour of ThemePicker. Change-Id: I00c5faca452164d59b804cb64166edb83611f77d
2019-11-04sdk: Mark PG settings as deprecated and remove related resourcesBruno Martins
Change-Id: Ie2867e46e20ff8749ca4755f7ead847c7962b583
2019-09-20lineage-sdk: Fix LineageSettingsProvider testsSam Mortimer
* Fix bp and manifest to work with AndroidJUnitRunner. * Remove broken tests (we no longer intercept in fw/b settings provider and QS_USE_MAIN_TILES was removed). * Tests pass when executed using: adb shell am instrument org.lineageos.lineagesettings.tests/androidx.test.runner.AndroidJUnitRunner (see README.md for more info) Change-Id: I3fcf4885c61106f43e99847293220afee78e2f6a
2019-09-19lineage-sdk: Add call methods for list and delete to our settings providerSam Mortimer
To match changes in fw/b settings provider Change-Id: Ie4683fe29b9109091d0ebd4910d31b7b4c714daa
2019-09-09lineage-sdk: Include authority in content provider callsSam Mortimer
API changed here: https://github.com/LineageOS/android_frameworks_base/commit/633a13e2fa8f378d523d4ae209dc573c66db8cb1#diff-944e798f679ef205433bd711345d06dcR75 Fixes: AndroidRuntime: Caused by: java.lang.SecurityException: The authority unknown does not match the one of the contentProvider: lineagesettings Change-Id: I5fe85fee777f919824e6a2ff78986e2d736e0267
2019-08-20linage-sdk: Add secure setting to allow tethering via VPN upstreamSam Mortimer
Change-Id: I4665be19f425c47766f29da5993fd18b19352b4b
2019-06-09sdk: Add volume panel left/right settingSam Mortimer
Change-Id: I378e07bbed1fa438323be1ceaaeb6f9189daea45
2019-06-02sdk: Update for refactored battery icon optionsHendrik Hagendorn
* Handle the migration for old settings and default to Android's stock battery style. * Hiding battery icon is now achieved using icon blacklist via system tuner settings. Change-Id: Ie41d71c774a34abe225e2c0a6a0a9fd4316189cd
2019-04-12sdk: Remove VOLUME_KEYS_CONTROL_RING_STREAMLuK1337
* No longer used since we removed preference from LineageParts. Change-Id: Iff64a051762fd71a79d1ddfa52b3ca4b14f6a2bb
2019-04-07Revert "lineage-sdk: Add ACCELEROMETER_ROTATION_ANGLES to system settings"Tim Schumacher
This reverts commit 2f9375f4bce76fa98b129529bf188af91dca5eb2. Change-Id: I88392e75170302fda06900abfd222845371d6771
2019-02-04sdk: add Trust usb restrictorJoey
Change-Id: I8ba443606e83fcfc6f23e62f434f10f25eb69e1b Signed-off-by: Joey <joey@lineageos.org>
2019-02-04sdk: Deprecate some unused lineagehw featuresPaul Keith
* DISPLAY_GAMMA_CALIBRATION * LONG_TERM_ORBITS * SERIAL_NUMBER * While we're at it, cleanup tests for removal of other features too Change-Id: I1a572cf3bcc5298d208a3dc234f9d82da1105bf0
2019-01-18Revert "[3/3] cmsdk: add burnIn protection setting"Wang Han
* 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
2018-09-27lineage-sdk: Move force show navbar to lineage system settingsSam Mortimer
*) Mild cleanup of DEV_FORCE_SHOW_NAVBAR in the process. Change-Id: I519245ffb350c172bb1eef2b0d507089fc87907c
2018-07-08styles: add support for more dark overlaysJoey
Change-Id: If9e08ba8ff28cff7a4061a6b6cea10d5fe38a541 Signed-off-by: Joey <joey@lineageos.org>
2018-07-06sdk: Trust: better warnings managementJoey
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>
2018-06-12sdk: Add an option to force pre-O apps to use full screen aspect ratioJesse Chan
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
2018-06-10sdk: Introduce Trust InterfaceJoey
Change-Id: I5c3ece3f6035dd03be1ceab01020496c179f2e65 Signed-off-by: Joey <joey@lineageos.org>
2018-05-24lineage-sdk: Add backend for reading enhancementRashed Abdel-Tawab
Change-Id: Ibd1c9e057ddf8e9d21657aef0ebeeaa9a253e92d
2018-03-18lineage-sdk: Update validators for button settingsLuK1337
* Fixes ArrayIndexOutOfBoundsException when accessing button settings after update from 14.1 when user had one hand selected before. Change-Id: I3a8663211cfc5dd7ee22dbb6fa85a8eafb746790
2018-03-11sdk: Styles API finalization for API9Joey
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>
2018-03-07LineageSettings: Add a setting for button backlight only when pressedBruno Martins
Change-Id: I1a914a5f0dab22376f2a86d58be4e4a0c233f6ac
2018-02-11sdk: add berry global style and accent settingsJoey
Change-Id: If4b2d913713c7e5d2dab8dd43a41a7d0db3c6cb2 Signed-off-by: Joey <joey@lineageos.org>
2018-01-28lineage-sdk: Add Network Traffic [2/3]Jon Haus
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
2018-01-25lineage-sdk: DnD light brightness control for battery and notificationsSam Mortimer
*) 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
2018-01-24lineage-sdk: Remove lineage status bar serviceMichael Bestas
* Used for CM tiles API which is long dead Change-Id: I66e8b57c035584aff5a4f5123388a4881e853a8f
2017-12-23lineage-sdk: Add ACCELEROMETER_ROTATION_ANGLES to system settingsLuK1337
* Also add it to legacy settings so it migrates from AOSP SettingsProvider. Change-Id: Ide6ebb2205af743b8ebd03548b622fd1502c5297