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

Commit 0ea70fc3 authored by Erik Kline's avatar Erik Kline
Browse files

Add null check to IpManager.dump()

Test: as follows
    - built (bullhead)
    - flashed
    - booted
    - runtest frameworks-net passes
Bug: 36650508
Change-Id: I2270bec20b966de487048f0ea0c97360e242cd9d
parent a1e206a3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -608,7 +608,7 @@ public class IpManager extends StateMachine {
    }

    public void dump(FileDescriptor fd, PrintWriter writer, String[] args) {
        if (args.length > 0 && DUMP_ARG_CONFIRM.equals(args[0])) {
        if (args != null && args.length > 0 && DUMP_ARG_CONFIRM.equals(args[0])) {
            // Execute confirmConfiguration() and take no further action.
            confirmConfiguration();
            return;