I develop application for my custom ROM and I need to call PackageManager’s method which are annotated like this:
/*
@hide
*/
public abstract void deletePackage(
String packageName, IPackageDeleteObserver observer, int flags);
I guess it’s all about another android.jar. How do I solve the problem?
Ended up with building custom SDK, where I removed annotations.