Skip to content

Commit

Permalink
Add missing HEADER_OS_VERSION header. (#653)
Browse files Browse the repository at this point in the history
  • Loading branch information
aontas authored and rogerhu committed May 3, 2017
1 parent 8873597 commit f958b6c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Parse/src/main/java/com/parse/ParsePlugins.java
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ public Response intercept(Chain chain) throws IOException {
String.valueOf(ManifestInfo.getVersionCode()))
.set(ParseRESTCommand.HEADER_APP_DISPLAY_VERSION,
ManifestInfo.getVersionName())
.set(ParseRESTCommand.HEADER_OS_VERSION, Build.VERSION.RELEASE)
.set(ParseRESTCommand.USER_AGENT, userAgent());
if (request.header(ParseRESTCommand.HEADER_INSTALLATION_ID) == null) {
// We can do this synchronously since the caller is already on a background thread
Expand Down

0 comments on commit f958b6c

Please sign in to comment.