Skip to content

Instantly share code, notes, and snippets.

Avatar

Abhishek Aggarwal TheScarastic

View GitHub Profile
View 0001-core-Add-camera-intents-for-camera-state-1-2.patch
From dadcf0e790e60588f799630a2bab5f786f6b641c Mon Sep 17 00:00:00 2001
From: TheScarastic <warabhishek@gmail.com>
Date: Fri, 30 Aug 2019 20:02:35 +0530
Subject: [PATCH] core: Add camera intents for camera state [1/2]
Change-Id: Ib2e87a86d1f9d26c82f7de42c8cbfe526395ed9e
---
core/res/AndroidManifest.xml | 3 ++
.../server/camera/CameraServiceProxy.java | 39 ++++++++++++++++++-
2 files changed, 41 insertions(+), 1 deletion(-)
View 0001-HAX-Set-scaled-brightness.patch
From c6101b53f979cf3e3c85e2c502ebf4f5338908c7 Mon Sep 17 00:00:00 2001
From: Pierre-Hugues Husson <phh@phh.me>
Date: Fri, 20 Sep 2019 18:24:45 +0530
Subject: [PATCH] HAX: Set scaled brightness
---
services/core/java/com/android/server/lights/LightsService.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/services/core/java/com/android/server/lights/LightsService.java b/services/core/java/com/android/server/lights/LightsService.java
View stockMido.diff
--- /dev/fd/63 2017-05-18 09:27:32.751503704 +0000
+++ /dev/fd/62 2017-05-18 09:27:32.751503704 +0000
@@ -336,7 +336,7 @@
phandle = <0x11e>;
qcom,batt-id-range-pct = <0x5>;
- qcom,2508175_bn41hdesay_4100mah_averaged_masterslave_jun27th2016 {
+ qcom,2508175_huaqin_bn41hdesay_4100mah_averaged_masterslave_jun27th2016 {
qcom,batt-id-kohm = <0x52>;
qcom,battery-beta = <0xd6b>;