summaryrefslogtreecommitdiff
path: root/telephony/java
diff options
context:
space:
mode:
authorHunter Knepshield <hknepshield@google.com>2020-01-07 16:57:11 -0800
committerHunter Knepshield <hknepshield@google.com>2020-02-14 13:33:04 -0800
commit05a57b6f5ee0e7538cd6c2fc8b94cd9f67b63f95 (patch)
tree520efa4422901bda37a5d849153b5db4b0ef3f79 /telephony/java
parent677db1865c752e0992320ffc51690ace48cb3392 (diff)
Forward IBinder#dump to CarrierService#dump
This will allow CarrierConfigLoader to dump packages' bound carrier services as part of bug reports when appropriate. Bug: 146521742 Test: manual with modified CarrierConfigLoader + dumpsys carrier_config Change-Id: Ie3aef4216e7a42e5e4cc5ba4a3978b9c4dda50dd
Diffstat (limited to 'telephony/java')
-rw-r--r--telephony/java/android/service/carrier/CarrierService.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/telephony/java/android/service/carrier/CarrierService.java b/telephony/java/android/service/carrier/CarrierService.java
index eefc1b70bac9..d06ec11f3e61 100644
--- a/telephony/java/android/service/carrier/CarrierService.java
+++ b/telephony/java/android/service/carrier/CarrierService.java
@@ -25,6 +25,9 @@ import android.os.ResultReceiver;
import android.telephony.TelephonyRegistryManager;
import android.util.Log;
+import java.io.FileDescriptor;
+import java.io.PrintWriter;
+
/**
* A service that exposes carrier-specific functionality to the system.
* <p>
@@ -156,5 +159,10 @@ public abstract class CarrierService extends Service {
result.send(RESULT_ERROR, null);
}
}
+
+ @Override
+ protected void dump(FileDescriptor fd, PrintWriter pw, String[] args) {
+ CarrierService.this.dump(fd, pw, args);
+ }
}
}