summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-09-27Revert "LineageParts: Add volume panel left/right setting"HEADlineage-18.1alk3pInjection
This reverts commit d72529309a4b6ebe58ecbdb9ca01b310e209f6ff. Change-Id: Ie6fb8bca5373c525e6d893edf3631caf7882a7b4
2021-09-27Revert "Implement click to take partial screenshot [2/3]"alk3pInjection
This reverts commit ee1a28814de84fea6fc13a92f9311f0f97170a27. Change-Id: I5ca803604f1b02834b0e64fd7f3776575d973b1f
2021-08-21Automatic translation importMichael Bestas
Change-Id: Ia0a40ae3b88d98f4dd340f258285f73dff360c4f
2021-07-31Regenerate contributors cloudKevin F. Haggerty
* Data fetched 2021-07-30 using an admin account Change-Id: I9265a57e739a67c5132af9ff54c8b974adeaa5c5
2021-07-10LineageParts: improve Notification light settings actionbarTimi Rautamäki
Before the ´Use custom values´-toggle would toggle search-icon instead of add-icon. Change-Id: I40c64f449122e5a86b1dc1501e7316c2787d367a
2021-06-16profiles: Add FLAG_IMMUTABLE flag for security purposesBruno Martins
Prevent the intent to be altered by a malicious app. Change-Id: Id5144fb3f11fc98380de0188df0f32330e976398
2021-06-16lineagestats: Use FLAG_IMMUTABLE for ReportingServiceManagerBruno Martins
Following Google's approach to fix these vulnerabilities, require that the PendingIntent be immutable so that a malicious app isn't able to hijack and mutate any of the details. Change-Id: Ic66e57f0d0cc9a0b1afbb62857809499cb50172f
2021-06-09trust: Fix case of details about vendor security patchNolen Johnson
* Make it match every other string in this area. Change-Id: I6c338125a3cc1710fabca21433868900d7833d77
2021-05-16PowerMenuActions: Add emergency optionGegham Zakaryan
This allows toggling Emergency button in GlobalAction(Power menu). Signed-off-by: Gegham Zakaryan <zakaryan.2004@outlook.com> Change-Id: I190048e213a08a969e10aef4081650875dab2587
2021-05-16PowerMenuActions: Add more checks for bugreport and lockdown option statesGegham Zakaryan
Use LockPatternUtils to check if lock screen is secure. Use UserManager and UserInfo to check if the current user is primary. In result, bugreport and lockdown are visible and toggled only during correct scenarios: - Bug reporting option is disabled if development settings aren't on - Bug reporting option is disabled if the current user isn't the primary user - Bug reporting checkbox reflects the state of Settings.Global.BUGREPORT_IN_POWER_MENU - Lockdown option is disabled if keyguard isn't secure - Lockdown checkbox reflects the state of Settings.Secure.LOCKDOWN_IN_POWER_MENU String summaries are added for each scenario. Signed-off-by: Gegham Zakaryan <zakaryan.2004@outlook.com> Change-Id: I8a4e4a6078e8277ce2cfee16d5b2abb4de91c746
2021-05-16PowerMenuActions: Move methods to SDK serviceGegham Zakaryan
The methods now live in a separate GlobalActionsManagerService inside lineage-sdk. Signed-off-by: Gegham Zakaryan <zakaryan.2004@outlook.com> Change-Id: I58dde8e75460743428ef51309a8a31b997292cf1
2021-05-16Revert "LineageParts: Drop power menu actions settings"Gegham Zakaryan
This reverts commit cfe52298b243689d7bbf8ac133401e2f4a20dbf1. Signed-off-by: Gegham Zakaryan <zakaryan.2004@outlook.com> Change-Id: Ia56cb761dd83539b136ba33d7caf5c66d156228a
2021-05-15Automatic translation importLineageOS Builder
Change-Id: I2658798781f88ed62ce412a029516c63168e8a87
2021-05-14LiveDisplaySettings: Unlock Reading Mode whenever is possibleBruno Martins
Don't hide it anymore if Digital Wellbeing is present as this package no longer provides the same functionality as before. It has a greyscale option, but only when bedtime mode is enabled. User might want to enable Reading Mode independently, so make it available. This partially reverts commit 1b1932c05f85b5285784ca7080f4a17525a21226. Change-Id: Icacd81362d3cf83ced67ff07aed41ffb44af35ec
2021-05-04LineageParts: Add KILL_APP button actionLuK1337
Change-Id: I08af6898da1013f146bc620ea86033572cd6c53c
2021-05-04LineageParts: Add preferences for back key long press customizationLuK1337
Change-Id: I32bba61ae5b76692b3a4305788559147b6f87436
2021-05-04LineageParts: Make sure "Wake device" pref is always accessibleLuK1337
Previously it'd be disabled when navbar was enabled. Change-Id: I8423754f87731c1174b72ac664847e0f6260fc89
2021-05-04LineageParts: Remove leftover single hand mode action codeLuK1337
Let's be realistic here, this ain't coming back soon. Change-Id: Idd45e20a9b49782e2093749990eb5d8a6263edff
2021-05-01LineageParts: Add color mode preview from AOSP SettingsLuK1337
Change-Id: Ie69134a7148053e93e3aba528eefd858ae660ccd
2021-04-30BatteryLightSettings: Add ability to turn off LED when fully chargedBruno Martins
Option will not show for devices with colored battery LEDs as those can set the color to black. Change-Id: I5076776747c1006671e421242f75f61cc6a7cdb2
2021-04-15LineageParts: Use colorControlNormal for touchscreen gestures icons tintLuK1337
Change-Id: I5e43dbe00408eae4a42903f637e2433c2b9ba025
2021-04-09Add a toggle for anti flicker mode in LiveDisplay settingsArian
Change-Id: I4a80af3888c578652bf5e264a62e333cc2162305
2021-03-30Regenerate contributors cloudKevin F. Haggerty
* Data fetched 2021-03-30 using an admin account Change-Id: I7396cb0ddd163c497990a578067d2949f54702c9
2021-02-28Automatic translation importMichael Bestas
Change-Id: I152a20331f1d67f92bbb787393f8f4e32a125299
2021-02-06profiles: SeekBarVolumizer: Properly setup the minimum of the seekbarArian Kulmer
Some streams, like the alarm stream, have a minimal volume of 1 instead of 0 which leads to a seekbar where 0 and 1 result in the same volume set. Test: The seekbar for a stream with a minimal value of 1 (alarm) starts with 1 and other streams stay uneffected Change-Id: I9e6f8caf45c5333a2e865e09e754da0bef5cee99
2021-02-06profiles: Import SeekBarVolumizer for usage in SetupActionsfragmentArian
In order to fix an issue in system profiles where the first two values of the slider for the alarm stream resulted in the same value (1). Import it because the framework preferences are deprecated https://android-review.googlesource.com/c/platform/frameworks/base/+/1540128 Imported from https://github.com/LineageOS/android_frameworks_base/blob/a6eff9c92353cd74ebae12cc82840d1356844980/core/java/android/preference/SeekBarVolumizer.java with the following changes: * Removed the deprecation notice * Removed UnsupportedAppUsage annotations Change-Id: Ie2053924e86d9060f0d8af95e98c5508f123528e
2021-01-10LineageParts: Stats: Improve getting a valid carrier nameMichael W
* Looking at our stats server, there are a lot of unknown carriers * "Unknown" may be the result of the device not being registered to a network when the stats are collected, so in these cases we would simply go by whoever provided the SIM Change-Id: I659c96d0d683109a75d9e12daa1d6fa457eb4840
2021-01-10LineageParts: Stats: Try getting a valid country codeMichael W
* As per https://developer.android.com/reference/android/telephony/TelephonyManager#getNetworkCountryIso() we are either getting a valid lowercase 2 character alpha-2 country code or an empty string. Make it uppercase so the server needs to do less work on those strings * Additionally the doc states to be unreliable on CDMA networks, so in those case don't use the result * To get a country code anyway, use getCountry() on the current locale - we will get either an uppercase 2-letter or a 3-digit code, which we only use when it's the 2-letter result Change-Id: I2c2538e1d77502f3c240543b544c954226175061
2021-01-06ButtonSettings: Add a setting to swap capacitive keysArian
Change-Id: Ibfcd698989c6496e45ca756a7f279216fe671329
2021-01-06LineageParts: update preference category title text colorTimi
* Update preference category title text color from colorAccent to textColorSecondary to match AOSP titles Change-Id: I8747dc98077d5247b54d7f90e267448cbedc45ab Signed-off-by: Timi <timi.rautamaki@gmail.com>
2020-11-22LineageParts: Fix generating id in android namespaceMichael Bestas
Fixes: res/layout/profiles_header.xml:18: warn: generated id 'android:id/title' for external package 'android'. Change-Id: I32599c3b895fdd0f0b142d9ca2250716f3cef172
2020-11-18Regenerate contributors cloudKevin F. Haggerty
* Data fetched 2020-11-18 using an admin account Change-Id: I8aca11f5ce4c1d4450c6782aceb439d293c7081b
2020-11-09Implement click to take partial screenshot [2/3]Jesse Chan
Change-Id: I187cb68947f6967e2993096108310648e1dc1b68 Signed-off-by: Jesse Chan <jc@lineageos.org>
2020-11-08ButtonSettings: Add future-proof checks for empty preference categoriesBruno Martins
Change-Id: Ie4bb75d5c0eca89d52ec1566f338860894ce5a54
2020-11-07ButtonSettings: Remove power button preference category if emptyBruno Martins
Test: Preference category doesn't show on WiFi-only tablet with no flashlight. Change-Id: Ibc51e90f731b96039535c98893421755dfab03be
2020-11-06LineageParts: Drop power menu actions settingsLuK1337
Change-Id: I7f18189a74e19a2d968219d79ff9c9a360485f4b
2020-10-29ButtonSettings: Implement support for keyboard lights toggle mode onlyBruno Martins
Up until now, it was assumed that all devices with keyboard lights had variable brightness control. Add support for those that only support lights on / lights off. Change-Id: If6c79411fd046efdea6554946b192cf2d135395a
2020-10-10ButtonSettings: Rework buttons/keyboard backlight control enablementBruno Martins
Let's end once and for all with the nonsense of using floats config_{button,keyboard}BrightnessSettingDefaultFloat to enable button and keyboard brightness control, respectively. Instead, just move over to the recently introduced integers config_deviceSupports{Button,Keyboard}BrightnessControl. This avoids people with devices with hardware keys having to overlay config_{button,keyboard}BrightnessSettingDefaultFloat to a value of 0.0 just to disable the unsupported features. Change-Id: I0dfd0b5fa51c51398face208f17df70419ef00ca
2020-10-10ButtonBacklightBrightness: Restore disabled keyboard backlight codeBruno Martins
Change-Id: I7b1604602e79829ff18bbe8dd2e7d2de9869f00d
2020-10-08LineageParts: Specify different exceptions in queryNonIndexableKeys()Luca Stefani
Change-Id: Ib20a50b2cfda353568b5e99f17732e28012fe21b
2020-10-08LineageParts: Keep SEARCH_INDEX_DATA_PROVIDER()Luca Stefani
* This allows reflection to actually work on 11. Change-Id: Ib20a50b2cfda353568b5e99f17732e28012fe0fb
2020-10-05ButtonBacklightBrightness: Migrate keyboard/button backlight to 0.0f -> 1.0f ↵LuK1337
range Change-Id: I3b724498a5b20eb00dc9aa88c9a4259b65133206
2020-10-05ButtonBacklightBrightness: Migrate to SDK keyboard/button overlaysBruno Martins
Change-Id: I66e4e24630b42cc8f4cb32bfecd147f67c672d94
2020-09-25LineageParts: Allow removing livedisplay pref screen with ↵Paul Keith
config_enableLiveDisplay * We can't inject via IA if we want this. Change-Id: I17103ad116d1d26855fb47fdee1fa6cdc914e053
2020-09-20Automatic translation importLineageOS Builder
Change-Id: Ib20a50b2cfda353568b5e99f17733e28012fe0fb
2020-09-12Automatic translation importLineageOS Builder
Change-Id: I66f70c1680a71f1ea04e5574155bb29528c20ba5
2020-09-09Automatic translation importMichael Bestas
Change-Id: I51eb039aaa2b24431dcfb001ed48c0a504a6ec7f
2020-09-09Automatic translation importMichael Bestas
Change-Id: I662adece4b960d45ff0d6a346cb5130ce20fea3e
2020-08-29LineageParts: Discard all invalid bits when setting TRUST_WARNINGS valueLuK1337
Test: adb shell settings --lineage put secure trust_warnings 3 then try to change the preference in settings. Fixes: https://gitlab.com/LineageOS/issues/android/-/issues/2435 Change-Id: Ieda259513fb51380ffb3216f33353f51c23f8ddc
2020-08-11Regenerate contributors cloudKevin F. Haggerty
* Data fetched 2020-08-11 using an admin account Change-Id: I8c9363e950546ac446df4ed5f724383eeeb8b554