Update to use new ActivityManager.forceStopPackage() API.
This commit is contained in:
@@ -539,7 +539,7 @@ public class InstalledAppDetails extends Activity implements View.OnClickListene
|
||||
} else if (v == mForceStopButton) {
|
||||
ActivityManager am = (ActivityManager)getSystemService(
|
||||
Context.ACTIVITY_SERVICE);
|
||||
am.restartPackage(packageName);
|
||||
am.forceStopPackage(packageName);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user