am 7e7f2b4d: Use actual number of packages rather than getCount()
* commit '7e7f2b4de003bd5aeef04500025cb2bc34e6df28': Use actual number of packages rather than getCount()
This commit is contained in:
@@ -229,7 +229,7 @@ public class ResolverActivity extends Activity implements AdapterView.OnItemClic
|
||||
}
|
||||
mAlwaysUseOption = alwaysUseOption;
|
||||
|
||||
int count = mAdapter.getCount();
|
||||
int count = mAdapter.mList.size();
|
||||
if (mLaunchedFromUid < 0 || UserHandle.isIsolated(mLaunchedFromUid)) {
|
||||
// Gulp!
|
||||
finish();
|
||||
|
||||
Reference in New Issue
Block a user