Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6c790c2c authored by Daniel Nishi's avatar Daniel Nishi Committed by android-build-merger
Browse files

Merge "Add home activity methods to wrapper." into oc-dr1-dev am: d3320766

am: 5ec6335b

Change-Id: Iee4b88878f5784172e363c9670f234bda092c6fd
parents e75643d5 5ec6335b
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -123,4 +123,9 @@ public interface PackageManagerWrapper {
     * @return the label as a CharSequence
     */
    CharSequence loadLabel(ApplicationInfo app);

    /**
     * Retrieve all activities that can be performed for the given intent.
     */
    List<ResolveInfo> queryIntentActivities(Intent intent, int flags);
}
+5 −0
Original line number Diff line number Diff line
@@ -113,4 +113,9 @@ public class PackageManagerWrapperImpl implements PackageManagerWrapper {
    public CharSequence loadLabel(ApplicationInfo app) {
        return app.loadLabel(mPm);
    }

    @Override
    public List<ResolveInfo> queryIntentActivities(Intent intent, int flags) {
        return mPm.queryIntentActivities(intent, flags);
    }
}