cmsdk: Add reason string to PowerManager.shutdown call

Change-Id: I5f8c782514e44bbb44c1409db88de94591466fd2
This commit is contained in:
Steve Kondik
2016-08-29 03:17:37 -07:00
parent 9046c4ca64
commit d2cce2b154

View File

@@ -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.");