Fix process source handling for reporting Binder latency from Telephony,
Process souce was incorrectly specified and thus resulted in defaulting
to system_server.
Test: unit test
Bug: 180584913
Change-Id: Ib226f6d2d049d00542bafd14f9eea1f92d553bfe
diff --git a/src/com/android/phone/PhoneGlobals.java b/src/com/android/phone/PhoneGlobals.java
index 130c775..2535365 100644
--- a/src/com/android/phone/PhoneGlobals.java
+++ b/src/com/android/phone/PhoneGlobals.java
@@ -536,8 +536,9 @@
// Start tracking Binder latency for the phone process.
mBinderCallsSettingsObserver = new BinderCallsStats.SettingsObserver(
getApplicationContext(),
- new BinderCallsStats(new BinderCallsStats.Injector()),
- com.android.internal.os.BinderLatencyProto.Dims.TELEPHONY);
+ new BinderCallsStats(
+ new BinderCallsStats.Injector(),
+ com.android.internal.os.BinderLatencyProto.Dims.TELEPHONY));
}
/**