GithubHelp home page GithubHelp logo

crdroidandroid / android_frameworks_base Goto Github PK

View Code? Open in Web Editor NEW
89.0 25.0 286.0 5.48 GB

Base System (crDroid Android)

License: Other

Makefile 0.07% Java 83.60% Shell 0.05% C++ 5.99% C 0.07% HTML 0.06% GLSL 0.01% Python 0.07% JavaScript 0.01% sed 0.01% Kotlin 8.94% Roff 0.01% AIDL 1.12% Go 0.01% Starlark 0.01% TypeScript 0.01%

android_frameworks_base's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

android_frameworks_base's Issues

notifications issue

d44b78c
causes notifications to not show in notifications shade even if vibration and sound for notifications pass through
removed in fwb test branch and all is good

steps to reproduce:

  1. get a notification and dismiss it
  2. lock screen and wait 2-3 seconds and unlock
  3. get another notification (this time no longer visible on notification shade)

tested on beryllium
might interfere with some other settings (maybe, don't know)
just got GPS off. weather toggle is off also not using crDroid Home

error: method fdeChangePassword

ase/services/core/services.core.unboosted/android_common/javac/services.core.unboosted.jar.rsp @/media/root/x/crdroid/out/soong/.intermediates/frameworks/base/services/core/services.core.unboosted/android_common/javac/srcjars/list && /media/root/x/crdroid/out/soong/host/linux-x86/bin/soong_zip -jar -o /media/root/x/crdroid/out/soong/.intermediates/frameworks/base/services/core/services.core.unboosted/android_common/javac/services.core.unboosted.jar -C /media/root/x/crdroid/out/soong/.intermediates/frameworks/base/services/core/services.core.unboosted/android_common/javac/classes -D /media/root/x/crdroid/out/soong/.intermediates/frameworks/base/services/core/services.core.unboosted/android_common/javac/classes
frameworks/base/services/core/java/com/android/server/StorageManagerService.java:2328: error: method fdeChangePassword in interface IVold cannot be applied to given types;
mVold.fdeChangePassword(type, currentPassword, password);
^
required: int,String
found: int,String,String
reason: actual and formal argument lists differ in length
frameworks/base/services/core/java/com/android/server/StorageManagerService.java:2539: error: cannot find symbol
mVold.clearUserKeyAuth(userId, serialNumber, encodeBytes(token), encodeBytes(secret));
^
symbol: method clearUserKeyAuth(int,int,String,String)
location: variable mVold of type IVold

ImsManager build failed

FAILED: /home/albertxu/crd/out/target/common/obj/JAVA_LIBRARIES/ims-common_intermediates/classes-full-debug.jar
/bin/bash -c "(rm -f /home/albertxu/crd/out/target/common/obj/JAVA_LIBRARIES/ims-common_intermediates/classes-full-debug.jar ) && (rm -rf /home/albertxu/crd/out/target/common/obj/JAVA_LIBRARIES/ims-common_intermediates/classes /home/albertxu/crd/out/target/common/obj/JAVA_LIBRARIES/ims-common_intermediates/anno ) && (mkdir -p /home/albertxu/crd/out/target/common/obj/JAVA_LIBRARIES/ims-common_intermediates/ ) && (mkdir -p /home/albertxu/crd/out/target/common/obj/JAVA_LIBRARIES/ims-common_intermediates/classes /home/albertxu/crd/out/target/common/obj/JAVA_LIBRARIES/ims-common_intermediates/anno ) && (if [ -s /home/albertxu/crd/out/target/common/obj/JAVA_LIBRARIES/ims-common_intermediates/java-source-list ] ; then /home/albertxu/crd/out/soong/host/linux-x86/bin/soong_javac_wrapper prebuilts/jdk/jdk9/linux-x86/bin/javac -Xmaxerrs 9999999 -encoding UTF-8 -sourcepath "" -g -XDskipDuplicateBridges=true -XDstringConcat=inline -encoding UTF-8 -bootclasspath /home/albertxu/crd/out/target/common/obj/JAVA_LIBRARIES/core-oj_intermediates/classes-header.jar:/home/albertxu/crd/out/target/common/obj/JAVA_LIBRARIES/core-libart_intermediates/classes-header.jar:/home/albertxu/crd/out/target/common/obj/JAVA_LIBRARIES/ext_intermediates/classes-header.jar:/home/albertxu/crd/out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes-header.jar:/home/albertxu/crd/out/target/common/obj/JAVA_LIBRARIES/okhttp_intermediates/classes-header.jar:/home/albertxu/crd/out/target/common/obj/JAVA_LIBRARIES/core-lambda-stubs_intermediates/classes-header.jar -d /home/albertxu/crd/out/target/common/obj/JAVA_LIBRARIES/ims-common_intermediates/classes -s /home/albertxu/crd/out/target/common/obj/JAVA_LIBRARIES/ims-common_intermediates/anno -source 1.8 -target 1.8 \@/home/albertxu/crd/out/target/common/obj/JAVA_LIBRARIES/ims-common_intermediates/java-source-list || ( rm -rf /home/albertxu/crd/out/target/common/obj/JAVA_LIBRARIES/ims-common_intermediates/classes ; exit 41 ) fi ) && (prebuilts/jdk/jdk9/linux-x86/bin/jar -cf /home/albertxu/crd/out/target/common/obj/JAVA_LIBRARIES/ims-common_intermediates/classes-full-debug.jar @<(find /home/albertxu/crd/out/target/common/obj/JAVA_LIBRARIES/ims-common_intermediates/classes -type f | sort | build/soong/scripts/jar-args.sh /home/albertxu/crd/out/target/common/obj/JAVA_LIBRARIES/ims-common_intermediates/classes; echo "-C /home/albertxu/crd/out/empty .") )"

frameworks/opt/net/ims/src/java/com/android/ims/ImsManager.java:1422: error: cannot find symbol
if (tm.isResolvingImsBinding()) {
^
symbol: method isResolvingImsBinding()
location: variable tm of type TelephonyManager
1 error

I think this should be caused by source code updates?

SystemUI eats 70% CPU and spams in logcat if battery percentage text is enabled

When battery percentage in status bar is shown, SystemUI spams the following message

W View    : requestLayout() improperly called by android.widget.TextView{2564cb1 V.ED..... ........ 44,0-138,120 #7f0a00a7 app:id/battery_percentage_view} during second layout pass: posting in next frame

Steps to reproduce:

  1. Set Battery percentage to Enabled or Battery percentage when charging to on
  2. Lock and switch off screen

Device: pioneer
Version: 6.3; latest binary and built from source

Looks similar to #129

build error

frameworks/base/services/core/java/com/android/server/StorageManagerService.java:2328: error: method fdeChangePassword in interface IVold cannot be applied to given types;
mVold.fdeChangePassword(type, currentPassword, password);
^
required: int,String
found: int,String,String
reason: actual and formal argument lists differ in length
frameworks/base/services/core/java/com/android/server/StorageManagerService.java:2539: error: cannot find symbol
mVold.clearUserKeyAuth(userId, serialNumber, encodeBytes(token), encodeBytes(secret));
^
symbol: method clearUserKeyAuth(int,int,String,String)
location: variable mVold of type IVold
2 errors

The commits in these two reviews are not fully merged.
https://review.lineageos.org/#/q/status:open+topic:pie-hw-fde
https://review.lineageos.org/#/q/status:open+topic:fbe-wrapped-key

build error

ERROR: /home/alex/crDroid/frameworks/base/core/java/android/os/Parcel.java:605.16: The method checkOffsetAndCount(int, int, int) is undefined for the type Arrays
ERROR: /home/alex/crDroid/frameworks/base/core/java/android/os/Parcel.java:634.16: The method checkOffsetAndCount(int, int, int) is undefined for the type Arrays
ERROR: /home/alex/crDroid/frameworks/base/core/java/android/os/FileBridge.java:181.20: The method checkOffsetAndCount(int, int, int) is undefined for the type Arrays
ERROR: /home/alex/crDroid/frameworks/base/core/java/android/content/pm/LimitedLengthInputStream.java:74.16: The method checkOffsetAndCount(int, int, int) is undefined for the type Arrays
ERROR: /home/alex/crDroid/frameworks/base/drm/java/android/drm/DrmOutputStream.java:94.16: The method checkOffsetAndCount(int, int, int) is undefined for the type Arrays

Phone ringing not routed to Speaker when connected to Bluetooth

Hi Team - Thanks for doing great job.

Reported on : Android Pie as well as LineageOS 16
Verified in : crDroid 5.4
Device : sakura aka Redmi 6 Pro
Issue : Phone ringing not routed to Speaker when connected to Bluetooth
Detail : Phone is connected with bluetooth devices (Bluedio , MPOW) . On receiving a new phone call on telephony, the audio not routed on both Phone Speaker as well as Bluetooth device.
What works : Vibration works as expected

Share any workaround and confirm it's a bug with core AOSP

Feature Request: Per app volume control (Enhancement)

CrDroid has loads of amazing features. I came across a feature which the ROM currently doesn't have or isn't available for my supported device. It is a per app volume control feature that allows sound from two or more apps that are playing sound currently to be controlled individually. Here's a github repository that may have the feature: https://github.com/Evolution-X/frameworks_base
https://github.com/dotOS-FE/android_frameworks_base

I'm not sure if the feature is in there exactly, but it is a very convenient feature especially having control over apps when having multiple apps that are playing sound at the same time.

Heads-up crash with hidden clock

log says:

04-15 21:43:50.137 E/AndroidRuntime(27504): java.lang.NullPointerException: Attempt to invoke virtual method 'int android.view.View.getId()' on a null object reference
04-15 21:43:50.137 E/AndroidRuntime(27504): 	at com.android.systemui.statusbar.phone.CollapsedStatusBarFragment.adjustDisableFlags(CollapsedStatusBarFragment.java:198)
04-15 21:43:50.137 E/AndroidRuntime(27504): 	at com.android.systemui.statusbar.phone.CollapsedStatusBarFragment.disable(CollapsedStatusBarFragment.java:162)
04-15 21:43:50.137 E/AndroidRuntime(27504): 	at com.android.systemui.statusbar.CommandQueue$H.handleMessage(CommandQueue.java:652)
04-15 21:43:50.137 E/AndroidRuntime(27504): 	at com.android.systemui.statusbar.CommandQueue.disable(CommandQueue.java:255)
04-15 21:43:50.137 E/AndroidRuntime(27504): 	at com.android.systemui.statusbar.CommandQueue.recomputeDisableFlags(CommandQueue.java:268)
04-15 21:43:50.137 E/AndroidRuntime(27504): 	at com.android.systemui.statusbar.phone.StatusBar.recomputeDisableFlags(StatusBar.java:2168)
04-15 21:43:50.137 E/AndroidRuntime(27504): 	at com.android.systemui.statusbar.phone.StatusBar.makeExpandedVisible(StatusBar.java:2623)
04-15 21:43:50.137 E/AndroidRuntime(27504): 	at com.android.systemui.statusbar.phone.PhoneStatusBarView.onPanelPeeked(PhoneStatusBarView.java:190)
04-15 21:43:50.137 E/AndroidRuntime(27504): 	at com.android.systemui.statusbar.phone.PanelBar.panelExpansionChanged(PanelBar.java:171)
04-15 21:43:50.137 E/AndroidRuntime(27504): 	at com.android.systemui.statusbar.phone.PhoneStatusBarView.panelExpansionChanged(PhoneStatusBarView.java:270)
04-15 21:43:50.137 E/AndroidRuntime(27504): 	at com.android.systemui.statusbar.phone.PanelView.notifyBarPanelExpansionChanged(PanelView.java:1192)
04-15 21:43:50.137 E/AndroidRuntime(27504): 	at com.android.systemui.statusbar.phone.NotificationPanelView$2.run(NotificationPanelView.java:259)
04-15 21:43:50.137 E/AndroidRuntime(27504): 	at com.android.systemui.statusbar.phone.NotificationPanelView.onHeadsUpPinnedModeChanged(NotificationPanelView.java:2549)
04-15 21:43:50.137 E/AndroidRuntime(27504): 	at com.android.systemui.statusbar.policy.HeadsUpManager.updatePinnedMode(HeadsUpManager.java:213)
04-15 21:43:50.137 E/AndroidRuntime(27504): 	at com.android.systemui.statusbar.policy.HeadsUpManager.setEntryPinned(HeadsUpManager.java:172)
04-15 21:43:50.137 E/AndroidRuntime(27504): 	at com.android.systemui.statusbar.policy.HeadsUpManager.addHeadsUpEntry(HeadsUpManager.java:151)
04-15 21:43:50.137 E/AndroidRuntime(27504): 	at com.android.systemui.statusbar.policy.HeadsUpManager.showNotification(HeadsUpManager.java:120)
04-15 21:43:50.137 E/AndroidRuntime(27504): 	at com.android.systemui.statusbar.NotificationEntryManager.addEntry(NotificationEntryManager.java:456)
04-15 21:43:50.137 E/AndroidRuntime(27504): 	at com.android.systemui.statusbar.NotificationEntryManager.onAsyncInflationFinished(NotificationEntryManager.java:471)
04-15 21:43:50.137 E/AndroidRuntime(27504): 	at com.android.systemui.statusbar.notification.NotificationInflater$AsyncInflationTask.onAsyncInflationFinished(NotificationInflater.java:684)
04-15 21:43:50.137 E/AndroidRuntime(27504): 	at com.android.systemui.statusbar.notification.NotificationInflater.finishIfDone(NotificationInflater.java:495)
04-15 21:43:50.137 E/AndroidRuntime(27504): 	at com.android.systemui.statusbar.notification.NotificationInflater.access$1400(NotificationInflater.java:49)
04-15 21:43:50.137 E/AndroidRuntime(27504): 	at com.android.systemui.statusbar.notification.NotificationInflater$6.onViewApplied(NotificationInflater.java:376)
04-15 21:43:50.137 E/AndroidRuntime(27504): 	at android.widget.RemoteViews$AsyncApplyTask.onPostExecute(RemoteViews.java:3474)
04-15 21:43:50.137 E/AndroidRuntime(27504): 	at android.widget.RemoteViews$AsyncApplyTask.onPostExecute(RemoteViews.java:3403)
04-15 21:43:50.137 E/AndroidRuntime(27504): 	at android.os.AsyncTask.finish(AsyncTask.java:724)
04-15 21:43:50.137 E/AndroidRuntime(27504): 	at android.os.AsyncTask.access$900(AsyncTask.java:181)
04-15 21:43:50.137 E/AndroidRuntime(27504): 	at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:741)
04-15 21:43:50.137 E/AndroidRuntime(27504): 	at android.os.Handler.dispatchMessage(Handler.java:106)
04-15 21:43:50.137 E/AndroidRuntime(27504): 	at android.os.Looper.loop(Looper.java:193)
04-15 21:43:50.137 E/AndroidRuntime(27504): 	at android.app.ActivityThread.main(ActivityThread.java:6724)
04-15 21:43:50.137 E/AndroidRuntime(27504): 	at java.lang.reflect.Method.invoke(Native Method)
04-15 21:43:50.137 E/AndroidRuntime(27504): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:495)
04-15 21:43:50.137 E/AndroidRuntime(27504): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:859)

