mirror of
https://github.com/yurisieucuti/treble_evolution.git
synced 2024-11-24 09:46:19 +00:00
39 lines
1.9 KiB
Diff
39 lines
1.9 KiB
Diff
From 1e9101cb05a625fe34cad85d36808403fa07e6e9 Mon Sep 17 00:00:00 2001
|
|
From: Andy CrossGate Yan <GeForce8800Ultra@gmail.com>
|
|
Date: Thu, 5 Apr 2018 10:01:19 +0800
|
|
Subject: [PATCH 01/51] Disable vendor mismatch warning
|
|
|
|
Change-Id: Ieb8fe91e2f02462f074312ed0f4885d183e9780b
|
|
---
|
|
.../server/wm/ActivityTaskManagerService.java | 14 +-------------
|
|
1 file changed, 1 insertion(+), 13 deletions(-)
|
|
|
|
diff --git a/services/core/java/com/android/server/wm/ActivityTaskManagerService.java b/services/core/java/com/android/server/wm/ActivityTaskManagerService.java
|
|
index 869bcc0f9b8f..5c13b910e6bc 100644
|
|
--- a/services/core/java/com/android/server/wm/ActivityTaskManagerService.java
|
|
+++ b/services/core/java/com/android/server/wm/ActivityTaskManagerService.java
|
|
@@ -6215,19 +6215,7 @@ public class ActivityTaskManagerService extends IActivityTaskManager.Stub {
|
|
|
|
if (!isBuildConsistent) {
|
|
Slog.e(TAG, "Build fingerprint is not consistent, warning user");
|
|
- mUiHandler.post(() -> {
|
|
- if (mShowDialogs) {
|
|
- AlertDialog d = new BaseErrorDialog(mUiContext);
|
|
- d.getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_ERROR);
|
|
- d.setCancelable(false);
|
|
- d.setTitle(mUiContext.getText(R.string.android_system_label));
|
|
- d.setMessage(mUiContext.getText(R.string.system_error_manufacturer));
|
|
- d.setButton(DialogInterface.BUTTON_POSITIVE,
|
|
- mUiContext.getText(R.string.ok),
|
|
- mUiHandler.obtainMessage(DISMISS_DIALOG_UI_MSG, d));
|
|
- d.show();
|
|
- }
|
|
- });
|
|
+ // Do not emit warning about vendor mismatch
|
|
}
|
|
}
|
|
Trace.traceEnd(TRACE_TAG_WINDOW_MANAGER);
|
|
--
|
|
2.25.1
|
|
|