This is a squash of the following commits:
Author: Danny Baumann <dannybaumann@web.de>
Date: Tue Nov 11 13:14:07 2014 +0100
Add back increasing ring feature (2/3).
Change-Id: Iafc79a57651db327a100e0f1723b62f442b638be
Author: Danny Baumann <dannybaumann@web.de>
Date: Mon Nov 24 13:05:39 2014 +0100
Fix NPE.
When entering the notification prefs sub activity without the increasing
ring pref being visible and leaving it right away, onActivityStop()
threw an NPE because the handler wasn't yet constructed.
Change-Id: Ia4291d8ac3d1dbf76d432db7e0e973844163c4ae
Author: Danny Baumann <dannybaumann@web.de>
Date: Fri May 29 08:48:46 2015 +0200
Fix up increasing ring tone volume preview behaviour.
Change-Id: Ibe7fdf1ee7f0aa1c7c76052df69fa92e8b6a2ffd
Author: Keith Mok <kmok@cyngn.com>
Date: Tue Jul 12 09:45:45 2016 -0700
Settings: Always set ramp-up time value during bindView
onProgressChange is not always called if we set the
ramp up time to 5 sec (0 in seekbar value, since it is
the default value, no change).
Causing the text showing the ramp up time text value not
updated and display as empty when user enable/disable
increasing ring volume with ramp up time set to 5 sec.
FEIJ-1572
Change-Id: Id32d6b51aab05e80be59bc1912c4ae7c5d114ac5
Author: Zhao Wei Liew <zhaoweiliew@gmail.com>
Date: Wed, 18 Jan 2017 15:55:13 +0800
Move notif volume pref on top of increasing ring pref
Change Iafc79a57651db327a100e0f1723b62f442b638be added two
increasing ringtone-related preferences between the notification
volume preference and the ring volume preference.
However, the notification volume preference should be grouped
together with the media, alarm, and ring volume preferences.
Hence, move the notification volume preference back to where
it should be.
Change-Id: I138e6f78b6c231643d86746858e0cbdfcb0942eb
Author: Bruno Martins <bgcngm@gmail.com>
Date: Mon Dec 11 23:45:39 2017 +0000
Adapt increasing ring feature to O-MR1 and new Settings UI
* Make it depend on SettingsLib's version of Lifecycle and Mixin.
* Create a custom style for the IncreasingRingtonePreference
and match the new UI in Oreo Settings app.
Change-Id: I25462159fa39f5cdaddb1898c71f536572e900a4
Author: Bruno Martins <bgcngm@gmail.com>
Date: Fri Jan 14 17:56:29 2022 +0000
Adapt increasing ring feature to S and new Settings UI
Change-Id: Ib70f6f71f62e59c945d69ab9c23ca185fde4a4b0
Change-Id: I3f22c77504a5014f9dbd40909d760149143570fe
Support displaying phone ringtone setting for each slot as follows:
"Phone ringtone - SIM 1"
"Phone ringtone - SIM 2"
The purpose is to distinguish incoming call from each slot by ringtone.
Depends-On: I9c6ccff938122332d222853d469ad9a623c7d193
Bug: 118735436
Test: Manual
Change-Id: I06c59016e9b6da51ed8a4678a66674fc48c20e40
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
* allow setting vibration when call is connected
* allow setting vibration when call is disconnected
* allow setting vibration for call waiting
* this works with google and aosp dialer :)
Adapted to PE
[arrow-13.0]:
- Move inside accessibility_vibration_settings
as all the aosp vibration toggles are there
includes:
fixup! Settings: incall vibration options [3/3]
[ghostrider-reborn]
- Enable by default
- Add to the slider-based prefs page as well
Change-Id: I55e99f501a3af07287c57a23939666351f4cef67
Signed-off-by: Karan Parashar <whyredfire@gmail.com>
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
Signed-off-by: someone5678 <someone5678@users.noreply.github.com>
Squashed:
* AppLockCredentialActivity is a stripped down version of ConfirmDeviceCredentialActivity in Settings
Signed-off-by: jhonboy121 <alfredmathew05@gmail.com>
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
Settings: applock: adapt for API changes
Signed-off-by: jhonboy121 <alfredmathew05@gmail.com>
Settings: use a new task stack for app lock fragments
* fixes fragments staying in recents on going home
* also made other preferences do binder calls asynchronously
Signed-off-by: jhonboy121 <alfredmathew05@gmail.com>
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
Settings: applock: fix unlock prompt disappearing when trying to open apps
Signed-off-by: jhonboy121 <alfredmathew05@gmail.com>
Settings: applock: add hidden app settings
Signed-off-by: jhonboy121 <alfredmathew05@gmail.com>
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
AppLockPackageConfigFragment: allow launching app from app icon
Signed-off-by: jhonboy121 <alfredmathew05@gmail.com>
FlamingoSettings: applock: early return in setChecked if backing field has the same value
Signed-off-by: jhonboy121 <alfredmathew05@gmail.com>
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
[nift4: drop useless plurals.xml, make timeout values translatable]
* Dhina17 <dhinalogu@gmail.com>
applock: Adapt for Android 14
Change-Id: I85d72ee72353417ead528483bbbe1ac1e6860063
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
* Allow to hide screen capture detection from privacy invasive apps
* This feature will be extended to screenrecord
in the future release of Android (A15)
Change-Id: I82989e03b5e181a8a3fcf797a27a70bfa5fd06d1
Signed-off-by: someone5678 <someone5678@users.noreply.github.com>
[someone5678]
* Adapt to current project
* Use Settings instead of DeviceConfig as GMS don't likes it
* Add switch for clipboard auto clear
* Import resources from CalyxOS and crDroid Android and adapt it
* Update summary setting logic
Ref:
72db57c96648e00e2b8133c49aa70cbc81eea9cc
Issue: calyxos#2208
Change-Id: Ie101177aba90ea085d83c0cb641ffed447cceecd
Signed-off-by: someone5678 <59456192+someone5678@users.noreply.github.com>
* Also adapt Add video to Double tap to trigger doze from Pie: a66601a
Change-Id: Id98543542db937c6cc1f176cd55f6b02e472849d
Settings: DoubleTapGesture: Use new material-you illustration preference
* Switch to new Android 12 animation. Huge thanks to aryanata for the animation
Change-Id: Idfc536dff628fb4ba9cd45f6453add68f64a7b46
Settings: Add a preference controller for Double tap to Ambient
* Follows 41903244b1d8cf43c6c657b8ba5d9e7648136c72.
* Hide by default.
Co-authored-by: Akash <akashniki@gmail.com>
Co-authored-by: Aryanata Andipradana <a.ryan.ata.ap@gmail.com>
Co-authored-by: Joey <joey@evolution-x.org>
some devices with prebuilt kernel report, example 4mAh, instead of 4000mAh or whatever current mAh is.
add config to let override the divider
device tree example:
830a87b139
* It appears that with recent chromium versions bookmarks became web
based apps with an own package name and app icon, since those are
detected as normal apps from Settings let's hide GooglePlay icon.
Signed-off-by: DarkJoker360 <simoespo159@gmail.com>
Shows a Google Play store icon in the App Info actionbar of apps
Excludes aosp built ones, but still works for apps generally found in /system, like SuperSU
The openPlayStore() code was created by @nicholaschum for Substratum, thank you!
BenzoEdit: fixed it for pie and updated drawable
Change-Id: Ic55e572405d97b1f8ae3f8e3b5aceaa38b6a991e
Signed-off-by: mydongistiny <jaysonedson@gmail.com>
Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>