Yes it is an internal API.

On Thu, Jun 24, 2010 at 4:13 PM, Happy C. <[email protected]> wrote:

> How does forceStopPackage work in Android 2.2 (Froyo)?
>
> Thanks Google released 2.2 source code.
>
> In this code-InstalledAppDetails.java
>
> It shows how android 2.2 do the "force close" function.
>
>    private void forceStopPackage(String pkgName) {
>        ActivityManager am = (ActivityManager)getSystemService(
>                Context.ACTIVITY_SERVICE);
>        am.forceStopPackage(pkgName);
>        checkForceStop();
>    }
>
>
> However "forceStopPackage" method is not in ActivityManager class.
> http://developer.android.com/reference/android/app/ActivityManager.html
>
> Is it a interneal API? Many Thanks.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to