Merge "Ignore onPostListReady call if the activity has been destroyed" into tm-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
b67434ebea
@@ -1098,6 +1098,9 @@ public class ResolverActivity extends Activity implements
|
||||
@Override // ResolverListCommunicator
|
||||
public final void onPostListReady(ResolverListAdapter listAdapter, boolean doPostProcessing,
|
||||
boolean rebuildCompleted) {
|
||||
if (isDestroyed()) {
|
||||
return;
|
||||
}
|
||||
if (isAutolaunching()) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user