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

Unverified Commit d8d393f1 authored by Kevin F. Haggerty's avatar Kevin F. Haggerty
Browse files

Merge tag 'android-security-14.0.0_r22' into staging/lineage-21.0_android-security-14.0.0_r22

Android Security 14.0.0 Release 22 (13793696)

* tag 'android-security-14.0.0_r22':
  Show account selection dialog when a single account exists.

Change-Id: Ib81248d8933065c3d231d1004b9e929f0434e9e4
parents 1534449b 2958c313
Loading
Loading
Loading
Loading
+0 −9
Original line number Diff line number Diff line
@@ -65,15 +65,6 @@ public class SelectAccountActivity extends Activity {
            Log.w(LOG_TAG, "Account does not exist");
            finish();
            return;
        } else if (accountList.size() == 1) {
            final AccountWithDataSet account = accountList.get(0);
            final Intent intent = new Intent();
            intent.putExtra(ACCOUNT_NAME, account.name);
            intent.putExtra(ACCOUNT_TYPE, account.type);
            intent.putExtra(DATA_SET, account.dataSet);
            setResult(RESULT_OK, intent);
            finish();
            return;
        }

        Log.i(LOG_TAG, "The number of available accounts: " + accountList.size());