Merge "Use UiContext with StrictMode Dialog" into oc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
9274d87a0e
@@ -1808,7 +1808,7 @@ public class ActivityManagerService extends IActivityManager.Stub
|
|||||||
}
|
}
|
||||||
AppErrorResult res = (AppErrorResult) data.get("result");
|
AppErrorResult res = (AppErrorResult) data.get("result");
|
||||||
if (mShowDialogs && !mSleeping && !mShuttingDown) {
|
if (mShowDialogs && !mSleeping && !mShuttingDown) {
|
||||||
Dialog d = new StrictModeViolationDialog(mContext,
|
Dialog d = new StrictModeViolationDialog(mUiContext,
|
||||||
ActivityManagerService.this, res, proc);
|
ActivityManagerService.this, res, proc);
|
||||||
d.show();
|
d.show();
|
||||||
proc.crashDialog = d;
|
proc.crashDialog = d;
|
||||||
|
|||||||
Reference in New Issue
Block a user