Ramii Ahmed
a7262011d4
Introduce High Touch Polling Rate feature
...
Change-Id: I6eb65e811f1759806aa89747328ee638c99a44f5
2022-03-19 10:09:50 +01:00
Oliver Scott
fad289124c
lineage-sdk: Use new API to access Network Traffic settings
...
Change-Id: If34674526bc9760eb8577e97eb1e1d9463a3c2d6
2022-03-07 22:42:53 +01:00
Luca Stefani
b0d6dd92e8
sdk: s/UserHandle.USER_OWNER/UserHandle.USER_SYSTEM/g
...
USER_OWNER has been deprecated and replaced by USER_SYSTEM
Change-Id: I93b057a52dcdcb3760b7c2139bea2e25a624a78f
2022-03-07 22:42:53 +01:00
Luca Stefani
d787f12781
settings: Use proper locking
...
Change-Id: I0f2c30cb0bb324602738800a8ff81359fa484223
2022-03-07 22:42:53 +01:00
Luca Stefani
2e050a5c98
settings: Move one if check to else if
...
The map is always empty if the previous check was true
Change-Id: Id1f939d112789ab3c7da711636b40c8a4c23d507
2022-03-07 22:01:43 +01:00
Luca Stefani
ebaa32ef9f
settings: Use Id from ContentResolver
...
Making this change allows to determine
automatically the proper user ID depending on the
context used to create the resolver
Change-Id: I08021fa56856ef4792da780bca1c0e77526e72a6
2022-03-07 21:51:45 +01:00
LuK1337
d389bf1773
sdk: Add device controls global action
...
Change-Id: I8be18dfa1fe7807ca2eff13c4c2d477322530af0
2022-02-25 13:39:10 +01:00
LuK1337
21fcbbf2f5
sdk: Move app killed toast message to main application thread
...
Fixes: Can't toast on a thread that has not called Looper.prepare().
Change-Id: Ia0179ccd4433ac6ceaaa13e03b3e4e6465a6d006
2022-02-23 22:02:26 +01:00
Luca Stefani
67c0daf545
Remove LineageAudioService
...
Change-Id: I4aea4c62154a0f7d9d6d96e68ddf2bd401458fab
2022-01-31 00:44:33 +02:00
Bruno Martins
7242fc8373
sdk: Remove Styles leftover from lineage_stub_packages
...
Change-Id: I2e4590ee171b42d22ddc0f0497ac117ff932a6f3
2022-01-30 22:33:24 +01:00
Bruno Martins
9265e4085d
sdk: Nuke perf profiles
...
Change-Id: Ibd32da7cb2feb8fa41bf9804f101167e4d12e33c
2022-01-30 22:33:24 +01:00
Sebastiano Barezzi
a3bed92302
ProfileManagerService: Don't kill the entire system if WifiManager is null
...
Change-Id: I53ceed998c19e956df75dcffe08449714172c8be
2022-01-30 00:29:18 +01:00
Bruno Martins
fb4dfb48cb
sdk: Remove LineageContextConstants.Features.FOD
...
Change-Id: I1196413cc116495c4998e859aa279c0fcf2e16f1
2022-01-26 22:57:16 +01:00
Cédric Bellegarde
c0fde5eacb
lineage-sdk: Add support for clock auto-hiding
...
Change-Id: I9d05188289e334a99baeaa330fb869573e123ea6
2022-01-24 19:39:24 +00:00
Michael Bestas
b997b2bf54
Automatic translation import
...
Change-Id: I020af2e27b907a1b37a812a92ef6cabab2d934c3
2022-01-12 17:17:25 +02:00
Oliver Scott
e385b0c2f3
Enable Restricted Networking Mode and allowlist INTERNET apps by default
...
* Handles fresh installs and upgrade scenarios
* Replaces network isolation feature
Change-Id: Ia35ba7cdc07ed9f49c09e2dd5275bfc233d9efe2
2022-01-05 00:44:55 +01:00
Bruno Martins
3c27619fb3
LineageSettings: Remove long dead notification count settings
...
Change-Id: I4a19cdaf31283da398a46784c4ba5763beb8c658
2022-01-04 00:50:12 +00:00
Bruno Martins
01d0bae938
preference: Introduce {Global,Secure,System}MainSwitchPreference
...
Change-Id: I04cf71ea60b3ecde3c8be039ab320e8730ca4b3f
2021-12-31 21:03:04 +00:00
Bruno Martins
5212620478
lineage: res: Introduce config to declare wireless charging support
...
Change-Id: I2b8e2a5709f101d04faec233d57166db76667c4a
2021-12-31 17:20:56 +01:00
Bruno Martins
ea5bec56fd
LineageSettings: Deprecate charging sound settings in favor of AOSP ones
...
There's no need to have our own settings for this when we can simply
override the existing AOSP ones.
Change-Id: I84e1f7286cd6b4ee68c62f17ad104c76031ee0ff
2021-12-31 17:20:56 +01:00
Luca Stefani
9256c6841b
settings: Allow validating Global settings
...
Change-Id: I7648e092b31fdf685ad01577834755cb631fde73
2021-12-23 00:48:11 +01:00
Luca Stefani
9ca1852af1
settings: Also check WRITE_SECURE_SETTINGS perm for System table
...
In M+ Google changed the permissions required to access the System table
and forced every caller to either hold the WRITE_SECURE_SETTINGS
permission or target pre M API
Change-Id: Ie4a4dd11e28b1caff1a6cd9be52f79b236f9271f
2021-12-23 00:47:02 +01:00
Luca Stefani
efe6d135bf
Make Usb Restrictor available if USB HAL 1.3+ is present
...
The new HAL exposes an identical interface
Signed-off-by: Luca Stefani <luca.stefani.ge1@gmail.com >
Change-Id: Ic7a0862ca92dab5d25c11926235b2e8194cb7e62
2021-12-19 21:57:44 +01:00
Oliver Scott
55652b702a
lineage-sdk: Add min_sdk_version 30 to org.lineageos.platform.lineagesettings
...
Change-Id: Id828373f7984aeb36a935edf132a688a16250174
2021-12-10 07:35:02 +01:00
Michael Bestas
b4fb451607
Move liblineage-sdk_platform_jni to /system_ext
...
Change-Id: Ida89af9027779496f5134f32fbb9d973ca7b2313
2021-11-14 21:39:06 +02:00
Volodymyr Zhdanov
0ea65ec244
lineage-sdk: Stop using PreferenceScreen styles for preferences
...
* until it's fixed in androidx
Change-Id: Ia9c1b0edb2066ac91172ab202657b01252c3972d
2021-11-14 16:09:36 +01:00
Michael Bestas
fdd7189e82
Remove leftover LINEAGE_ICON_CACHE_SERVICE
...
Change-Id: Ia05cb10c51526b76387b563f226a4ec08e720995
2021-11-14 15:05:27 +02:00
Michael Bestas
014cbda272
LineageSettings: Sort defaults based on table
...
* No functional changes, matches LineageDatabaseHelper
Change-Id: I8f4e2468974aa5d186a81ce76baba5a0b8d11c44
2021-11-07 00:44:33 +02:00
Michael Bestas
42b82632d6
LineageSettings: Remove unused defaults
...
Change-Id: Ibcf52069a4755a73be596453cc0ac791cfca8b1d
2021-11-07 00:44:33 +02:00
Michael Bestas
e9206cc3a3
LineageSettings: Remove "advanced_mode" setting
...
* This was a CyanogenMod feature that we never forward ported.
Change-Id: Idce22d57784132ff0676bce3e1dd55f9793c1a59
2021-11-07 00:44:32 +02:00
Michael Bestas
83f54dd052
lineage-sdk: Remove DataUsage related code
...
* Unused
Change-Id: Ifda534617c62de7b7098c2a2ff674cf2159a74b8
2021-11-06 12:52:01 +02:00
Michael Bestas
b1a4f1be15
lineage-sdk: Remove unused protected app/component code
...
Change-Id: Ie054c1da1381cd9ba0c10405ce50b5c727ad1987
2021-11-06 12:52:01 +02:00
Michael Bestas
eb64e79f86
lineage-sdk: Remove weather related code
...
* This has been untouched since 2016 and it depends on LockClock
which has been dropped and was also untouched for years.
There is no good weather provider without API restrictions,
so just remove this dead code.
Change-Id: I6540006ce0d7339b7794b6ab207593afb161aa3d
2021-11-06 12:52:00 +02:00
Michael Bestas
b2dc2962cf
LineageSettings: Remove leftover Dialer lookup settings
...
Change-Id: I99e375f37d20c5699aa12b98f5e1d6769a2b1f45
2021-11-06 12:52:00 +02:00
Michael Bestas
2d0905bd68
lineage-sdk: Remove all code that is marked as Deprecated
...
Change-Id: I04581d30a5b4ef9d176d17c7aa3baf4b58e8d2af
2021-11-06 12:52:00 +02:00
Michael Bestas
659c78ee60
lineage: Temporarily disable LineageAudioService overlay
...
Change-Id: I6bec78095e0e3f76984d9162928baf3dc70b9b30
2021-11-06 12:51:59 +02:00
Michael Bestas
b5a2cffe92
Partially revert "lineage-sdk: Comment out LineageAudioService"
...
* We should just disable the service until it's brought up
Change-Id: I63dc8aca52edd0346fb4bb63afbd0fb7f3f8d148
2021-11-06 12:51:59 +02:00
Luca Stefani
520186e5ac
lineage-sdk: Bring back Lineage resources to system
...
This partially reverts commit 4068ca7095 .
Reason for revert:
* Currently Android (PackageManagerService) scans for packages (APKs)
only in ANDROID_ROOT/framework/ along the standard
$partition/{app,priv-app} directories.
* By moving to system_ext we accidentally broke the addition of
AndroidManifest entries to the runtime (resources and assets weren't
affected as handled manually/differently).
Note: jars can still be loaded with no issues from this partition.
* Instead of allowing system_ext to provide framework packages and
pending (future) AOSP discussion to include system_ext to the allowed
path, simply move back the package.
Change-Id: I352c1518ed43e0631abaebccc1e2093b09d49b6f
2021-10-29 23:23:05 +02:00
LuK1337
89d7c9ba1c
lineage-sdk: LineageParts is now in /system_ext
...
Change-Id: Ia1513006fd46153e2a4a39e5ffb014d0b1624dc4
2021-10-26 21:13:31 +02:00
Sam Mortimer
62697e0f46
lineage-sdk: Comment out LineageAudioService
...
Requires:
deebe5a37b
*) To be reverted during later ship of topic:twelve-sdk-audio
Change-Id: I1f65fb90e0a7609d719080fa9e48150e1227cff7
2021-10-19 11:13:51 +02:00
Luca Stefani
04c0fc1235
Include lineage res srcjar in every library
...
Change-Id: I8c15df04d7ef03896420b7584370f9c43d4dbc47
2021-10-13 12:12:19 +02:00
Luca Stefani
50ff674bb2
Update lineage-res definition to follow framework-res
...
Change-Id: Ia4d8035f08a1f5c58fec05d10a9be07d0bbb6f95
2021-10-13 12:11:52 +02:00
Luca Stefani
4068ca7095
lineage-sdk: Move apps to system_ext
...
Change-Id: Ifb4bda9d5399e31d26ec257fcc185b22635596df
2021-10-13 12:10:33 +02:00
Luca Stefani
530d7e015d
LineageSettings: Import Settings changes
...
This brings us inline with AOSP package
Change-Id: I21991f0a440e171506bebb3e922d0ef9fe5c4210
2021-10-13 12:10:33 +02:00
Luca Stefani
5769464c12
Twelve bringup
...
Change-Id: I5e54d1763e5cd1dd8ae895f15d4d54887ced3133
2021-10-13 12:10:32 +02:00
Timi Rautamäki
641bc03260
lineage-sdk: add ATV button settings
...
Change-Id: I7d41e71301e480aef73c32af77c0eb78c9053b6d
2021-09-22 16:17:03 +00:00
Eamon Powell
7a57f52199
fixup! lineage-sdk: Add preference keys for one shot auto-brightness
...
Fix typo in comments
Change-Id: I13b0673ef6b4b3ec501cfea2b5dbfe9b20df3833
2021-08-29 11:30:06 +10:00
Cédric Bellegarde
6e7936c0ca
lineage-sdk: Add preference keys for one shot auto-brightness
...
Change-Id: Ifde39e542b078c40b2fd33e951b68fabef417921
2021-08-23 18:11:50 +02:00
Michael Bestas
ce85343092
Automatic translation import
...
Change-Id: I63129c8bb2de7de2fd2bf6a5b8090878598e9985
2021-08-21 04:06:30 +03:00
Michael Bestas
e1363720b0
Read sensitive_pn.xml from product partition
...
Change-Id: I8bcc078b10c7bf822b2d9ebabaade626eca5fd1b
2021-07-23 01:04:31 +02:00