Fixes an NPE caused by null sequence.

Test: existing CTS tests
Bug: 182164206
Change-Id: Ia2855a4df24e53710fac29242aafc25bd8e32578
This commit is contained in:
Lei Ju
2021-10-18 14:32:42 -07:00
parent 0cc800c66e
commit a88b7fe6a8

View File

@@ -138,7 +138,6 @@ public class ChooseAccountTypeActivity extends Activity {
if (sequence != null) {
name = sequence.toString();
}
name = sequence.toString();
} catch (PackageManager.NameNotFoundException e) {
// Nothing we can do much here, just log
if (Log.isLoggable(TAG, Log.WARN)) {