Is there any bug about getInstalledPackages/getInstalledApplications
in PackageManagerService from andorid 2.3???

>From andorid 2.3, google rewrite getInstalledPackages/
getInstalledApplications using ParceledListSlice, it seems that there
are some problems in code below:

if (ai != null && !list.append(ai)) {
     break;
 }

because there are explain in ParceledListSlice :
Appends a parcel to this list slice.
Parameters:
item Parcelable item to append to this list slice
Returns:
true when the list slice is full and should not be appended to
anymore.

so, does this must be change to
 if (ai != null && list.append(ai)) {
     break;
 }

This will cost too mush time to execute getInstalledPackages/
getInstalledApplications, maybe crash system

-- 
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