[X] I am able to reproduce the bug with the latest version.
[X] I made sure that there are no existing issues - open or closed.
[X] I have taken the time to fill in all the required details in an appropriate descriptive way. I understand that the bug report will be dismissed otherwise.
[X] This issue contains only one bug.
Affected app version
v2.4.0
Steps to reproduce the bug
Go to "App usage"
Open "System Apps"
Refresh and swipe up, should cause instant crash
Don't ask me how I know
----------Crash logs----------
java.lang.IndexOutOfBoundsException: Inconsistency detected. Invalid item position 10(offset:10).state:16 androidx.recyclerview.widget.RecyclerView{f0324c3 VFE...... ......ID 0,
0-1080,
2000 #7f090060 app:id/app_data_usage_recycler},
adapter:e4.d@bd56cad,
layout:androidx.recyclerview.widget.LinearLayoutManager@bca2be2,
context:com.drnoob.datamonitor.ui.activities.ContainerActivity@897938
at androidx.recyclerview.widget.RecyclerView$t.i(RecyclerView.java:1020)
at androidx.recyclerview.widget.m.c(GapWorker.java:46)
at androidx.recyclerview.widget.m.b(GapWorker.java:187)
at androidx.recyclerview.widget.m.run(GapWorker.java:78)
at android.os.Handler.handleCallback(Handler.java:958)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:205)
at android.os.Looper.loop(Looper.java:294)
at android.app.ActivityThread.main(ActivityThread.java:8233)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:573)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1058)
Checklist
Affected app version
v2.4.0
Steps to reproduce the bug
Expected behavior
No crash?
Actual behavior
Crash
Screenshots/Screen recordings
No response
Logs
----------Start of crash---------- Package: com.drnoob.datamonitor Build type: release Version code: 29 Version: v2.4.0 Thread name: main Thread stacktrace: [dalvik.system.VMStack.getThreadStackTrace(Native Method), java.lang.Thread.getStackTrace(Thread.java:1841), k4.b.uncaughtException(CrashReporter.java:91), java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1071), java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1066), java.lang.Thread.dispatchUncaughtException(Thread.java:2306)] Crash message: Inconsistency detected. Invalid item position 10(offset:10).state:16 androidx.recyclerview.widget.RecyclerView{f0324c3 VFE...... ......ID 0,0-1080,2000 #7f090060 app:id/app_data_usage_recycler}, adapter:e4.d@bd56cad, layout:androidx.recyclerview.widget.LinearLayoutManager@bca2be2, context:com.drnoob.datamonitor.ui.activities.ContainerActivity@897938
----------Crash logs---------- java.lang.IndexOutOfBoundsException: Inconsistency detected. Invalid item position 10(offset:10).state:16 androidx.recyclerview.widget.RecyclerView{f0324c3 VFE...... ......ID 0, 0-1080, 2000 #7f090060 app:id/app_data_usage_recycler}, adapter:e4.d@bd56cad, layout:androidx.recyclerview.widget.LinearLayoutManager@bca2be2, context:com.drnoob.datamonitor.ui.activities.ContainerActivity@897938 at androidx.recyclerview.widget.RecyclerView$t.i(RecyclerView.java:1020) at androidx.recyclerview.widget.m.c(GapWorker.java:46) at androidx.recyclerview.widget.m.b(GapWorker.java:187) at androidx.recyclerview.widget.m.run(GapWorker.java:78) at android.os.Handler.handleCallback(Handler.java:958) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loopOnce(Looper.java:205) at android.os.Looper.loop(Looper.java:294) at android.app.ActivityThread.main(ActivityThread.java:8233) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:573) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1058)
----------Device info---------- Device Manufacturer: Ulefone Device Brand: Ulefone Device Model: Armor 21 Device Codename: Armor_21_EEA Android version: 14, 34
Affected Android/Custom ROM version
Android 14
Affected device model
Ulefone Armor 21
Additional context
No response