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

Commit 7369cc61 authored by Kenny Guy's avatar Kenny Guy Committed by android-build-merger
Browse files

am dcd42f0f: am 4357d4ea: Merge "Don\'t show last used and profile button at...

am dcd42f0f: am 4357d4ea: Merge "Don\'t show last used and profile button at same time." into lmp-mr1-dev
automerge: a63b6209

* commit 'a63b6209':
  Don't show last used and profile button at same time.
parents 839a8cd6 a63b6209
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -956,6 +956,13 @@ public class ResolverActivity extends Activity implements AdapterView.OnItemClic
                // Process last group
                processGroup(currentResolveList, start, (N-1), r0, r0Label);
            }

            // Layout doesn't handle both profile button and last chosen
            // so disable last chosen if profile button is present.
            if (mOtherProfile != null && mLastChosenPosition >= 0) {
                mLastChosenPosition = -1;
                mFilterLastUsed = false;
            }
        }

        private void processGroup(List<ResolveInfo> rList, int start, int end, ResolveInfo ro,