Commit Graph

1230 Commits

Author SHA1 Message Date
Michael Bestas
87d20850bf sdk: Remove unused .gitignore
Change-Id: If3eb2d25aa93b2a210c424e06e64412643a18532
2024-11-07 13:28:42 +00:00
Michael Bestas
5efaee2299 sdk: Remove SettingsProvider tests
Change-Id: I3abde5201b7d103b038f98c05fdf0026a7834ea8
2024-11-07 13:28:42 +00:00
Michael Bestas
756427f973 sdk: Remove unused proguard.txt
Change-Id: I342a9bb9865bd6958a64f46953d5aa1f6ca3d287
2024-11-07 13:28:42 +00:00
Luca Stefani
303a108276 Remove 'build-time disabling of components' resources
You should use component-override

Change-Id: I7e44f5b50b7909622c74b658bec0bedb776fd8a9
2024-11-04 19:18:54 +00:00
Michael Bestas
8c849ce234 sdk: Remove tests
They don't compile and they haven't been updated in years.
They barely cover any of the sdk code, so remove them instead of fixing
them.

Change-Id: I74b2811d0bcead9b590e6c58053bd4b9fd72fec6
2024-11-02 13:32:14 +02:00
Michael Bestas
cd36464e00 sdk: Remove CleanSpec.mk
Change-Id: I727b390a1e37a3eef5f0ee376f62e41a2ecb496c
2024-11-02 13:31:06 +02:00
Michael Bestas
82a2cae27e sdk: Remove most public sdk parts
* Remove droiddoc, it has been commented out since a few versions
* Remove API which hasn't work since a while
* Remove org.lineageos.platform.sdk library
* Remove samples
* Remove obsolete README

Change-Id: Ieb1c2a64ee04480a81d24cb782806397f64adb7d
2024-11-02 13:27:14 +02:00
Michael W
88916babb8 Remove values-lu
* Luxemburgish (lb) was accidentially mapped to "lu" for all of the
  non-AOSP projects.
* Since the next sync will download "lb" now, just remove "lu"

Change-Id: I9751d689633e7e795bdda86e3f039f277432c893
2024-11-01 05:22:00 +02:00
LineageOS Infra
9ea8d63ea1 Automatic translation import
Change-Id: I72e4279711e3cd04cbdc29b1b5aa44fd2add7221
2024-10-31 17:49:16 +00:00
Oliver Scott
f7c44fc818 Clear restricted networking mode allowlist
Replaced by POLICY_REJECT_ALL

Issue: calyxos#2192
Issue: calyxos#2637
Change-Id: I78ff47624e520f9a3fe492165544d93edbbe814d
2024-10-23 01:38:13 +03:00
Michael Bestas
d4dc1a3f6e sdk: Introduce config_enableAdvancedRotationSettings
Change-Id: Id43427924f1e0dcea882c36fc49660994513ee4f
2024-10-22 22:18:10 +03:00
Michael Bestas
d97af7af3b sdk: Add GLOBAL_ACTION_KEY_SYSTEM_UPDATE
Change-Id: Ib52da4a5f43489a0d87f071e124871bc3da2bf8f
2024-09-23 04:11:47 +03:00
LineageOS Infra
a2da6c4783 Automatic translation import
Change-Id: Ieea89e31c752b83a1165bf77bd14642025581aac
2024-09-15 16:02:28 +00:00
Michael Bestas
99eca47a87 Remove services dependency from org.lineageos.platform.internal
Change-Id: Ie0d8c0c9d3883bdf5b56f55e7c50a338522b6725
2024-09-09 11:59:21 +03:00
LineageOS Infra
611bcdff20 Automatic translation import
Change-Id: I83844807cdaa0148707ad0d0708f08d9e2ca606f
2024-09-02 23:16:19 +00:00
LuK1337
6f3fef1d35 sdk: Move spn schema to vendor/lineage
Change-Id: I60f9da5fdc11b8bc2340ceb552a1bca7b1daeef6
2024-07-22 15:12:02 +02:00
LineageOS Infra
65ab777e9f Automatic translation import
Change-Id: I9aad94a5994be8dbde9d6e9f8a668a1d59b4c9d9
2024-07-01 18:54:33 +00:00
Michael Bestas
1baecdab6d profiles: Use new helper to get default NFC adapter
No longer necessary to initialize the variable, since the helper
returns the default NFC adapter, or null if no NFC adapter exists.
Additionally, try...catch can also be removed.

Change-Id: Ic3a1fac8cdf892d5ceccec4e39090ac20cc91e5d
2024-06-16 00:52:08 +01:00
Dominik Baronelli
805093b3ab Revert "sdk: Add aux camera related resources to config.xml"
This reverts commit c775185a87.

