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

Commit cfabf905 authored by Narayan Kamath's avatar Narayan Kamath
Browse files

ResolverActivity: Rename alwaysCheck to always.

alwaysCheck can mean something very different
("always check with the user") and has the opposite meaning. It's
also inconsistent with naming in the rest of the file which is
"always".

Test: make
Bug: N/A
Change-Id: I856ba34a5607d3bca9dee396c531a07699489a7f
parent b5114929
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1085,7 +1085,7 @@ public class ResolverActivity extends Activity implements
        }
    }

    protected boolean onTargetSelected(TargetInfo target, boolean alwaysCheck) {
    protected boolean onTargetSelected(TargetInfo target, boolean always) {
        final ResolveInfo ri = target.getResolveInfo();
        final Intent intent = target != null ? target.getResolvedIntent() : null;

@@ -1207,7 +1207,7 @@ public class ResolverActivity extends Activity implements
                    if (otherProfileMatch > bestMatch) bestMatch = otherProfileMatch;
                }

                if (alwaysCheck) {
                if (always) {
                    final int userId = getUserId();
                    final PackageManager pm = getPackageManager();