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:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user