Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f3ab9cdc authored by Arthur Ishiguro's avatar Arthur Ishiguro
Browse files

Mark location classes as Parcelable appropriately

Doesn't add the "final" qualifier,
since make will throw errors due to compatibility issues.

Bug: 69622177
Test: Run CHQTS from master and oc-mr1-dev, verify pass
Change-Id: If02203d7862e77ca4fda7b95a39bbfa3d9f6d87d
parent ecd5ebbf
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -1582,7 +1582,7 @@ package android.hardware.location {
    method public abstract void onMessageReceipt(int, int, android.hardware.location.ContextHubMessage);
  }

  public deprecated class ContextHubMessage {
  public deprecated class ContextHubMessage implements android.os.Parcelable {
    ctor public ContextHubMessage(int, int, byte[]);
    method public int describeContents();
    method public byte[] getData();
@@ -1713,7 +1713,7 @@ package android.hardware.location {
    field public static final android.os.Parcelable.Creator<android.hardware.location.MemoryRegion> CREATOR;
  }

  public deprecated class NanoApp {
  public deprecated class NanoApp implements android.os.Parcelable {
    ctor public NanoApp();
    ctor public deprecated NanoApp(int, byte[]);
    ctor public NanoApp(long, byte[]);
@@ -1761,7 +1761,7 @@ package android.hardware.location {
    field public static final android.os.Parcelable.Creator<android.hardware.location.NanoAppBinary> CREATOR;
  }

  public deprecated class NanoAppFilter {
  public deprecated class NanoAppFilter implements android.os.Parcelable {
    ctor public NanoAppFilter(long, int, int, long);
    method public int describeContents();
    method public boolean testMatch(android.hardware.location.NanoAppInstanceInfo);
@@ -1776,7 +1776,7 @@ package android.hardware.location {
    field public static final int VENDOR_ANY = -1; // 0xffffffff
  }

  public deprecated class NanoAppInstanceInfo {
  public deprecated class NanoAppInstanceInfo implements android.os.Parcelable {
    ctor public NanoAppInstanceInfo();
    method public int describeContents();
    method public long getAppId();
+1 −1
Original line number Diff line number Diff line
@@ -33,7 +33,7 @@ import java.util.Arrays;
 */
@SystemApi
@Deprecated
public class ContextHubMessage {
public class ContextHubMessage implements Parcelable {
    private static final int DEBUG_LOG_NUM_BYTES = 16;
    private int mType;
    private int mVersion;
+1 −1
Original line number Diff line number Diff line
@@ -36,7 +36,7 @@ import android.util.Log;
 */
@SystemApi
@Deprecated
public class NanoApp {
public class NanoApp implements Parcelable {
    private final String TAG = "NanoApp";

    private final String UNKNOWN = "Unknown";
+1 −1
Original line number Diff line number Diff line
@@ -28,7 +28,7 @@ import android.os.Parcelable;
 */
@SystemApi
@Deprecated
public class NanoAppFilter {
public class NanoAppFilter implements Parcelable {

    private static final String TAG = "NanoAppFilter";

+1 −1
Original line number Diff line number Diff line
@@ -34,7 +34,7 @@ import libcore.util.EmptyArray;
 */
@SystemApi
@Deprecated
public class NanoAppInstanceInfo {
public class NanoAppInstanceInfo implements Parcelable {
    private String mPublisher = "Unknown";
    private String mName = "Unknown";