summaryrefslogtreecommitdiff
path: root/sdk/src
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-09-22lineage-sdk: add ATV button settingsTimi Rautamäki
Change-Id: I7d41e71301e480aef73c32af77c0eb78c9053b6d
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-23lineage-sdk: Add LineageGlobalActions serviceGegham Zakaryan
The service will offer updateUserConfig, getUserConfig, and userConfigContains methods, which will be used from LineageParts and fwb. The service will also observe Settings.Global.BUGREPORT_IN_POWER_MENU and Settings.Secure.LOCKDOWN_IN_POWER_MENU to update the GlobalActions dialog when these are updated. Signed-off-by: Gegham Zakaryan <zakaryan.2004@outlook.com> Change-Id: I46663ab1ffe6f8d8b2a3dc7dbe54a65b7a62046a
2021-05-23lineage-sdk: Follow AOSP order of PowerMenuConstantsGegham Zakaryan
Partially follow the order of config_globalActionsList and bring emergency and lockdown to top. Some of the order isn't followed as some items such as users and airplane don't exist in AOSP's list but are much more frequently used than, say, bugreport. Signed-off-by: Gegham Zakaryan <zakaryan.2004@outlook.com> Change-Id: Ie49e77fd99ad0f0dee7c6c7956fc7c1d0474ee63
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-13lineage-sdk: Disallow KILL_APP action when task is pinnedLuK1337
Fixes: https://gitlab.com/LineageOS/issues/android/-/issues/3468 Change-Id: I8420d5531422e9ed25588cd6e5198e14472569e5
2021-05-12lineage-sdk: Retire HostnamePreference as net.hostname no longer worksLuK1337
Change-Id: Ibecaccd5f853570fb4e02cba7274429f2bb037b2
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-05-03BatteryLights: Fix disabled lights when fully charged conditionsBruno Martins
Make sure that the option has effect ONLY when battery is uh... fully charged. Additionally add previously missing logging. Change-Id: Ib232d0ea6652230a2435be6931f964dc04a30f71
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
2021-01-07LineageHardwareManager: Introduce keys swap feature supportArian
Change-Id: I789814d780b06b146c1f9ab62293f4d6ca287208
2021-01-01SystemUI: NetworkTraffic: Refactor message handlingMichael W
* In certain network situations (e.g. while changing from wifi to cellular) it can happen, that the HashMap is modified while the stats are currently being recalculated * We can prevent this by moving adding and removing of any network to the same handler so the callbacks can happen without breaking the flow * Move the existing code in handleMessage into some little helper methods so it stays simple and readable Fixes: https://gitlab.com/LineageOS/issues/android/-/issues/2870 Change-Id: I38c0c27a4f76fab5aeee013beab346c088bbbd59
2020-12-21Profile: Don't NPE when service is not startedAlessandro Astone
On FDE we check wether keyguard is enabled before starting non-core services like ProfileManager. All method calls are already guarding RemoteException for a binder fail, so just throw one if getService() fails. Change-Id: I44a3a5ea56a5277d84d96a0bc2c7135433811e20
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-09LineageButtons: Add support for skipping tracks with remote controlezio84
For Spotify and other players that allow music controls for remote devices (PC, PS4) through the media notification Change-Id: I38887f8b1cff1a0c1e3adadbfe37d5af59b5cdcc
2020-11-07sdk: Deprecate POWER_MENU_ACTIONSLuK1337
Change-Id: I35b0d1123a427598e548cf865328a7c9423cbbca
2020-10-25ConstraintsHelper: Allow replacing multiple keys at onceBruno Martins
Change-Id: Ic676aaf12abd4d4b7a6a60b66308774a944ffdd8
2020-10-12sdk: Kill TelephonyExtUtils classBruno Martins
Since Android 10 arrived, the support for manual SIM provisioning was never ported. In fact, there seems to be a way to do that using some bits of AOSP code. This way we get rid of the telephony-ext dependency for good. Change-Id: Ibe4e430d696782032b7d9840ab36db040c3a4df9
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-05-04lineage-sdk: NetworkTraffic: Cleanup network callbackSam Mortimer
* Don't call ConnectionManager.get* methods from within the callback, docs say it's racy. * Remove the NetworkState struct whilst we're here. It was useful for debug during development but is no longer needed. Change-Id: Ia1abbdfa31b258c38ba809844340d0dc06e5bd07
2020-05-01lineage-sdk: add powershare qs tileLinux4
Change-Id: Ia324041843b7314881d9958f81fdc45a92b56ea0
2020-04-22Profiles: Work with a list of subscriptionsMichael W
* This is a better approach to work with all subscriptions independently Change-Id: Ibb8f8a2483bfc1e36dc27e5d6abaf9fc653fbeeb
2020-04-21sdk: Allow translucent notifications background on lockscreen [2/3]rautamak
Change-Id: I5f2ee373e446713aee236540f8d16e2685227b32
2020-04-21profiles: Fix typo in static variable namingBruno Martins
Change-Id: Ic17febc55e6726f0efc18c201223856bbc2798b3
2020-04-21profiles: Account for deprecated location API methodsBruno Martins
Settings.Secure#setLocationProviderEnabled is deprecated since API level 19. Change-Id: I7d1d13de3af100fb81d87e957acf89fb7f08cb7d
2020-04-04lineage-sdk: Add AoD TileAndreas Schneider
Change-Id: I9ab3f3269849edd6052be644f551ec2658615423
2020-03-17NetworkTraffic: Include tethering hw offload statisticsSam Mortimer
*) Regular interface stats don't include hw offload tethering statistics so collect and include them in our traffic calculations. Change-Id: Id72577429840f65ae20d7b80e7490ec41d826579
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
2020-03-09lineage-sdk: Drop Expanded Desktop APIWang Han
* This conflicts with AOSP gestures implemention now, and the framework part is hard to port. * Furthermore the original implementation has the following bugs/issues: 1. Pressing power button or double tap does not wake up the device 2. No soft-key buttons when opening the keyboard 3. Probably more Change-Id: Ia233c3b9d0aa7426f0fd15dffe4da203b4e09b1d
2019-12-16sdk: Remove berry style leftoversMichael Bestas
Change-Id: I59cf25452d1de34bc3c357cdc01b6a4f985802ad
2019-12-08lineage-sdk: Drop root status of TrustWang Han
Change-Id: Iaec0b2a8a781a0e9d301a21a3af5e4362a5d6630
2019-12-08sdk: Add GLOBAL_ACTION_KEY_RESTART_FASTBOOTLuK1337
Change-Id: Ib4f050f634769f58e654a4240fb521f136fd04e7
2019-11-23sdk: Make phone a new compile targetMichael W
* Moving SensitivePhoneNumbers to sdk got us significantly bigger zip packages due to libphonenumber being part of every package that is using org.lineageos.platform or org.lineageos.platform.internal * In order to correct this, move the "phone" folder to an own library that statically links libphonennumber and subsequentially make use of that package where needed Change-Id: I4effd7a9248290aeb23ab47ff8e30385dce4401a
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-11-02SensitivePhoneNumbers: Load numbers only at first actual call to methodMichael W
* Constructor is called during boot, adding boot time where it's not necessary * Use the first actual call to a function to parse the list Change-Id: I02548d004c5d78db65c872247cd36a0405d826ea