Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ChargingControl: No need to log a crash when not supported
Instead of relying on catching the exception later on, check if ChargingControl is actually supported before checking if a specific mode is Change-Id: Icaf8d333842c9847bea00bedb4b302b7acd49bb3 Signed-off-by: Mohammad Hasan Keramat J <ikeramat@protonmail.com>
- Loading branch information