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

Commit 2a27b2ca authored by Hakan Seyalioglu's avatar Hakan Seyalioglu Committed by Android (Google) Code Review
Browse files

Merge "Mark two test methods public so they can be mocked"

parents 0f4a8ba2 96ba588a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -69,14 +69,14 @@ public class ResolverListController {
    }

    @VisibleForTesting
    ResolveInfo getLastChosen() throws RemoteException {
    public ResolveInfo getLastChosen() throws RemoteException {
        return AppGlobals.getPackageManager().getLastChosenActivity(
                mTargetIntent, mTargetIntent.resolveTypeIfNeeded(mContext.getContentResolver()),
                PackageManager.MATCH_DEFAULT_ONLY);
    }

    @VisibleForTesting
    void setLastChosen(Intent intent, IntentFilter filter, int match)
    public void setLastChosen(Intent intent, IntentFilter filter, int match)
            throws RemoteException {
        AppGlobals.getPackageManager().setLastChosenActivity(intent,
                intent.resolveType(mContext.getContentResolver()),