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>
This is required by SettingsGoogle fuel gauge.
This reverts commit da270f9fa1383b6717d6a872dc90eac8a6783c27.
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Log:
E AndroidRuntime: FATAL EXCEPTION: main
E AndroidRuntime: Process: com.android.settings, PID: 13426
E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.Button.setText(int)' on a null object reference
E AndroidRuntime: at com.android.settings.wfd.WifiDisplaySettings.onBindViewHolder(WifiDisplaySettings.java:349)
E AndroidRuntime: at androidx.preference.PreferenceGroupAdapter.onBindViewHolder(PreferenceGroupAdapter.java:420)
E AndroidRuntime: at com.android.settings.widget.HighlightablePreferenceGroupAdapter.onBindViewHolder(HighlightablePreferenceGroupAdapter.java:113)
E AndroidRuntime: at com.android.settings.widget.HighlightablePreferenceGroupAdapter.onBindViewHolder(HighlightablePreferenceGroupAdapter.java:44)
E AndroidRuntime: at androidx.recyclerview.widget.RecyclerView.onBindViewHolder(RecyclerView.java:7379)
E AndroidRuntime: at androidx.recyclerview.widget.RecyclerView.bindViewHolder(RecyclerView.java:7462)
E AndroidRuntime: at androidx.recyclerview.widget.RecyclerView.tryBindViewHolderByDeadline(RecyclerView.java:6319)
E AndroidRuntime: at androidx.recyclerview.widget.RecyclerView.tryGetViewHolderForPositionByDeadline(RecyclerView.java:6585)
E AndroidRuntime: at androidx.recyclerview.widget.RecyclerView.getViewForPosition(RecyclerView.java:6425)
E AndroidRuntime: at androidx.recyclerview.widget.RecyclerView.getViewForPosition(RecyclerView.java:6421)
E AndroidRuntime: at androidx.recyclerview.widget.LinearLayoutManager.next(LinearLayoutManager.java:2330)
E AndroidRuntime: at androidx.recyclerview.widget.LinearLayoutManager.layoutChunk(LinearLayoutManager.java:1631)
E AndroidRuntime: at androidx.recyclerview.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1591)
E AndroidRuntime: at androidx.recyclerview.widget.LinearLayoutManager.onLayoutChildren(LinearLayoutManager.java:668)
E AndroidRuntime: at androidx.recyclerview.widget.RecyclerView.dispatchLayoutStep2(RecyclerView.java:4423)
E AndroidRuntime: at androidx.recyclerview.widget.RecyclerView.onMeasure(RecyclerView.java:3800)
E AndroidRuntime: at android.view.View.measure(View.java:25774)
...
Signed-off-by: Dmitrii <bankersenator@gmail.com>