MuntashirAkon / MuntashirAkon/AppManager
Reboot options
- Dominant language
- Java
- Stars
- 9k
- Forks
- 518
- PR merge metrics
- No merged PRs in 30d
Description
### Please check before submitting an issue
- [X] I am using the latest version of App Manager
- [X] I have searched the issues and haven't found anything relevant
- [X] I have read the docs
### Describe a description of the new feature
As a package manager AM should allow users to reboot the phone similar to Magisk directly from the app itself.

Few cases where AM itself requires device reboot.
1. Apps that use storage access framework (SAF), SSAID or Android KeyStore works properly only after an immediate restart. ([source](https://muntashirakon.github.io/AppManager/en/#subsec:backup-restore-restore))
2. Root users don’t need to enable ADB over TCP. If you still want to use ADB over TCP, you must revoke superuser permission for App Manager and restart your device. ([source](https://muntashirakon.github.io/AppManager/en/#sec:adb-over-tcp))
Manually using hardware button for reboot isn't ideal, though you don't need hardware button as some ROMs (modern android phones) provide this option on android's pull-down-menu. But I do think advanced package manager like AM should provide this basic feature.
### Describe the solution you'd like
1. Add the Reboot options to options menu of main page (_Root/ADB-only feature_)
2. Where AM itself requires reboot - show a dialog of 30sec timer with option to "reboot now" & "cancel"
### Describe alternatives you've considered
_No response_
### Additional context
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.