AI 146776: fix NPE in AvdManager
BUG=1791664 Automated import of CL 146776
This commit is contained in:
committed by
The Android Open Source Project
parent
546c9c9d41
commit
1bce95ed41
@@ -338,7 +338,7 @@ public final class AvdManager {
|
||||
synchronized (mAllAvdList) {
|
||||
if (mBrokenAvdList == null) {
|
||||
ArrayList<AvdInfo> list = new ArrayList<AvdInfo>();
|
||||
for (AvdInfo avd : mBrokenAvdList) {
|
||||
for (AvdInfo avd : mAllAvdList) {
|
||||
if (avd.getStatus() != AvdStatus.OK) {
|
||||
list.add(avd);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user