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

Commit ff81a09e authored by Sudheer Shanka's avatar Sudheer Shanka
Browse files

Add the missing Parcel.writeInterfaceToken call.

Bug: 35950090
Test: Verified that it fixes the following error.
      Parcel  : **** enforceInterface() expected 'android.app.IActivityManager' but read ''
Change-Id: Id70da2d2ba7198e4d5d14aeabe00328c4eb6ef14
parent e1a7e794
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -36,6 +36,7 @@ public:
    virtual int openContentUri(const String16& stringUri)
    {
        Parcel data, reply;
        data.writeInterfaceToken(IActivityManager::getInterfaceDescriptor());
        data.writeString16(stringUri);
        status_t ret = remote()->transact(OPEN_CONTENT_URI_TRANSACTION, data, & reply);
        int fd = -1;