Merge "Fix NPE from startNewTransition" into tm-qpr-dev
This commit is contained in:
@@ -228,7 +228,8 @@ class Transition implements BLASTSyncEngine.TransactionReadyListener {
|
||||
}
|
||||
|
||||
@Nullable
|
||||
static Transition fromBinder(@NonNull IBinder token) {
|
||||
static Transition fromBinder(@Nullable IBinder token) {
|
||||
if (token == null) return null;
|
||||
try {
|
||||
return ((Token) token).mTransition.get();
|
||||
} catch (ClassCastException e) {
|
||||
|
||||
Reference in New Issue
Block a user