multiuser support

Would it be possible to allow mutliuser support?
according to
https://source.android.com/devices/tech/admin/multi-user

It is not enabled here
https://raw.githubusercontent.com/crdroidandroid/android_frameworks_base/9.0/core/res/res/values/config.xml

currently:

<!-- Maximum number of supported users -->
<integer name="config_multiuserMaximumUsers">1</integer>

<!-- Maximum number of users we allow to be running at a time -->
<integer name="config_multiuserMaxRunningUsers">3</integer>

<!-- Whether UI for multi user should be shown -->
<bool name="config_enableMultiUserUI">false</bool>

music visualizer will not shown when no (music) notification

some irregular music software(such as file manager, chatting software or video software when foreground) will not create a music notification when playing music. plus i noticed that even not a "music" notification(such as download progress/message notification) can also trigger shown of music visulizer when app is playing music, seems like it not caused by some "hard limitation". so, is it possible to show visulizer when any app playing sound through media channel?

Laggy notification swipe animation

When you swipe away a notification, the animation is very laggy.

adb logcat doesn't say anything. The last build that doesn't have the problem is the one from 18.04.

Configurable Dogbin URL

Is it Possible to extract the DogBin Upload URL from a Settings Page?

Related Files:
/core/java/com/android/internal/util/DogbinUtils.java

