merge from open-source master
Change-Id: I5d220f16c319e95547f133ee9bcbd0b5caabc597
This commit is contained in:
@@ -58,6 +58,7 @@ import android.content.BroadcastReceiver;
|
||||
import android.content.ComponentName;
|
||||
import android.content.ContentResolver;
|
||||
import android.content.Context;
|
||||
import android.content.DialogInterface;
|
||||
import android.content.Intent;
|
||||
import android.content.IntentFilter;
|
||||
import android.content.IIntentReceiver;
|
||||
@@ -1077,7 +1078,7 @@ public final class ActivityManagerService extends ActivityManagerNative implemen
|
||||
d.setCancelable(false);
|
||||
d.setTitle("System UIDs Inconsistent");
|
||||
d.setMessage("UIDs on the system are inconsistent, you need to wipe your data partition or your device will be unstable.");
|
||||
d.setButton("I'm Feeling Lucky",
|
||||
d.setButton(DialogInterface.BUTTON_POSITIVE, "I'm Feeling Lucky",
|
||||
mHandler.obtainMessage(IM_FEELING_LUCKY_MSG));
|
||||
mUidAlert = d;
|
||||
d.show();
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
package com.android.server.am;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.DialogInterface;
|
||||
import android.os.Handler;
|
||||
import android.os.Message;
|
||||
|
||||
@@ -49,7 +50,7 @@ class AppWaitingForDebuggerDialog extends BaseErrorDialog {
|
||||
text.append(" is waiting for the debugger to attach.");
|
||||
|
||||
setMessage(text.toString());
|
||||
setButton("Force Close", mHandler.obtainMessage(1, app));
|
||||
setButton(DialogInterface.BUTTON_POSITIVE, "Force Close", mHandler.obtainMessage(1, app));
|
||||
setTitle("Waiting For Debugger");
|
||||
getWindow().setTitle("Waiting For Debugger: " + app.info.processName);
|
||||
}
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
package com.android.server.am;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.DialogInterface;
|
||||
import android.os.Handler;
|
||||
import android.os.Message;
|
||||
|
||||
@@ -26,7 +27,8 @@ class FactoryErrorDialog extends BaseErrorDialog {
|
||||
setCancelable(false);
|
||||
setTitle(context.getText(com.android.internal.R.string.factorytest_failed));
|
||||
setMessage(msg);
|
||||
setButton(context.getText(com.android.internal.R.string.factorytest_reboot),
|
||||
setButton(DialogInterface.BUTTON_POSITIVE,
|
||||
context.getText(com.android.internal.R.string.factorytest_reboot),
|
||||
mHandler.obtainMessage(0));
|
||||
getWindow().setTitle("Factory Error");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user