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

Commit f9e934c2 authored by Nathan Harold's avatar Nathan Harold Committed by android-build-merger
Browse files

Merge "Invoke the DebugEventReporter#dump() function" am: 6f5515a8

am: 9f94908d

Change-Id: I888fd4e65f36dd2f63b15ae4d645a96f75cbbc76
parents 81865382 9f94908d
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -27,6 +27,7 @@ import android.os.ServiceManager;
import android.preference.PreferenceManager;
import android.provider.Settings;
import android.provider.Settings.SettingNotFoundException;
import android.telephony.DebugEventReporter;
import android.telephony.Rlog;
import android.telephony.SubscriptionManager;
import android.telephony.TelephonyManager;
@@ -546,6 +547,16 @@ public class PhoneFactory {
        } catch (Exception e) {
            e.printStackTrace();
        }
        pw.decreaseIndent();
        pw.println("++++++++++++++++++++++++++++++++");
        pw.println("DebugEvents:");
        pw.increaseIndent();
        try {
            DebugEventReporter.dump(fd, pw, args);
        } catch (Exception e) {
            e.printStackTrace();
        }

        pw.flush();
        pw.decreaseIndent();
    }