Comments (3)
Hello,
Workaround commit to use crDroidSetting on devices without telephony:
Cu Frank
from android_packages_apps_crdroidsettings.
Same problem on Google Pixel C .. Nexus 7 2013 (flo) seems to be affected as well.
All affected devices are "wifi-only" devices (tablets).
Thanks
from android_packages_apps_crdroidsettings.
Logs of borked CRsettings crash on wifi only device "dragon"
time: 1580476773982
msg: java.lang.NullPointerException: Attempt to invoke virtual method 'void androidx.preference.Preference.onPrepareForRemoval()' on a null object reference
stacktrace: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.settings/com.android.settings.SubSettings}: java.lang.NullPointerException: Attempt to invoke virtual method 'void androidx.preference.Preference.onPrepareForRemoval()' on a null object reference
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3270)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3409)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:83)
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:2016)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7356)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void androidx.preference.Preference.onPrepareForRemoval()' on a null object reference
at androidx.preference.PreferenceGroup.removePreferenceInt(PreferenceGroup.java:298)
at androidx.preference.PreferenceGroup.removePreference(PreferenceGroup.java:274)
at com.crdroid.settings.fragments.StatusBar.onCreate(StatusBar.java:115)
at androidx.fragment.app.Fragment.performCreate(Fragment.java:2596)
at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManagerImpl.java:831)
at androidx.fragment.app.FragmentTransition.addToFirstInLastOut(FragmentTransition.java:1197)
at androidx.fragment.app.FragmentTransition.calculateFragments(FragmentTransition.java:1080)
at androidx.fragment.app.FragmentTransition.startTransitions(FragmentTransition.java:119)
at androidx.fragment.app.FragmentManagerImpl.executeOpsTogether(FragmentManagerImpl.java:1853)
at androidx.fragment.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(FragmentManagerImpl.java:1811)
at androidx.fragment.app.FragmentManagerImpl.execPendingActions(FragmentManagerImpl.java:1717)
at androidx.fragment.app.FragmentManagerImpl.executePendingTransactions(FragmentManagerImpl.java:183)
at com.android.settings.SettingsActivity.switchToFragment(SettingsActivity.java:567)
at com.android.settings.SettingsActivity.launchSettingFragment(SettingsActivity.java:360)
at com.android.settings.SettingsActivity.onCreate(SettingsActivity.java:268)
at android.app.Activity.performCreate(Activity.java:7824)
at android.app.Activity.performCreate(Activity.java:7813)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1306)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3245)
... 11 more
from android_packages_apps_crdroidsettings.
Related Issues (20)
- Face Unlock via swipe doesn't work HOT 2
- Feature request: high volume warning switch
- Feature Request: SF Display Pro font choice
- Decrease minimum charging limit
- Feature request: Quick Settings redesign like in Dot OS 6.0 HOT 1
- Proposal for logo change HOT 2
- Bedtime mode HOT 1
- Monet Theming Engine Regression [Duplicate] HOT 2
- You may ban me but this isn't fixed. HOT 2
- Feature request: make bottom pill background in QS togglable and make it centered.
- 提高键盘高度 HOT 3
- Brown Theme not working HOT 1
- Duplicated and conflicting options
- Feature request: Add more rounded icon shape in settings HOT 2
- Feature request: Add A11 style Quick Settings option HOT 5
- Why system fonts not applying to gboard HOT 1
- Translation issue in DeviceSettings HOT 1
- Feature request: Add row customization for QS layout HOT 1
- Feature request: customization for QS corner radius HOT 1
- Issue: Location of battery percentages is different during different locale use
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android_packages_apps_crdroidsettings.