summaryrefslogtreecommitdiff
path: root/core/java
diff options
context:
space:
mode:
authorTreeHugger Robot <treehugger-gerrit@google.com>2017-09-19 20:32:56 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2017-09-19 20:32:56 +0000
commit0853fe8a53032438e272aeefa3a8eb6674cf2dd6 (patch)
treedfa1ececa7856821d4212d7259cfd0de2d72aebd /core/java
parent93243bf8085af2c8aec599e3931347b4f10428f2 (diff)
parent9acb5402d0c25945a554c9f628f9df686bdde5a5 (diff)
Merge "Adds handle to NanoAppInstanceInfo Parcel" into oc-mr1-dev
Diffstat (limited to 'core/java')
-rw-r--r--core/java/android/hardware/location/NanoAppInstanceInfo.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/java/android/hardware/location/NanoAppInstanceInfo.java b/core/java/android/hardware/location/NanoAppInstanceInfo.java
index ac6d83f622b2..26238304d8e9 100644
--- a/core/java/android/hardware/location/NanoAppInstanceInfo.java
+++ b/core/java/android/hardware/location/NanoAppInstanceInfo.java
@@ -287,8 +287,10 @@ public class NanoAppInstanceInfo {
mPublisher = in.readString();
mName = in.readString();
+ mHandle = in.readInt();
mAppId = in.readLong();
mAppVersion = in.readInt();
+ mContexthubId = in.readInt();
mNeededReadMemBytes = in.readInt();
mNeededWriteMemBytes = in.readInt();
mNeededExecMemBytes = in.readInt();
@@ -309,6 +311,8 @@ public class NanoAppInstanceInfo {
public void writeToParcel(Parcel out, int flags) {
out.writeString(mPublisher);
out.writeString(mName);
+
+ out.writeInt(mHandle);
out.writeLong(mAppId);
out.writeInt(mAppVersion);
out.writeInt(mContexthubId);