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
|
@Override // ResolverListCommunicator
|
||||||
public final void onPostListReady(ResolverListAdapter listAdapter, boolean doPostProcessing,
|
public final void onPostListReady(ResolverListAdapter listAdapter, boolean doPostProcessing,
|
||||||
boolean rebuildCompleted) {
|
boolean rebuildCompleted) {
|
||||||
|
if (isDestroyed()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (isAutolaunching()) {
|
if (isAutolaunching()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user