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

Commit dd443a05 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "DO NOT MERGE: Fix NullPointerException in MtpManager." into nyc-mr1-dev

parents fe7cab60 9c8e0f1a
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];