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

Commit df1fa99b authored by Steven Moreland's avatar Steven Moreland
Browse files

Implement getInterfaceHash/Version (omapi)

As these interfaces get frozen for TM, java services
implementing the interfaces are required to implement getInterfaceHash
and getInterfaceVersion [1]

[1]
https://source.android.com/devices/architecture/aidl/stable-aidl#new-meta-interface-methods

Bug: 190577319
Test: m
Change-Id: I274f847ed8156acd0c4b288e306fcab2d380bcd5
parent ec55bbd8
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -118,6 +118,16 @@ public final class SEService {
                });
            }
        }

        @Override
        public String getInterfaceHash() {
            return ISecureElementListener.HASH;
        }

        @Override
        public int getInterfaceVersion() {
            return ISecureElementListener.VERSION;
        }
    }
    private SEListener mSEListener = new SEListener();