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

Commit 0fd96a12 authored by Daichi Hirono's avatar Daichi Hirono Committed by android-build-merger
Browse files

DO NOT MERGE: Fix NullPointerException in MtpManager. am: 9c8e0f1a

am: 6e6fdd47

Change-Id: I83b323e21ea69b8bf51fc0c3896ef159868323ef
parents ca73ecfd 6e6fdd47
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -282,8 +282,8 @@ class MtpManager {
            }
            final MtpDeviceInfo info = mtpDevice.getDeviceInfo();
            if (info != null) {
                operationsSupported = mtpDevice.getDeviceInfo().getOperationsSupported();
                eventsSupported = mtpDevice.getDeviceInfo().getEventsSupported();
                operationsSupported = info.getOperationsSupported();
                eventsSupported = info.getEventsSupported();
            }
        } else {
            roots = new MtpRoot[0];