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

Commit 34c24fbb authored by Sudheer Shanka's avatar Sudheer Shanka
Browse files

Read the sessionId value as long.

Bug: 149782008
Test: atest CtsBlobStoreHostTestCases
Change-Id: Ie3df317137fe1b88692e4a43744f66602cb17206
parent 251c21df
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -514,7 +514,7 @@ class BlobStoreSession extends IBlobStoreSession.Stub {
    static BlobStoreSession createFromXml(@NonNull XmlPullParser in, int version,
            @NonNull Context context, @NonNull SessionStateChangeListener stateChangeListener)
            throws IOException, XmlPullParserException {
        final int sessionId = XmlUtils.readIntAttribute(in, ATTR_ID);
        final long sessionId = XmlUtils.readLongAttribute(in, ATTR_ID);
        final String ownerPackageName = XmlUtils.readStringAttribute(in, ATTR_PACKAGE);
        final int ownerUid = XmlUtils.readIntAttribute(in, ATTR_UID);