Not needed anymore, after reverting 'sdk: Introduce org.lineageos.platform.resources target'

Change-Id: I8d6b5dbb879c792bd6b5cf09ab9d6752e7001310
2024-06-15 22:50:35 +01:00
Dominik Baronelli
12feea4dc9 Revert "sdk: add HFR privapp camera related resource to config.xml"
This reverts commit 1c6d5b120d.

Not needed anymore, after reverting 'sdk: Introduce org.lineageos.platform.resources target'

Change-Id: I34539f44422432160d89c420c75f86cd9d9927f9
2024-06-15 22:50:24 +01:00
Dominik Baronelli
9b45f59f77 Revert "sdk: Introduce org.lineageos.platform.resources target"
This reverts commit 6ba68050a3.

Reason for revert: this breaks cts test

Test: run cts-dev -m CtsStrictJavaPackagesTestCases --test android.compat.sjp.cts.StrictJavaPackagesTest#testBootClasspathAndSystemServerClasspath_nonDuplicateClasses

Change-Id: I00bbd9220f9d4f5c996dab5b8ca5da6c77ad3208
2024-06-15 22:50:05 +01:00
LineageOS Infra
97b8e583e8 Automatic translation import
Change-Id: I58cbfc1ab0ad92357fead0d986a3a1bdfaf94d17
2024-06-01 22:14:21 +00:00
Michael Bestas
baebbbf0d1 LineageSettingsProvider: Relocate loadRestrictedNetworkingModeSetting call
It shouldn't be in a SQLiteStatement block.

Change-Id: I342af1f9e52150bd87aa20701a7109db3fa6f2bb
2024-05-29 14:54:17 +03:00
Tommy Webb
d0c004cb79 Network Traffic: Consider CLAT interfaces (IPv6)
IPv6-only networks that support 464XLAT use CLAT to access IPv4
addresses, but the traffic that occurs over the CLAT interface is
tracked separately; it is not reflected at all in the stats of the
underlying interface, so prior to this change, IPv4 traffic on
applicable IPv6-only networks is not reflected in the network traffic
monitor, either.

While there is no exposed API to retrieve stacked interfaces, we can
still try to grab the stats for a CLAT interface (which always starts
with "v4-"), just in case it exists, and if so, add in those stats.

Test: Manual: While connected to an IPv6-only network, such as a
T-Mobile cellular data connection, attempt to load https://1.1.1.1
in a browser while the network traffic monitor is enabled. Reload
the page / choose different languages to cause traffic to occur,
and it should be reflected in the traffic monitor.

Issue: calyxos#792
Co-authored-by: Oliver Scott <olivercscott@gmail.com>
Change-Id: Ida768ebe73a47bb06da53aeb7b5c6882f0090e75
2024-05-21 20:30:09 +03:00
LineageOS Infra
360dad610b Automatic translation import
Change-Id: I5e3baf2c7a67a8c1ff0b007de1a94b51aada8825
2024-05-15 15:50:26 +00:00
LineageOS Infra
f279097bbc Automatic translation import
Change-Id: I90fd4fd279354314e6ce5a10f36a766f6c158e59
2024-05-01 16:33:43 +00:00
LineageOS Infra
0ab2a0be49 Automatic translation import
Change-Id: Ib2f1ea0c26775ca33427ba555939eabedbeb518b
2024-03-27 09:21:39 +00:00
Chirayu Desai
dcbd8deae6 Drop support for legacy USB restrictor
* Doesn't compile after 14 QPR2 / AP1A
* Has always been an issue for CTS
[CIRCULAR REFERENCE: com.android.tools.r8.internal.h: Library class vendor.lineage.trust.V1_0.IUsbRestrict implements program class android.hidl.base.V1_0.IBase]

Change-Id: Id2a4ccc60d7cae6bca02e302725d982d50311278
2024-03-21 09:34:33 +00:00
Michael Bestas
360d9508c9 LineagePreferenceLib: Migrate to SwitchPreferenceCompat
Change-Id: Ice9f732065e4792fc73b7890cdd6b9a55475f518
2024-03-21 10:28:58 +02:00
Michael Bestas
36e14240eb sdk: Allow enabling lockscreen rotation by default
...and enable it by default for sw600dp

Change-Id: I96f1aed51ed286ecab521ee973434fcf6d254bcd
2024-02-21 17:07:38 +00:00
Michael Bestas
691670d7bc Revert "LineageSettingsProvider: Allow enabling lockscreen rotation by default"
This reverts commit 1a53318ab3.

