Merge "Add a getTransactionName method to Binder." am: 079f03f584 am: 06aa142232
am: 0600f8d76f
Change-Id: I9c86300654d3ecd9ea745b7997ed35f605452e9d
This commit is contained in:
@@ -551,6 +551,20 @@ public class Binder implements IBinder {
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Resolves a transaction code to a human readable name.
|
||||
*
|
||||
* <p>Default implementation is a stub that returns null.
|
||||
* <p>AIDL generated code will return the original method name.
|
||||
*
|
||||
* @param transactionCode The code to resolve.
|
||||
* @return A human readable name.
|
||||
* @hide
|
||||
*/
|
||||
public @Nullable String getTransactionName(int transactionCode) {
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Implemented to call the more convenient version
|
||||
* {@link #dump(FileDescriptor, PrintWriter, String[])}.
|
||||
|
||||
Reference in New Issue
Block a user