summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/update-android-headers.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/update-android-headers.sh b/bin/update-android-headers.sh
index 937654a1205..eddb1cf9c9f 100755
--- a/bin/update-android-headers.sh
+++ b/bin/update-android-headers.sh
@@ -15,6 +15,10 @@ fi
dest=include/android_stub
+# Persist the frozen Android N system/window.h for backward compatibility
+
+cp -av ${dest}/system/window.h platform-system-core/libsystem/include/system
+
rm -rf ${dest}
mkdir ${dest}