*) Add options to disable all cellular, vpn and wifi data
in app data usage settings.
*) Disable the existing background data and unrestricted
data usage options when all cellular data access is
disabled.
*) The vpn data option can be selected independently from
the Wi-Fi and cellular options.
*) Prevent DataSaverBackend from overwriting uid policies
This is a replacement for the appops menu based cell/wifi data
restriction settings in cm-13.0:
Author: Danesh M <daneshm90@gmail.com>
Date: Mon Mar 7 15:17:59 2016 -0800
Settings : Add per app internet/data control
CYAN-3976
CRACKLING-834
Change-Id: I13192df837c057b5cadde8f31532e12daaf3c1b0
Change-Id: Ic087c27a5ed0bdb84bb8f297c425c6bcbffec848
(cherry picked from commit d4a2eea698cbc4636a635d60f2a52ec1bbc36ba2)
*) Add option to disable all network traffic
in app data usage settings.
*) Disable the existing background data and unrestricted
data usage options when all network traffic is
disabled.
Change-Id: I0aaf5703d6dd5d6e6ec3cda3940f28833fe052ea
We already make sure to use a copy of the Intent, but now we do so
earlier. See bug.
Bug: 353680402
Flag: EXEMPT bugfix
Test: manual
Test: atest com.android.settings.users.UserSettingsTest
com.android.settings.users.UserDetailsSettingsTest
(cherry picked from commit b7240e2f0c50455a1c8f3ae1fc4f27d55b86e89b)
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:d8166274a030372f9b1184137fceef9d4dac83e1)
Merged-In: I860e9e606de6b8d3c99fa52a63b72ba7a99ce179
Change-Id: I860e9e606de6b8d3c99fa52a63b72ba7a99ce179
- if the user is locked
- and the user has chosen to hide sensistive content when locked
Test: manual with a work profile with a different pin
Bug: 378088320
Flag: EXEMPT bug fix
(cherry picked from commit 9df37c3f8be2dedd2e44e52da4de45fba33c6a6e)
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:ac4d72060aeb282d5c1c024438ed9e0689b50031)
Merged-In: Ia70454d9859fb788ffa1f48f88760f88c354cdff
Change-Id: Ia70454d9859fb788ffa1f48f88760f88c354cdff
Activity.getCallingPackage() does not always return the package
name of the actual calling app. getLaunchedFromPackage() should
be used instead.
Bug: 389681530
Test: manual
Flag: EXEMPT bugfix
(cherry picked from commit 70bd3efe0674bccb0d454845d86fb2402779a7bf)
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:48e4b5e1af2156dc0db1546df1c14030e77e542e)
Merged-In: Ibdbc45e53f4aa46fae79fa234705b3735bfda4cd
Change-Id: Ibdbc45e53f4aa46fae79fa234705b3735bfda4cd
After vetting the intent, use the component we used for the vetting.
Bug: 353680402
Bug: 365739560
Test: manual
Flag: EXEMPT bugfix
(cherry picked from commit d3e34060803c97ae05719fe9301026e5c54892c8)
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:586422578de58f1da68fd9becf89a08ea2ae0058)
Merged-In: Iff0d820c1261c29eb6703bf89194339cba700688
Change-Id: Iff0d820c1261c29eb6703bf89194339cba700688
We'll allow devices to add touchscreen gesture settings
using the LineageHW TouchscreenGesture API.
Change-Id: I569b91ed66d34097a2bd96fb56af660a2702224b
* This causes the options to go off screen and almost always
require scrolling in order to reach all the options.
Change-Id: I3880982978aa50f11bf24b4da6e91a0917181811
The NFC preference in Settings -> Connected devices -> Connection
preferences doesn't listen to changes from the NFC tile. (This wasn't an
issue in Android 10, because there used to be a SwitchPreference that
listened there.)
Change-Id: I85842db3faa558ea61bc878ca76ff6d8ce1a4b02
The title of the USB preference screen ("USB Preferences") is
inconsistent in several ways:
1. It doesn't match the title of the preference that launches it
2. No other preference screens say "preferences" in their title, since
it's redundant
3. It violates the Material text conventions, which prefer to not
capitalize titles in the UI
This commit changes it to "USB", which fixes all of the inconsistencies
listed above.
Change-Id: I7330a9e4e121d57ee2140ef60aefb4412b1fe728
* If a device has its own panel, we should replace the item under
display settings instead of having to clutter up the dashboard.
* Devices that provide Doze settings typically implement own AOD pref,
so hide AOSP one.
* This uses the new RemotePreference API to allow the external
app to update the view.
* The action for this is "org.lineageos.settings.device.DOZE_SETTINGS".
Co-authored-by: Bruno Martins <bgcngm@gmail.com>
Change-Id: I22fd7e6307b370807415ce2132bed4808b2befe1
Having double quotes around the strings causes crowdin
to export translations with unescaped quotes.
Removing them has no side effect and fixes crowdin export.
Change-Id: I93865d793eef711f8738e00e843e9d4670724c66
* We need to disable A2DP HW offload on FP4 for now, however
disabling developer settings would enable offload again and
break SBC and AAC audio. Just remove this section and allow
this setting to persist after disabling developer settings.
Change-Id: I5b65b3887d68ac684d7ea78de0ee89fb7db9bb0f
Open up the LineageOS legal info in the browser.
Change-Id: I263ccc0509e275d17512528deb606341d58e7a0d
Ticket-Id: CYNGNOS-1895
Signed-off-by: Roman Birg <roman@cyngn.com>
* Remove misleading titled preference (Google Play system update)
* This is always set to current android version for AOSP
Change-Id: Ie9799e87de2f3a3421ff501ed8937f5f684458ee
Some Qualcomm MSIM devices report the baseband version twice.
Handle it gracefully, similarly to CAF.
Change-Id: I93bd071f31fed120c20185c4e0ec40edb7ca342b
Set the following config overlays to activate this feature:
* config_backup_settings_intent to settings://com.android.settings.backup.transport
* config_backup_settings_label to some user-facing label
e.g. Change backup provider
* config_ignored_backup_transports to hide transports from the list
Co-authored-by: Michael Bestas <mkbestas@lineageos.org>
Co-authored-by: Michael W <baddaemon87@gmail.com>
Change-Id: I080d96e2c34045a0e61f3fa1b839f463550f2028