SmartPack / SmartPack-Kernel-Manager

Source code of SmartPack-Kernel Manager, the Ultimate Tool to Manage your Kernel
https://play.google.com/store/apps/details?id=com.smartpack.kernelmanager.pro
GNU General Public License v3.0
629 stars 73 forks source link

Settings no longer accessible if only enabling "SmartPack" section + other error with another section #149

Open xfzv opened 1 year ago

xfzv commented 1 year ago

To reproduce:

  1. Open the Settings
  2. Disable all sections except "SmartPack"
  3. Restart the app for the changes to take effect
  4. Open the hamburger menu
  5. Settings are gone:

image

I couldn't find a way to open settings after this, had to clear app storage & cache in Android settings to reset everything.

I tried with "Memory" section only instead of "SmartPack" and I keep getting the following error after restarting the app:

android.content.res.Resources$NotFoundException: String resource ID #0x0
    at android.content.res.Resources.getText(Resources.java:453)
    at android.content.res.Resources.getString(Resources.java:546)
    at android.content.Context.getString(Context.java:762)
    at com.smartpack.kernelmanager.activities.NavigationActivity.A(SourceFile:13)
    at com.smartpack.kernelmanager.activities.NavigationActivity.z(SourceFile:353)
    at com.smartpack.kernelmanager.activities.NavigationActivity$a.c(Unknown Source:14)
    at androidx.activity.b.run(SourceFile:492)
    at android.os.Handler.handleCallback(Handler.java:942)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at android.os.Looper.loopOnce(Looper.java:201)
    at android.os.Looper.loop(Looper.java:288)
    at android.app.ActivityThread.main(ActivityThread.java:7879)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:550)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)

Edit: Related https://github.com/SmartPack/SmartPack-Kernel-Manager/issues/15 but still occurring apparently