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
This commit is contained in:
Hunter Knepshield
2020-01-07 16:57:11 -08:00
parent 677db1865c
commit 05a57b6f5e

View File

@@ -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);
}
}
}