AI 146778: am: CL 146776 fix NPE in AvdManager
Original author: xav Merged from: //branches/cupcake/... Automated import of CL 146778
This commit is contained in:
committed by
The Android Open Source Project
parent
08bb0ab656
commit
2eeb203c31
@@ -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