Mode of Operation menu crashes when pressing exit at the same time and pressing Apply button
Please check before submitting an issue
- [x] I know what my device, OS and App Manager versions are
- [x] I know how to take logs
- [x] I know how to reproduce the issue which may not be specific to my device
Describe the bug
I accidentally got out of mode of operation and pressed apply on the other menu, then it crashed.
To Reproduce
1: Go to three dot menu 2: Go to Settings 3: Go to Mode of Operation 4: Press the x button and change mode of operation at same time 5: choose any mode and press apply Voila, it's crashed.
Expected behavior
I expected it to just not work, not crash the app.
Screenshots
No response
Logs
Device info
- Device: Poco M5/Samsung Galaxy A12
- OS Version: Android 14/Android 12
- App Manager Version: 4.0.5
- Mode: ADB/NonRoot
Additional context
I think it happened because the menu shouldn't exist, so it broke. Or that the mode of operation couldn't do the Loading ADB over TCP. So that's why
Crash report?
Crash report? https://github.com/user-attachments/files/23822452/logcat.am.log
https://github.com/user-attachments/files/23822447/device_info.txt