Resolved App lock bugs with Mi 8 SE


FireJeff

Members
Sep 7, 2018
105
30
Hello,

I've got a bug with the app lock.
When I'm opening the parameters, the app crashes. So, I cannot hide apps... This is happening with stable version 10.2.3. I reinstalled 10.2.2 because I'm having to much bugs with the other one (music problems too).

Here is the log file :

java.lang.RuntimeException: Unable to start activity ComponentInfo{com.miui.securitycenter/com.miui.applicationlock.SettingLockActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.preference.PreferenceCategory.removePreference(android.preference.Preference)' on a null object reference
at android.app.ActivityThread.performLaunchActivity(Unknown Source:591)
at android.app.ActivityThread.handleLaunchActivity(Unknown Source:36)
at android.app.servertransaction.LaunchActivityItem.execute(Unknown Source:57)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(Unknown Source:99)
at android.app.servertransaction.TransactionExecutor.execute(Unknown Source:34)
at android.app.ActivityThread$H.handleMessage(Unknown Source:36)
at android.os.Handler.dispatchMessage(Unknown Source:21)
at android.os.Looper.loop(Unknown Source:208)
at android.app.ActivityThread.main(Unknown Source:107)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(Unknown Source:11)
at com.android.internal.os.ZygoteInit.main(Unknown Source:274)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.preference.PreferenceCategory.removePreference(android.preference.Preference)' on a null object reference
at com.miui.applicationlock.SettingLockActivity.removeRecommendPref(Unknown Source:10)
at com.miui.applicationlock.SettingLockActivity.onCreate(Unknown Source:328)
at android.app.Activity.performCreate(Unknown Source:12)
at android.app.Activity.performCreate(Unknown Source:1)
at android.app.Instrumentation.callActivityOnCreate(Unknown Source:3)
at android.app.ActivityThread.performLaunchActivity(Unknown Source:368)
... 11 more

Thanks
 
Last edited:
On 9.3.21 working well.

Wysłane z mojego MI 8 SE przy użyciu Tapatalka
 
Could not reproduce it, but I changed our patching method so that this kind of error would not be possible.
However, since you use a Stable ROM, you'd only see the change on the next release, that's unless you want to join the next Weekly build.
 
  • Like
Reactions: FireJeff