Change-Id: I886affb6949ca928b92b496116b9ad3d77827ed0
2024-02-21 17:07:38 +00:00
Bruno Martins
7241fa0b41 sdk: Introduce config_proximityCheckOnFpsUnlock
Change-Id: I304aa324c5775669e3fc1e9e82fbfa0ce2eb9dfc
2024-02-21 10:27:01 +00:00
LineageOS Infra
6538e84b23 Automatic translation import
Change-Id: I6033402fd381bf001100db04934ffae0126d4318
2024-02-10 19:04:38 +00:00
Bruno Martins
cbe38a2f2d LineageSettings: Delete status bar brightness control key
Change-Id: I3748a4ab56fc31e4c0614b84489c35e8beb15b55
2023-12-11 16:41:52 +00:00
Wolfram Liebchen
9bc61e26c8 Network traffic with automatic units [2/2]
A new network traffic display unit option "automatic" offers
a compact display of the network traffic by using at maximum
three digits and an abbreviated unit string.
Comes in handy for situations with reduced space in the
status bar.

Change-Id: Ib4d969924ad5a345b03540070e49a0473f343ad3
2023-11-09 20:50:12 +02:00
Michael Bestas
dba5da3057 Add onBeforeUserSwitching override in UserContentObserver
Change-Id: I526204fc4eab83e4e8b8f3069faeb1333fff254c
2023-10-09 16:56:33 +03:00
Bruno Martins
e2d1d6a391 LineageSettingsProvider: Allow to set a default for QS brightness slider
Change-Id: Ie9003e2c14e7f5ba1b34cd7c3c7ab95a3c9501cf
2023-10-03 22:23:44 +01:00
Bruno Martins
944cb718fb sdk: Allow to hide and set a default for status bar DT2S gesture
There might be edge cases of devices that have no power button
and no way to control externally connected displays. In such cases,
if display has touch support, DT2S shouldn't be allowed at all.

Change-Id: I3976f138d02f0b6ddf8ce239cb8c3a19ab737b67
2023-10-02 14:49:58 +00:00
LineageOS Infra
944e76f7c7 Automatic translation import
Change-Id: Ib570552894d2afffdfb88a61c6d080b71265b173
2023-10-01 16:32:51 +00:00
Tommaso Fonda
9e850826fc trust: Fix variable usage before null check
Change-Id: I8258b647b2cc32daa759562a0b5a03901b0edcd4
2023-09-16 18:54:08 +02:00
LineageOS Infra
d84bdac8e2 Automatic translation import
Change-Id: I9f18003e51aa246e0a73b2e15facea3dc0f433fe
2023-09-15 17:53:25 +00:00
LineageOS Infra
079c131372 Automatic translation import
Change-Id: Ia08e8574b21a9cd85f6748ee131bd7498717c2ab
2023-09-01 14:42:17 +00:00
LineageOS Infra
c8b901364c Automatic translation import
Change-Id: Ic759768ecbe0e9e1d619a2f5fb579bfa4902d980
2023-08-06 14:55:38 +00:00
Michael Bestas
aa4306a860 Remove deprecated settings migration code
This was used for cm 12.1 to 13.0 migration.

Change-Id: I4a074b15ed54d7b64d7f14e66bd4d2036b09e4cb
2023-07-22 19:16:33 +03:00
Michael Bestas
1f91203cf5 Remove deprecated host migration example
This was used for cm 12.1 to 13.0 migration testing.

Change-Id: I93c6e49d963c7ea9862392219148ab641f37b133
2023-07-22 19:16:33 +03:00
Michael Bestas
17d6d41753 Remove leftover trusted_accent_packages array
Change-Id: I6dac2b180b217bf721e8c4faec5a61f9ec149436
2023-07-22 19:16:33 +03:00
Michael Bestas
d072074908 Partially revert "LineageSettingsProvider: Support migration from cmsettings"
The migration happened in lineage 15.1,
we only support direct upgrades from 17.1.

This partially reverts commit e7008a222e.

Change-Id: Ic2acd93565e21475ea6f896941107230d880e890
2023-07-22 18:46:54 +03:00
Michael Bestas
f4c7907c20 Remove leftover LineageAudioService support
Change-Id: I427addc828a05b84b0e1596221759b6ccd6d46c0
2023-07-22 18:46:54 +03:00
Michael Bestas
6326bdad01 Remove leftover Performance Profiles support
Change-Id: Ib830ccbf3910b115b5979936a3b75c167bd57779
2023-07-22 18:42:47 +03:00
Michael Bestas
1a53318ab3 LineageSettingsProvider: Allow enabling lockscreen rotation by default
...and enable it by default for sw600dp

Change-Id: I0df4f0907591146a21d3da0e0d11e3213ad8767a
2023-07-20 17:28:53 +02:00