android_device_A-Team/patches/Build.java-alt-4.patch

21 lines
719 B
Diff

--- old/Build.java 2026-07-28 15:27:24.193140783 -0500
+++ new/Build.java 2026-07-28 16:12:26.635606082 -0500
@@ -1729,18 +1729,8 @@
* @hide
*/
public static boolean isBuildConsistent() {
- // Don't care on eng builds. Incremental build may trigger false negative.
- if (IS_ENG) return true;
-
- int result = VintfObject.verifyBuildAtBoot();
- if (result != 0) {
- Slog.e(TAG, "Vendor interface is incompatible, error=" + result);
- return false;
- }
-
return true;
}
-
/** Build information for a particular device partition. */
public static class Partition {
/** The name identifying the system partition. */