Compare commits
5 Commits
lineage-18
...
build_for_
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
93582bbb96 | ||
| 54ecd6b54b | |||
| 6619801fe6 | |||
| abe69f484e | |||
| 67dfe75196 |
@@ -1,34 +0,0 @@
|
|||||||
From 6f9026e0548bd82e7b728ef29dd7d14db93b2105 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Andy CrossGate Yan <GeForce8800Ultra@gmail.com>
|
|
||||||
Date: Sat, 26 Jun 2021 14:23:09 +0000
|
|
||||||
Subject: [PATCH] Jelly: MainActivity: Restore applyThemeColor
|
|
||||||
|
|
||||||
Fixes black statusbar on start
|
|
||||||
|
|
||||||
Change-Id: I6816f5b1dcb3c7bcaee2736a9e2a3ecd63217bc6
|
|
||||||
---
|
|
||||||
app/src/main/java/org/lineageos/jelly/MainActivity.kt | 3 ++-
|
|
||||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/app/src/main/java/org/lineageos/jelly/MainActivity.kt b/app/src/main/java/org/lineageos/jelly/MainActivity.kt
|
|
||||||
index 2902b0a..9ff74ed 100644
|
|
||||||
--- a/app/src/main/java/org/lineageos/jelly/MainActivity.kt
|
|
||||||
+++ b/app/src/main/java/org/lineageos/jelly/MainActivity.kt
|
|
||||||
@@ -193,6 +193,7 @@ class MainActivity : WebViewExtActivity(), SearchBarController.OnCancelListener,
|
|
||||||
findViewById(R.id.search_menu_cancel),
|
|
||||||
this)
|
|
||||||
setUiMode()
|
|
||||||
+ applyThemeColor(mThemeColor)
|
|
||||||
try {
|
|
||||||
val httpCacheDir = File(cacheDir, "suggestion_responses")
|
|
||||||
val httpCacheSize = 1024 * 1024.toLong() // 1 MiB
|
|
||||||
@@ -763,4 +764,4 @@ class MainActivity : WebViewExtActivity(), SearchBarController.OnCancelListener,
|
|
||||||
private const val STORAGE_PERM_REQ = 423
|
|
||||||
private const val LOCATION_PERM_REQ = 424
|
|
||||||
}
|
|
||||||
-}
|
|
||||||
\ No newline at end of file
|
|
||||||
+}
|
|
||||||
--
|
|
||||||
2.25.1
|
|
||||||
|
|
||||||
@@ -311,10 +311,10 @@ index bace9324ac9..1db2e32b8cd 100644
|
|||||||
|
|
||||||
private final ViewConfiguration mViewConfiguration;
|
private final ViewConfiguration mViewConfiguration;
|
||||||
private final SpringAnimation mSpringAnimation;
|
private final SpringAnimation mSpringAnimation;
|
||||||
@@ -265,10 +261,6 @@ public class KeyguardSecurityContainer extends FrameLayout implements KeyguardSe
|
@@ -268,10 +268,6 @@ public class KeyguardSecurityContainer extends FrameLayout implements KeyguardSe
|
||||||
mKeyguardStateController = Dependency.get(KeyguardStateController.class);
|
|
||||||
mSecondaryLockScreenController = new AdminSecondaryLockScreenController(context, this,
|
mSecondaryLockScreenController = new AdminSecondaryLockScreenController(context, this,
|
||||||
mUpdateMonitor, mCallback, new Handler(Looper.myLooper()));
|
mUpdateMonitor, mCallback, new Handler(Looper.myLooper()));
|
||||||
|
mDeviceProvisionedController = Dependency.get(DeviceProvisionedController.class);
|
||||||
-
|
-
|
||||||
- PackageManager packageManager = mContext.getPackageManager();
|
- PackageManager packageManager = mContext.getPackageManager();
|
||||||
- mHasFod = packageManager.hasSystemFeature(PackageManager.FEATURE_FINGERPRINT) &&
|
- mHasFod = packageManager.hasSystemFeature(PackageManager.FEATURE_FINGERPRINT) &&
|
||||||
|
|||||||
@@ -0,0 +1,36 @@
|
|||||||
|
From 4f11abf3aba60b64e8de5fd59fd019ce4bb86159 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Nehemiah of Zebulun <nehemiah-zb@mezimmah.net>
|
||||||
|
Date: Mon, 18 Mar 2024 11:49:11 -0400
|
||||||
|
Subject: [PATCH] Fixed external screen on Cat S22 Flip
|
||||||
|
|
||||||
|
Change-Id: I04c113a6158e2bf9654897e9c496b5e7dfc33dc1
|
||||||
|
---
|
||||||
|
phh-on-boot.sh | 12 ++++++++
|
||||||
|
1 file changed, 12 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/phh-on-boot.sh b/phh-on-boot.sh
|
||||||
|
index d2d5b0a..5446a05 100644
|
||||||
|
--- a/phh-on-boot.sh
|
||||||
|
+++ b/phh-on-boot.sh
|
||||||
|
@@ -7,6 +7,18 @@ vndk="$(getprop persist.sys.vndk)"
|
||||||
|
|
||||||
|
setprop ctl.start media.swcodec
|
||||||
|
|
||||||
|
+#Fix external screen on Cat S22 Flip
|
||||||
|
+if getprop ro.vendor.build.fingerprint | grep -iq -e S22FLIP; then
|
||||||
|
+ if ! getprop ro.vendor.gsi.image_running | grep -iq -F false; then
|
||||||
|
+ setprop ro.vendor.gsi.image_running false
|
||||||
|
+ setprop ctl.restart vendor.hwcomposer-2-1
|
||||||
|
+ setprop persist.sys.phh.disable_a2dp_offload true
|
||||||
|
+ setprop persist.sys.overlay.devinputjack true
|
||||||
|
+ setprop persist.sys.phh.disable_stereo_voip true
|
||||||
|
+ setprop persist.sys.phh.caf.audio_policy 1
|
||||||
|
+ fi
|
||||||
|
+fi
|
||||||
|
+
|
||||||
|
for i in wpa p2p;do
|
||||||
|
if [ ! -f /data/misc/wifi/${i}_supplicant.conf ];then
|
||||||
|
cp /vendor/etc/wifi/wpa_supplicant.conf /data/misc/wifi/${i}_supplicant.conf
|
||||||
|
--
|
||||||
|
2.39.2
|
||||||
|
|
||||||
@@ -0,0 +1,26 @@
|
|||||||
|
From bac5a58fe89892dc3b45631668449f25a4fddc86 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Nehemiah of Zebulun <nehemiah-zb@mezimmah.net>
|
||||||
|
Date: Fri, 22 Dec 2023 15:44:51 -0500
|
||||||
|
Subject: [PATCH] disable navbar for cats22flip
|
||||||
|
|
||||||
|
Change-Id: I18d3265d2692f52b328004a80bcbd5db18249715
|
||||||
|
---
|
||||||
|
system.prop | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/system.prop b/system.prop
|
||||||
|
index 3dbe6df..c57614e 100644
|
||||||
|
--- a/system.prop
|
||||||
|
+++ b/system.prop
|
||||||
|
@@ -6,7 +6,7 @@ persist.sys.overlay.nightmode=true
|
||||||
|
|
||||||
|
#Disable debugging strict mode toasts
|
||||||
|
persist.sys.strictmode.disable=true
|
||||||
|
-persist.sys.phh.mainkeys=0
|
||||||
|
+persist.sys.phh.mainkeys=1
|
||||||
|
|
||||||
|
fw.max_users=10
|
||||||
|
persist.sys.max_profiles=10
|
||||||
|
--
|
||||||
|
2.39.2
|
||||||
|
|
||||||
@@ -0,0 +1,48 @@
|
|||||||
|
From 8765b97c6f66d449a4cee746abf015553877a153 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Nehemiah of Zebulun <nehemiah-zb@mezimmah.net>
|
||||||
|
Date: Wed, 24 Jan 2024 15:25:52 -0500
|
||||||
|
Subject: [PATCH] add presentation on external display
|
||||||
|
|
||||||
|
Change-Id: I83ecae9888cec97a806bda9b5f9580724455d8cd
|
||||||
|
---
|
||||||
|
.../keyguard/KeyguardDisplayManager.java | 24 ------
|
||||||
|
1 file changed, 24 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/packages/SystemUI/src/com/android/keyguard/KeyguardDisplayManager.java b/packages/SystemUI/src/com/android/keyguard/KeyguardDisplayManager.java
|
||||||
|
index d6fabd63420..26d08af339c 100644
|
||||||
|
--- a/packages/SystemUI/src/com/android/keyguard/KeyguardDisplayManager.java
|
||||||
|
+++ b/packages/SystemUI/src/com/android/keyguard/KeyguardDisplayManager.java
|
||||||
|
@@ -121,30 +121,6 @@ public class KeyguardDisplayManager {
|
||||||
|
* was already there.
|
||||||
|
*/
|
||||||
|
private boolean showPresentation(Display display) {
|
||||||
|
- if (!isKeyguardShowable(display)) return false;
|
||||||
|
- if (DEBUG) Log.i(TAG, "Keyguard enabled on display: " + display);
|
||||||
|
- final int displayId = display.getDisplayId();
|
||||||
|
- Presentation presentation = mPresentations.get(displayId);
|
||||||
|
- if (presentation == null) {
|
||||||
|
- final Presentation newPresentation = new KeyguardPresentation(mContext, display,
|
||||||
|
- mInjectableInflater.injectable(LayoutInflater.from(mContext)));
|
||||||
|
- newPresentation.setOnDismissListener(dialog -> {
|
||||||
|
- if (newPresentation.equals(mPresentations.get(displayId))) {
|
||||||
|
- mPresentations.remove(displayId);
|
||||||
|
- }
|
||||||
|
- });
|
||||||
|
- presentation = newPresentation;
|
||||||
|
- try {
|
||||||
|
- presentation.show();
|
||||||
|
- } catch (WindowManager.InvalidDisplayException ex) {
|
||||||
|
- Log.w(TAG, "Invalid display:", ex);
|
||||||
|
- presentation = null;
|
||||||
|
- }
|
||||||
|
- if (presentation != null) {
|
||||||
|
- mPresentations.append(displayId, presentation);
|
||||||
|
- return true;
|
||||||
|
- }
|
||||||
|
- }
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
--
|
||||||
|
2.39.2
|
||||||
|
|
||||||
@@ -0,0 +1,27 @@
|
|||||||
|
From 3aceacf62182951ef8cdcb88866aa77fad768687 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Nehemiah of Zebulun <nehemiah-zb@mezimmah.net>
|
||||||
|
Date: Fri, 22 Dec 2023 14:48:20 -0500
|
||||||
|
Subject: [PATCH] disable lock screen
|
||||||
|
|
||||||
|
Change-Id: I68fd449b67d2c3fbf6dd48db87e3ea06b3a7d3ee
|
||||||
|
---
|
||||||
|
packages/SettingsProvider/res/values/defaults.xml | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/packages/SettingsProvider/res/values/defaults.xml b/packages/SettingsProvider/res/values/defaults.xml
|
||||||
|
index 51f69a95e16..278903e0c47 100644
|
||||||
|
--- a/packages/SettingsProvider/res/values/defaults.xml
|
||||||
|
+++ b/packages/SettingsProvider/res/values/defaults.xml
|
||||||
|
@@ -82,7 +82,7 @@
|
||||||
|
<integer name="def_max_sound_trigger_detection_service_ops_per_day" translatable="false">1000</integer>
|
||||||
|
<integer name="def_sound_trigger_detection_service_op_timeout" translatable="false">15000</integer>
|
||||||
|
|
||||||
|
- <bool name="def_lockscreen_disabled">false</bool>
|
||||||
|
+ <bool name="def_lockscreen_disabled">true</bool>
|
||||||
|
<bool name="def_device_provisioned">false</bool>
|
||||||
|
<integer name="def_dock_audio_media_enabled">1</integer>
|
||||||
|
|
||||||
|
--
|
||||||
|
2.39.2
|
||||||
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user