crdroidandroid / android_packages_apps_settings Goto Github PK
View Code? Open in Web Editor NEWSettings System (crDroid Android)
Settings System (crDroid Android)
Today I tried to compile the crDroid ROM for my i9300 phone but I had this error:
ERROR: /home/gianogli/android/crdroid/packages/apps/Settings/src/com/android/settings/SettingsActivity.java:140: The import com.crdroid.settings.crDroidSettingsLayout cannot be resolved
ERROR: /home/gianogli/android/crdroid/packages/apps/Settings/src/com/android/settings/SettingsActivity.java:302: crDroidSettingsLayout cannot be resolved to a type
I don't know if this error could be related to a my fault or to the commit "Add pager sliding tab strip for crDroid Settings [2/2] ".
What do you think? What do you suggest?
I've compiled the ROM a lot of times but this is the first error that I don't understand... :-(
Thanks...
Settings/src/com/android/settings/deviceinfo/StorageSettings.java:118.9: COLOR_PRIVATE cannot be resolved to a variable
since i merged this:
OwnROM/android_packages_apps_Settings@127036b
OwnROM/android_frameworks_base@52665eb
the auto rotation wont turn of... Hoping you can help me search for the fix...
crdroidandroid 3.8.2
Fingerprint error not possible to set
Cannot be configured when applied Theme
I've noticed that crDroid already has localization for strings.xml
, which is great. However, it seems like the cm_strings.xml
file currently lacks such localization. You can find this file here: cm_strings.xml.
I'm suggesting that we expand our localization efforts to include cm_strings.xml
for various languages. This addition would enhance the user experience for those who prefer using the ROM in their native language and could lead to wider adoption of crDroid.
I am eager to discuss this further and offer my contribution in any way needed.
Think this b3b3c34 is causing issues on bluetooth toggle
more info
02-27 18:34:45.761 E/AndroidRuntime( 7847): java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.Switch.setEnabled(boolean)' on a null object reference
02-27 18:34:45.761 E/AndroidRuntime( 7847): at com.android.settings.bluetooth.BluetoothEnabler.onSwitchToggled(BluetoothEnabler.java:196)
02-27 18:34:45.761 E/AndroidRuntime( 7847): at com.android.settings.widget.MasterSwitchController.onPreferenceChange(MasterSwitchController.java:68)
02-27 18:34:45.761 E/AndroidRuntime( 7847): at android.support.v7.preference.Preference.callChangeListener(Preference.java:1053)
02-27 18:34:45.761 E/AndroidRuntime( 7847): at com.android.settings.widget.MasterSwitchPreference$1.onClick(MasterSwitchPreference.java:75)
02-27 18:34:45.761 E/AndroidRuntime( 7847): at android.view.View.performClick(View.java:6294)
02-27 18:34:45.761 E/AndroidRuntime( 7847): at android.view.View$PerformClick.run(View.java:24770)
02-27 18:34:45.761 E/AndroidRuntime( 7847): at android.os.Handler.handleCallback(Handler.java:790)
02-27 18:34:45.761 E/AndroidRuntime( 7847): at android.os.Handler.dispatchMessage(Handler.java:99)
02-27 18:34:45.761 E/AndroidRuntime( 7847): at android.os.Looper.loop(Looper.java:164)
02-27 18:34:45.761 E/AndroidRuntime( 7847): at android.app.ActivityThread.main(ActivityThread.java:6540)
02-27 18:34:45.761 E/AndroidRuntime( 7847): at java.lang.reflect.Method.invoke(Native Method)
02-27 18:34:45.761 E/AndroidRuntime( 7847): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:440)
02-27 18:34:45.761 E/AndroidRuntime( 7847): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
Hi
Years ago we modified the settings.apk smali code to enable ability to disable user apps as well as pre-installed system apps.
Example for CyanogenMod
https://4pda.to/forum/index.php?showtopic=540887&st=1540#entry62172462
This will be useful for those cases when there is a set of apps that you use not so often and do not want them to run in backround. And keep some order in the system.
Also, with this option, there will be no need for apps with root access to disable user applications, or there will be no need for adb and another device for those cases where user prefer not to use root access.
Example:
I live in a country where the government can restrict access to the Internet at any time and we have enough tools to adjust to such situations, but I definitely do not want such tools to work in the background all the time. Other side it is problematic sometimes so save apk files and setup each app from the beggining or restoring from backup its settings.
So I just want those apps and it's settings to be customized and ready for the moment.
P.S.
Well, it's just logical to see such option in crdroid
Thank for your attention
Hello everyone and sorry for my bad english
I use poco x3 nfc
https://github.com/crdroidandroid/android_device_xiaomi_surya
On the latest build, the option "Back gesture haptic" stopped working for me.
The same problem was confirmed by another user on 4pda community.
"Settings => System => Gestures => System navigation => Gesture navigation => Gesture settings (gear) => Back gesture haptic"
It's a minor issue, of course, but having haptics improves the user experience so much that when it works it's taken for granted, and when it doesn't work, you immediately notice it.
P.S.
I'm not sure if this is a general crDroid problem or a device specific one.
I've already tested it on crdroid builds on A11, 12.1, 13, and whenever I use multiuser on Android, the applications installed from my second user appear in the list of applications from my first user, with the message "not installed for this user" and also some apps within the app detail the option "uninstall for all users" this is a bad behavior in terms of privacy, especially in authoritarian countries, which in my use, I use the second user to hide my applications from the first, this behavior is fixed and not It is present in most ROMs, especially from A13 onwards, could you fix it in a future release? thanks
Log
build.board: mt6735
build.bootloader: unknown
build.brand: Wileyfox
build.cpu_abi: arm64-v8a
build.cpu_abi2:
build.device: porridge
build.display: NJH47D
build.fingerprint: WILEYFOX/porridge:7.1.2/NJH47D/4f152a282c:userdebug/release-keys
build.hardware: mt6735
build.host: alt
build.id: NJH47D
build.manufacturer: Wileyfox
build.model: Wileyfox Spark
build.product: porridge
build.radio: unknown
build.serial: WbSPARKPJJ0094744
build.tags: release-keys
build.time: 1499442466000
build.type: userdebug
build.user: alt
version.codename: REL
version.incremental: 4f152a282c
version.release: 7.1.2
version.sdk_int: 25
09-06 22:24:27.100 D/BluetoothOppReceiver(2957): Enter - onReceive for intent:android.btopp.intent.action.INCOMING_FILE_NOTIFICATION
09-06 22:24:27.100 D/BluetoothOppReceiver(2957): Receiver INCOMING_FILE_NOTIFICATION
09-06 22:24:27.107 D/BluetoothOppReceiver(2957): Exit - onReceive for intent:android.btopp.intent.action.INCOMING_FILE_NOTIFICATION
09-06 22:24:27.175 I/BluetoothOpp(2957): File Name DSC_0455
09-06 22:24:27.207 E/Notification(2957): at com.android.bluetooth.opp.BluetoothOppNotification.updateCompletedNotification(BluetoothOppNotification.java:511)
09-06 22:24:27.207 E/Notification(2957): at com.android.bluetooth.opp.BluetoothOppNotification.-wrap1(BluetoothOppNotification.java)
09-06 22:24:27.207 E/Notification(2957): at com.android.bluetooth.opp.BluetoothOppNotification$NotificationUpdateThread.run(BluetoothOppNotification.java:218)
09-06 22:24:27.217 I/BluetoothOppNotification(2957): Incoming Notification ID :5
09-06 22:24:27.314 E/Notification(2957): at com.android.bluetooth.opp.BluetoothOppNotification.updateCompletedNotification(BluetoothOppNotification.java:511)
09-06 22:24:27.314 E/Notification(2957): at com.android.bluetooth.opp.BluetoothOppNotification.-wrap1(BluetoothOppNotification.java)
09-06 22:24:27.314 E/Notification(2957): at com.android.bluetooth.opp.BluetoothOppNotification$NotificationUpdateThread.run(BluetoothOppNotification.java:218)
09-06 22:24:27.359 I/BluetoothOppNotification(2957): Incoming Notification ID :5
09-06 22:24:29.633 D/BluetoothOppReceiver(2957): Enter - onReceive for intent:android.btopp.intent.action.ACCEPT
09-06 22:24:29.687 D/BluetoothOppReceiver(2957): Exit - onReceive for intent:android.btopp.intent.action.ACCEPT
09-06 22:24:31.762 D/BluetoothOppReceiver(2957): Enter - onReceive for intent:android.btopp.intent.action.TRANSFER_COMPLETE
09-06 22:24:31.804 D/BluetoothOppReceiver(2957): Exit - onReceive for intent:android.btopp.intent.action.TRANSFER_COMPLETE
09-06 22:24:31.904 E/Notification(2957): at com.android.bluetooth.opp.BluetoothOppNotification.updateCompletedNotification(BluetoothOppNotification.java:511)
09-06 22:24:31.904 E/Notification(2957): at com.android.bluetooth.opp.BluetoothOppNotification.-wrap1(BluetoothOppNotification.java)
09-06 22:24:31.904 E/Notification(2957): at com.android.bluetooth.opp.BluetoothOppNotification$NotificationUpdateThread.run(BluetoothOppNotification.java:218)
09-06 22:24:32.020 E/Notification(2957): at com.android.bluetooth.opp.BluetoothOppNotification.updateCompletedNotification(BluetoothOppNotification.java:511)
09-06 22:24:32.020 E/Notification(2957): at com.android.bluetooth.opp.BluetoothOppNotification.-wrap1(BluetoothOppNotification.java)
09-06 22:24:32.020 E/Notification(2957): at com.android.bluetooth.opp.BluetoothOppNotification$NotificationUpdateThread.run(BluetoothOppNotification.java:218)
09-06 22:24:33.926 E/BluetoothRemoteDevices(2957): state12newState1
09-06 22:24:33.936 D/AvrcpBipRsp(2957): onReceive: android.bluetooth.device.action.ACL_DISCONNECTED
09-06 22:24:33.938 D/BluetoothMapService(2957): onReceive
09-06 22:24:33.938 D/BluetoothMapService(2957): onReceive: android.bluetooth.device.action.ACL_DISCONNECTED
09-06 22:24:33.938 E/BluetoothMapService(2957): Unexpected error!
09-06 22:24:33.939 D/BluetoothPbapReceiver(2957): PbapReceiver onReceive action = android.bluetooth.device.action.ACL_DISCONNECTED
09-06 22:24:33.940 D/BluetoothPbapReceiver(2957): Calling start service with action = null
09-06 22:24:33.942 I/BluetoothPbapReceiver(2957): Exit - onReceive for intent:android.bluetooth.device.action.ACL_DISCONNECTED
09-06 22:24:33.943 D/BluetoothPbapService(2957): Enter - onStartCommand for service PBAP
09-06 22:24:33.943 D/BluetoothPbapService(2957): action: android.bluetooth.device.action.ACL_DISCONNECTED
09-06 22:24:33.943 D/BluetoothPbapService(2957): Exit - onStartCommand for service PBAP
Settings -> Apps -> Choose any -> Crash
02-08 20:40:14.099 21449 25806 E AndroidRuntime: FATAL EXCEPTION: AsyncTask #1
02-08 20:40:14.099 21449 25806 E AndroidRuntime: Process: com.android.settings, PID: 21449
02-08 20:40:14.099 21449 25806 E AndroidRuntime: java.lang.RuntimeException: An error occurred while executing doInBackground()
02-08 20:40:14.099 21449 25806 E AndroidRuntime: at android.os.AsyncTask$4.done(AsyncTask.java:415)
02-08 20:40:14.099 21449 25806 E AndroidRuntime: at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:383)
02-08 20:40:14.099 21449 25806 E AndroidRuntime: at java.util.concurrent.FutureTask.setException(FutureTask.java:252)
02-08 20:40:14.099 21449 25806 E AndroidRuntime: at java.util.concurrent.FutureTask.run(FutureTask.java:271)
02-08 20:40:14.099 21449 25806 E AndroidRuntime: at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:305)
02-08 20:40:14.099 21449 25806 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
02-08 20:40:14.099 21449 25806 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
02-08 20:40:14.099 21449 25806 E AndroidRuntime: at java.lang.Thread.run(Thread.java:1013)
02-08 20:40:14.099 21449 25806 E AndroidRuntime: Caused by: java.lang.IllegalArgumentException: Unknown component: ComponentInfo{com.google.android.settings.intelligence/com.google.android.settings.intelligence.modules.battery.impl.BatterySettingsContentProvider}
02-08 20:40:14.099 21449 25806 E AndroidRuntime: at android.os.Parcel.createExceptionOrNull(Parcel.java:2429)
02-08 20:40:14.099 21449 25806 E AndroidRuntime: at android.os.Parcel.createException(Parcel.java:2409)
02-08 20:40:14.099 21449 25806 E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:2392)
02-08 20:40:14.099 21449 25806 E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:2334)
02-08 20:40:14.099 21449 25806 E AndroidRuntime: at android.content.pm.IPackageManager$Stub$Proxy.getComponentEnabledSetting(IPackageManager.java:7204)
02-08 20:40:14.099 21449 25806 E AndroidRuntime: at android.app.ApplicationPackageManager.getComponentEnabledSetting(ApplicationPackageManager.java:2802)
02-08 20:40:14.099 21449 25806 E AndroidRuntime: at com.google.android.settings.fuelgauge.DatabaseUtils.isContentProviderEnabled(Unknown Source:13)
02-08 20:40:14.099 21449 25806 E AndroidRuntime: at com.google.android.settings.fuelgauge.DatabaseUtils.getHistoryMap(Unknown Source:63)
02-08 20:40:14.099 21449 25806 E AndroidRuntime: at com.google.android.settings.fuelgauge.PowerUsageFeatureProviderGoogleImpl.getBatteryHistory(Unknown Source:5)
02-08 20:40:14.099 21449 25806 E AndroidRuntime: at com.android.settings.fuelgauge.BatteryChartPreferenceController.getBatteryLast24HrUsageData(BatteryChartPreferenceController.java:621)
02-08 20:40:14.099 21449 25806 E AndroidRuntime: at com.android.settings.applications.appinfo.AppBatteryPreferenceController$1.doInBackground(AppBatteryPreferenceController.java:180)
02-08 20:40:14.099 21449 25806 E AndroidRuntime: at com.android.settings.applications.appinfo.AppBatteryPreferenceController$1.doInBackground(AppBatteryPreferenceController.java:173)
02-08 20:40:14.099 21449 25806 E AndroidRuntime: at android.os.AsyncTask$3.call(AsyncTask.java:394)
02-08 20:40:14.099 21449 25806 E AndroidRuntime: at java.util.concurrent.FutureTask.run(FutureTask.java:266)
02-08 20:40:14.099 21449 25806 E AndroidRuntime: ... 4 more
02-08 20:40:14.099 21449 25806 E AndroidRuntime: Caused by: android.os.RemoteException: Remote stack trace:
02-08 20:40:14.099 21449 25806 E AndroidRuntime: at com.android.server.pm.PackageManagerService.getComponentEnabledSettingInternal(PackageManagerService.java:24601)
02-08 20:40:14.099 21449 25806 E AndroidRuntime: at com.android.server.pm.PackageManagerService.getComponentEnabledSetting(PackageManagerService.java:24584)
02-08 20:40:14.099 21449 25806 E AndroidRuntime: at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:3307)
02-08 20:40:14.099 21449 25806 E AndroidRuntime: at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:8915)
02-08 20:40:14.099 21449 25806 E AndroidRuntime: at android.os.Binder.execTransactInternal(Binder.java:1179)
02-08 20:40:14.099 21449 25806 E AndroidRuntime:
In unofficial 8.0 builds for lettuce, whenever I try to open Settings > Storage > SD Card, the app crashes. Here's the log for it
10-05 16:31:01.003 1101 2873 I ActivityManager: START u0 {act=android.intent.action.VIEW cat=[android.intent.category.DEFAULT] dat=content://com.android.externalstorage.documents/root/9016-4EF8 typ=vnd.android.document/root (has extras)} from uid 1000
10-05 16:31:01.004 5223 5223 D AndroidRuntime: Shutting down VM
10-05 16:31:01.005 5223 5223 E AndroidRuntime: FATAL EXCEPTION: main
10-05 16:31:01.005 5223 5223 E AndroidRuntime: Process: com.android.settings, PID: 5223
10-05 16:31:01.005 5223 5223 E AndroidRuntime: android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.VIEW cat=[android.intent.category.DEFAULT] dat=content://com.android.externalstorage.documents/root/9016-4EF8 typ=vnd.android.document/root (has extras) }
10-05 16:31:01.005 5223 5223 E AndroidRuntime: at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1936)
10-05 16:31:01.005 5223 5223 E AndroidRuntime: at android.app.Instrumentation.execStartActivity(Instrumentation.java:1747)
10-05 16:31:01.005 5223 5223 E AndroidRuntime: at android.app.Activity.startActivityForResult(Activity.java:5153)
10-05 16:31:01.005 5223 5223 E AndroidRuntime: at android.app.Activity.startActivityFromFragment(Activity.java:5129)
10-05 16:31:01.005 5223 5223 E AndroidRuntime: at android.app.Activity$HostCallbacks.onStartActivityFromFragment(Activity.java:7602)
10-05 16:31:01.005 5223 5223 E AndroidRuntime: at android.app.Fragment.startActivity(Fragment.java:1179)
10-05 16:31:01.005 5223 5223 E AndroidRuntime: at android.app.Fragment.startActivity(Fragment.java:1158)
10-05 16:31:01.005 5223 5223 E AndroidRuntime: at com.android.settings.deviceinfo.StorageSettings.onPreferenceTreeClick(StorageSettings.java:297)
10-05 16:31:01.005 5223 5223 E AndroidRuntime: at android.support.v7.preference.Preference.performClick(Preference.java:1124)
10-05 16:31:01.005 5223 5223 E AndroidRuntime: at android.support.v7.preference.Preference.performClick(Preference.java:1099)
10-05 16:31:01.005 5223 5223 E AndroidRuntime: at android.support.v7.preference.Preference$1.onClick(Preference.java:170)
10-05 16:31:01.005 5223 5223 E AndroidRuntime: at android.view.View.performClick(View.java:6256)
10-05 16:31:01.005 5223 5223 E AndroidRuntime: at android.view.View$PerformClick.run(View.java:24697)
10-05 16:31:01.005 5223 5223 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:789)
10-05 16:31:01.005 5223 5223 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:98)
10-05 16:31:01.005 5223 5223 E AndroidRuntime: at android.os.Looper.loop(Looper.java:164)
10-05 16:31:01.005 5223 5223 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6566)
10-05 16:31:01.005 5223 5223 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
10-05 16:31:01.005 5223 5223 E AndroidRuntime: at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
10-05 16:31:01.005 5223 5223 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)
10-05 16:31:01.007 1101 2882 W ActivityManager: Force finishing activity com.android.settings/.Settings$StorageDashboardActivity
10-05 16:31:01.012 1101 1165 I ActivityManager: Showing crash dialog for package com.android.settings u0
*faced this issue in 3 clean builds (nothing added).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.