Reconciliation for oc-mr1 branch specific changes
Bug: 68802239
Bug: 68802303
Test: oc-mr1 local build successfully
Change-Id: I93d07bd9dfdc16ed5578b0984702e4321c4dd1c7
diff --git a/guest/hals/camera/fake-pipeline2/Base.h b/guest/hals/camera/fake-pipeline2/Base.h
index 724b3f9..dfeeeca 100644
--- a/guest/hals/camera/fake-pipeline2/Base.h
+++ b/guest/hals/camera/fake-pipeline2/Base.h
@@ -22,7 +22,11 @@
#ifndef HW_EMULATOR_CAMERA2_BASE_H
#define HW_EMULATOR_CAMERA2_BASE_H
+#include "guest/libs/platform_support/api_level_fixes.h"
+
+#if VSOC_PLATFORM_SDK_BEFORE(O_MR1)
#include <system/window.h>
+#endif
#include <hardware/camera2.h>
#include <utils/Vector.h>
diff --git a/guest/libs/platform_support/api_level_fixes.h b/guest/libs/platform_support/api_level_fixes.h
index ec678aa..d0da546 100644
--- a/guest/libs/platform_support/api_level_fixes.h
+++ b/guest/libs/platform_support/api_level_fixes.h
@@ -62,7 +62,8 @@
#define VSOC_PLATFORM_SDK_N 24
#define VSOC_PLATFORM_SDK_N_MR1 25
#define VSOC_PLATFORM_SDK_O 26
-#define VSOC_PLATFORM_SDK_LAST_SHIPPED 26
+#define VSOC_PLATFORM_SDK_O_MR1 27
+#define VSOC_PLATFORM_SDK_LAST_SHIPPED 27
#define VSOC_PLATFORM_SDK_BEFORE(X) (VSOC_PLATFORM_SDK_VERSION < VSOC_PLATFORM_SDK_##X)
#define VSOC_PLATFORM_SDK_AFTER(X) (VSOC_PLATFORM_SDK_VERSION > VSOC_PLATFORM_SDK_##X)