Merge "Ignore onPostListReady call if the activity has been destroyed" into tm-qpr-dev am: b67434ebea
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20330377 Change-Id: Ib057fc1f7d5ffd8d8945a50453598f16ff2e7a98 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -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