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

Commit 9f22dd58 authored by Arthur Ishiguro's avatar Arthur Ishiguro
Browse files

Modify ContextHubInfo to implement Parcelable

Needed to resolve Java compilation errors when using e.g.
List<ContextHubInfo> in AIDL. Doesn't add the "final" qualifier,
since make will throw errors due to compatibility issues.

Bug: 67734082
Test: make update-api && make
Change-Id: Ie7f99a41eab70455b1c4e86b673e7377be667dfb
parent e67de60f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1339,7 +1339,7 @@ package android.hardware.hdmi {

package android.hardware.location {

  public class ContextHubInfo {
  public class ContextHubInfo implements android.os.Parcelable {
    ctor public ContextHubInfo();
    method public int describeContents();
    method public int getId();
+1 −1
Original line number Diff line number Diff line
@@ -26,7 +26,7 @@ import java.util.Arrays;
 * @hide
 */
@SystemApi
public class ContextHubInfo {
public class ContextHubInfo implements Parcelable {
    private int mId;
    private String mName;
    private String mVendor;