Merge "Hide getPackageProcessState(), it is not ready yet." into mnc-dev

This commit is contained in:
Dianne Hackborn
2015-05-13 23:29:29 +00:00
committed by Android (Google) Code Review

View File

@@ -2320,9 +2320,9 @@ public class ActivityManager {
* in {@link RunningAppProcessInfo}, giving you the highest importance of all the
* processes that this package has code running inside of. If there are no processes
* running its code, {@link RunningAppProcessInfo#IMPORTANCE_GONE} is returned.
*
* @hide
*/
@SystemApi
public int getPackageImportance(String packageName) {
try {
int procState = ActivityManagerNative.getDefault().getPackageProcessState(packageName);