cmsdk: Add reason string to PowerManager.shutdown call
Change-Id: I5f8c782514e44bbb44c1409db88de94591466fd2
This commit is contained in:
@@ -212,7 +212,7 @@ public class PartnerInterfaceService extends CMSystemService {
|
||||
if (reboot) {
|
||||
pm.reboot(false, null, false);
|
||||
} else {
|
||||
pm.shutdown(false, false);
|
||||
pm.shutdown(false, "User requested", false);
|
||||
}
|
||||
} catch (RemoteException e) {
|
||||
Log.d(TAG, "Unable to shutdown.");
|
||||
|
||||
Reference in New Issue
Block a user