Make change and version bump to OPM4.171019.021.R1

Change-Id: Ifa647575875d55c4da371b1f28e8709d38c5467f
diff --git a/core/build_id.mk b/core/build_id.mk
index f4c6477..84f0d91 100644
--- a/core/build_id.mk
+++ b/core/build_id.mk
@@ -18,4 +18,4 @@
 # (like "CRB01").  It must be a single word, and is
 # capitalized by convention.
 
-export BUILD_ID=OPM4.171019.021
+export BUILD_ID=OPM4.171019.021.R1
diff --git a/core/version_defaults.mk b/core/version_defaults.mk
index a15537e..e23b9af 100644
--- a/core/version_defaults.mk
+++ b/core/version_defaults.mk
@@ -181,7 +181,7 @@
     #  It must be of the form "YYYY-MM-DD" on production devices.
     #  It must match one of the Android Security Patch Level strings of the Public Security Bulletins.
     #  If there is no $PLATFORM_SECURITY_PATCH set, keep it empty.
-      PLATFORM_SECURITY_PATCH := 2018-05-05
+      PLATFORM_SECURITY_PATCH := 2018-07-05
 endif
 
 ifndef PLATFORM_BASE_OS