public ResPackage getPackage(int id) throws AndrolibException { ResPackage pkg = mPackagesById.get(id); if (pkg != null) { return pkg; } if (mAndRes != null) { return mAndRes.loadFrameworkPkg(this, id, mFrameTag); } throw new UndefinedResObject(String.format("package: id=%d", id)); }