Give appropriate name to Signature spoofing permission in crDroid8

Please change name for signature from [undefined permission] to 'spoof package signature' like Android 11 and add appropriate icon.

Whenever I give signature spoofing permission to microg services core it asks, "Allow this app to access unknown permission" if someone give permission without knowing what it is it might be security risk.

IMG_20220224_184707_976.jpg

My phone is always awake after a commit...

I discovered that after you push the commit "Fix InCallActivity onStop call when launch from Lockscreen" my phone (Samsung i9300) remain always into the awake state.

With the command "dumpsys power" I found that:


Wake Locks: size=2
PARTIAL_WAKE_LOCK 'ActivityManager-Sleep' ACQ=-14m25s604ms LONG (uid=1000 pid=2450)
DOZE_WAKE_LOCK 'DreamManagerService' ACQ=-14m25s227ms (uid=1000 pid=2450)


As you can see the service "ActivityManager" had a PARTIAL_WAKE_LOCK lock!

I tried to revert only the commit "Fix InCallActivity onStop call when launch from Lockscreen" from my unofficial ROM zip file and the problem is disappeared.

Could you verify this behavior?

Thanks...

SystemUI eats 100% CPU and spams in logcat if battery info on lockscreen is enabled

08-17 18:31:39.320  2663  2663 W View    : requestLayout() improperly called by android.widget.TextView{5284b19 V.ED..... ......ID 4,0-65,48 #7f0a0060 app:id/battery_percentage_view} during layout: running second layout pass
08-17 18:31:39.324  2663  2663 W View    : requestLayout() improperly called by android.widget.TextView{5284b19 V.ED..... ........ 4,0-65,48 #7f0a0060 app:id/battery_percentage_view} during second layout pass: posting in next frame
08-17 18:31:39.336  2663  2663 W View    : requestLayout() improperly called by android.widget.TextView{5284b19 V.ED..... ......ID 4,0-65,48 #7f0a0060 app:id/battery_percentage_view} during layout: running second layout pass
08-17 18:31:39.341  2663  2663 W View    : requestLayout() improperly called by android.widget.TextView{5284b19 V.ED..... ........ 4,0-65,48 #7f0a0060 app:id/battery_percentage_view} during second layout pass: posting in next frame
08-17 18:31:39.353  2663  2663 W View    : requestLayout() improperly called by android.widget.TextView{5284b19 V.ED..... ......ID 4,0-65,48 #7f0a0060 app:id/battery_percentage_view} during layout: running second layout pass
08-17 18:31:39.357  2663  2663 W View    : requestLayout() improperly called by android.widget.TextView{5284b19 V.ED..... ........ 4,0-65,48 #7f0a0060 app:id/battery_percentage_view} during second layout pass: posting in next frame
08-17 18:31:39.370  2663  2663 W View    : requestLayout() improperly called by android.widget.TextView{5284b19 V.ED..... ......ID 4,0-65,48 #7f0a0060 app:id/battery_percentage_view} during layout: running second layout pass
08-17 18:31:39.374  2663  2663 W View    : requestLayout() improperly called by android.widget.TextView{5284b19 V.ED..... ........ 4,0-65,48 #7f0a0060 app:id/battery_percentage_view} during second layout pass: posting in next frame

Xiaomi Redmi 3S, crDroid 8.1, latest build.

Lost root after update

Hi folks,

I hope this is the right area for the error message/question 😊

After an OTA update I always lose root and get this message in TWRP

***********************
 Magisk addon.d failed
***********************
! Cannot find Magisk binaries - was data wiped or not decrypted?
! Reflash OTA from decrypted recovery or reflash Magisk

Is it normal that I have to flash Magisk manually after every OTA update?

build error

[ 97% 59123/60388] Target Java: /home/cr-p/out/target/common/obj/APPS/Dialer_intermediates/classes-full-debug.jar
Note: Generating a Provider for com.android.dialer.glidephotomanager.impl.GlidePhotoManagerImpl. Prefer to run the dagger processor over that class instead.
Note: [1] Wrote GeneratedAppGlideModule with: []
[ 97% 59126/60388] //frameworks/base/services/core:services.core.unboosted javac [common]
FAILED: /home/cr-p/out/soong/.intermediates/frameworks/base/services/core/services.core.unboosted/android_common/javac/services.core.unboosted.jar
rm -rf "/home/cr-p/out/soong/.intermediates/frameworks/base/services/core/services.core.unboosted/android_common/javac/classes" "/home/cr-p/out/soong/.intermediates/frameworks/base/services/core/services.core.unboosted/android_common/javac/anno" "/home/cr-p/out/soong/.intermediates/frameworks/base/services/core/services.core.unboosted/android_common/javac/srcjars" && mkdir -p "/home/cr-p/out/soong/.intermediates/frameworks/base/services/core/services.core.unboosted/android_common/javac/classes" "/home/cr-p/out/soong/.intermediates/frameworks/base/services/core/services.core.unboosted/android_common/javac/anno" "/home/cr-p/out/soong/.intermediates/frameworks/base/services/core/services.core.unboosted/android_common/javac/srcjars" && /home/cr-p/out/soong/host/linux-x86/bin/zipsync -d /home/cr-p/out/soong/.intermediates/frameworks/base/services/core/services.core.unboosted/android_common/javac/srcjars -l /home/cr-p/out/soong/.intermediates/frameworks/base/services/core/services.core.unboosted/android_common/javac/srcjars/list -f "*.java" && /home/cr-p/out/soong/host/linux-x86/bin/soong_javac_wrapper prebuilts/jdk/jdk9/linux-x86/bin/javac -J-Xmx2048M -Xmaxerrs 9999999 -encoding UTF-8 -sourcepath "" -g -XDskipDuplicateBridges=true -XDstringConcat=inline -bootclasspath /home/cr-p/out/soong/.intermediates/libcore/core-oj/android_common/turbine-combined/core-oj.jar:/home/cr-p/out/soong/.intermediates/libcore/core-libart/android_common/turbine-combined/core-libart.jar -classpath /home/cr-p/out/soong/.intermediates/frameworks/base/ext/android_common/turbine-combined/ext.jar:/home/cr-p/out/soong/.intermediates/frameworks/base/framework/android_common/turbine-combined/framework.jar:/home/cr-p/out/soong/.intermediates/external/okhttp/okhttp/android_common/turbine-jarjar/okhttp.jar:/home/cr-p/out/soong/.intermediates/frameworks/base/services/net/services.net/android_common/turbine-combined/services.net.jar:/home/cr-p/out/soong/.intermediates/hardware/interfaces/light/2.0/android.hardware.light-V2.0-java/android_common/turbine-combined/android.hardware.light-V2.0-java.jar:/home/cr-p/out/soong/.intermediates/hardware/interfaces/power/1.0/android.hardware.power-V1.0-java/android_common/turbine-combined/android.hardware.power-V1.0-java.jar:/home/cr-p/out/soong/.intermediates/hardware/interfaces/tv/cec/1.0/android.hardware.tv.cec-V1.0-java/android_common/turbine-combined/android.hardware.tv.cec-V1.0-java.jar:/home/cr-p/out/soong/.intermediates/system/libhidl/transport/manager/1.0/android.hidl.manager-V1.0-java/android_common/turbine-combined/android.hidl.manager-V1.0-java.jar:/home/cr-p/out/soong/.intermediates/lineage-sdk/org.lineageos.platform.internal/android_common/turbine-combined/org.lineageos.platform.internal.jar:/home/cr-p/out/soong/.intermediates/system/timezone/distro/core/time_zone_distro/android_common/turbine-combined/time_zone_distro.jar:/home/cr-p/out/soong/.intermediates/system/timezone/distro/installer/time_zone_distro_installer/android_common/turbine-combined/time_zone_distro_installer.jar:/home/cr-p/out/soong/.intermediates/hardware/interfaces/authsecret/1.0/android.hardware.authsecret-V1.0-java/android_common/turbine-combined/android.hardware.authsecret-V1.0-java.jar:/home/cr-p/out/soong/.intermediates/hardware/interfaces/broadcastradio/2.0/android.hardware.broadcastradio-V2.0-java/android_common/turbine-combined/android.hardware.broadcastradio-V2.0-java.jar:/home/cr-p/out/soong/.intermediates/hardware/interfaces/health/1.0/android.hardware.health-V1.0-java/android_common/turbine-combined/android.hardware.health-V1.0-java.jar:/home/cr-p/out/soong/.intermediates/hardware/interfaces/health/2.0/android.hardware.health-V2.0-java/android_common/turbine-combined/android.hardware.health-V2.0-java.jar:/home/cr-p/out/soong/.intermediates/hardware/interfaces/weaver/1.0/android.hardware.weaver-V1.0-java/android_common/turbine-combined/android.hardware.weaver-V1.0-java.jar:/home/cr-p/out/soong/.intermediates/hardware/interfaces/biometrics/fingerprint/2.1/android.hardware.biometrics.fingerprint-V2.1-java/android_common/turbine-combined/android.hardware.biometrics.fingerprint-V2.1-java.jar:/home/cr-p/out/soong/.intermediates/hardware/interfaces/oemlock/1.0/android.hardware.oemlock-V1.0-java/android_common/turbine-combined/android.hardware.oemlock-V1.0-java.jar:/home/cr-p/out/soong/.intermediates/hardware/interfaces/tetheroffload/control/1.0/android.hardware.tetheroffload.control-V1.0-java/android_common/turbine-combined/android.hardware.tetheroffload.control-V1.0-java.jar:/home/cr-p/out/soong/.intermediates/hardware/interfaces/vibrator/1.0/android.hardware.vibrator-V1.0-java/android_common/turbine-combined/android.hardware.vibrator-V1.0-java.jar:/home/cr-p/out/soong/.intermediates/hardware/interfaces/configstore/1.0/android.hardware.configstore-V1.0-java/android_common/turbine-combined/android.hardware.configstore-V1.0-java.jar:/home/cr-p/out/soong/.intermediates/hardware/interfaces/contexthub/1.0/android.hardware.contexthub-V1.0-java/android_common/turbine-combined/android.hardware.contexthub-V1.0-java.jar -source 1.8 -target 1.8 -d /home/cr-p/out/soong/.intermediates/frameworks/base/services/core/services.core.unboosted/android_common/javac/classes -s /home/cr-p/out/soong/.intermediates/frameworks/base/services/core/services.core.unboosted/android_common/javac/anno @/home/cr-p/out/soong/.intermediates/frameworks/base/services/core/services.core.unboosted/android_common/javac/services.core.unboosted.jar.rsp @/home/cr-p/out/soong/.intermediates/frameworks/base/services/core/services.core.unboosted/android_common/javac/srcjars/list && /home/cr-p/out/soong/host/linux-x86/bin/soong_zip -jar -o /home/cr-p/out/soong/.intermediates/frameworks/base/services/core/services.core.unboosted/android_common/javac/services.core.unboosted.jar -C /home/cr-p/out/soong/.intermediates/frameworks/base/services/core/services.core.unboosted/android_common/javac/classes -D /home/cr-p/out/soong/.intermediates/frameworks/base/services/core/services.core.unboosted/android_common/javac/classes
frameworks/base/services/core/java/com/android/server/StorageManagerService.java:2327: error: method fdeChangePassword in interface IVold cannot be applied to given types;
mVold.fdeChangePassword(type, currentPassword, password);
^
required: int,String
found: int,String,String
reason: actual and formal argument lists differ in length
frameworks/base/services/core/java/com/android/server/StorageManagerService.java:2538: error: cannot find symbol
mVold.clearUserKeyAuth(userId, serialNumber, encodeBytes(token), encodeBytes(secret));
^
symbol: method clearUserKeyAuth(int,int,String,String)
location: variable mVold of type IVold
2 errors
[ 97% 59129/60388] ----- Making recovery image ------

Suggest

Can u please make battery percentage at right of battery icon not at left?

New change to fix brightness curve for some devices broke brightness curve for other devices ...

The commit in question is this : ef50785

Before this change the brightness slider curve was normal to me like being on stock or any other custom rom . I am currently building for the Pixel 6 pro (raven from here on out) I just noticed earlier tonight that the brightnless slider is very sensitive at the low end but then after about 65% it does nothing. I revert this commit and everything is fine. I don't see this being done elsewhere. maybe you could write an overlay for your device but I don't know if doing this globally is the best idea... let me know if you need anything else

4G issue...

It seems that the commit "telephony: Add state check for LteOnCdma to isGsm and isCdma" can make LTE/4G unusable. Other ROM makers have already reverted it: ResurrectionRemix revert
Could you verify and revert it?

Android's ripple effects were disabled

The ripple effects found throughout Android provide smooth animations on user interaction.
The removal of this effect was made in commit 47797b5.

Quote from commit:

Lack of immediate feedback when interacting with UI elements that use
ripple animations makes the phone feel much slower and more clunky than
it really is. Immediate touch feedback is part of why iOS feels more
responsive in many areas.

The removal of the ripple effects did not personally make a perceivable difference to me in system smoothness / performance, instead, it feels as if animations were turned off. Using crDroid without the ripple effects feels odd, as if something was lacking.

Since the commit author prefers the lack of ripple effects, perhaps ripple effect properties could be considered to be made customizable / a toggle under the User interface tab in crDroid settings (if technically conceivable).


Other notes

  • Attempting to modify framework.jar to re-add the previous ripple properties would make the phone not boot. While I've had luck with editing these files on other ROMs, crDroid is secure in this regard.

faceunlock and open cam

The problem is with the camera that pops out. For example OnePlus 7/7T/7TPro

  1. Turn on the screen with the power button
  2. Swipe the locked screen to enter the PIN
  3. You need to enter the PIN quickly enough while the camera is moving out and initializing.
  4. BUG: The screen is unlocked, the camera is pulled out.

Screen Stabilization breaks audio on Pioneer

Since crDroid is not built for Pioneer since v6.3, I'm trying to do it myself for personal use.
In my builds since April sound's not working and I receive a number of weird sound device errors instead on each sound playback attempt.

As I figured out, the troublesome code was introduced in 11fb9f4 (or possibly in the related frameworks/native PR).

Commenting out ScreenStabilization service initialization from SystemServer fixes it for me, but I believe it's not the right fix. I currently have no idea on what exact code causes the sound to break, so I hope to get at least some ideas on this topic.

status bar

The percentage of battery charge disappears below 35% if the vertical battery icon in the bar inside the icon
screenshot_settings_20180419-203130

Warning spam

Hi, is it normal that my log spammed by

04-02 09:00:25.032 1174 1174 W View : requestLayout() improperly called by android.widget.TextView{e197293 V.ED..... ......ID 5,0-95,65 #7f0a005d app:id/battery_percentage_view} during layout: running second layout pass
04-02 09:00:25.040 1174 1174 W View : requestLayout() improperly called by android.widget.TextView{e197293 V.ED..... ......ID 5,0-95,65 #7f0a005d app:id/battery_percentage_view} during second layout pass: posting in next frame

I just enabled "show percentage"

Battery drain problem with pocket_judge

In kernel have a driver is pocket_judge (same Paranoid Android) driver.
But almost devices of crDroid missing this driver.
PhoneWindowManager has an issue when the user turns on pocket mode, the pocket mode uses high-performance CPU, devices can not be deep-sleep. When turning off the screen, the battery still drains like when turning on. Overnight, devices will be a little or very hot.
In crDroid code PhoneWindowManager was changed with stock LineageOS, please just use pocket detection in low-power mode.
https://github.com/crdroidandroid/android_frameworks_base/blob/11.0/services/core/java/com/android/server/policy/PhoneWindowManager.java

Gearhead missing permissions for MANAGE_USB

I have a problem using Android Auto. When wiring up my OnePlus 5 with crDroid 7 to my car it will eventually halt Android Auto and has to be force closed. I pinned the issue down to missing permissions.

[11-13 15:03:12.273 12148:12148 E/AndroidRuntime]
FATAL EXCEPTION: main
Process: com.google.android.projection.gearhead:car, PID: 12148
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.google.android.projection.gearhead/com.google.android.apps.auto.carservice.gmscorecompat.FirstActivityImpl}: java.lang.SecurityException: Neither user 10299 nor current process has android.permission.MANAGE_USB.
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3449)
	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3601)
	at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:85)
	at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2066)
	at android.os.Handler.dispatchMessage(Handler.java:106)
	at android.os.Looper.loop(Looper.java:223)
	at android.app.ActivityThread.main(ActivityThread.java:7656)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
Caused by: java.lang.SecurityException: Neither user 10299 nor current process has android.permission.MANAGE_USB.
	at android.os.Parcel.createExceptionOrNull(Parcel.java:2373)
	at android.os.Parcel.createException(Parcel.java:2357)
	at android.os.Parcel.readException(Parcel.java:2340)
	at android.os.Parcel.readException(Parcel.java:2282)
	at android.hardware.usb.IUsbManager$Stub$Proxy.getPorts(IUsbManager.java:1706)
	at android.hardware.usb.UsbManager.getPorts(UsbManager.java:875)
	at com.google.android.gms.car.usb.SystemUsbStatusProvider.a(SourceFile:4)
	at knu.a(SourceFile:9)
	at knu.a(SourceFile:51)
	at kmu.a(SourceFile:31)
	at com.google.android.gms.carsetup.FirstActivityImpl.onCreate(SourceFile:89)
	at android.app.Activity.performCreate(Activity.java:8000)
	at android.app.Activity.performCreate(Activity.java:7984)
	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1309)
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3422)
	... 11 more
Caused by: android.os.RemoteException: Remote stack trace:
	at android.app.ContextImpl.enforce(ContextImpl.java:2018)
	at android.app.ContextImpl.enforceCallingOrSelfPermission(ContextImpl.java:2046)
	at com.android.server.usb.UsbService.getPorts(UsbService.java:655)
	at android.hardware.usb.IUsbManager$Stub.onTransact(IUsbManager.java:828)
	at android.os.Binder.execTransactInternal(Binder.java:1154)

I found another issue tracked by OpenGapps opengapps/opengapps#742 but it seems to be a different issue.

The full log: https://gist.github.com/m0ddixx/d68621db9e9c5b4071ea8986adc1aa6b

Aliasing around edges in rounded screens.

This isn't really something I can show, but curved edge displays seem to have aliasing in the corners. This might be due to the way Xiaomi cuts their screens, but it's not present on their MIUI ROMs.

If you'd be kind, maybe adding an option to disable 2-3 rows of pixels around the screen could fix the problem?

My phone is an Mi 9 Lite. Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.