Replace com.android.internal.util.Preconditions.checkNotNull with
java.util.Objects.requireNonNull Bug: 126528330 Test: Treehugger Exempt-From-Owner-Approval: Global refactoring. Change-Id: Id24ca6b5dfd501a673c0e21f6ff506f065084af9
This commit is contained in:
committed by
Tobias Thierer
parent
d02b11f663
commit
f894cbbb64
@@ -1719,7 +1719,7 @@ public class InputManagerService extends IInputManager.Stub
|
||||
// Binder call
|
||||
@Override
|
||||
public void setCustomPointerIcon(PointerIcon icon) {
|
||||
Preconditions.checkNotNull(icon);
|
||||
Objects.requireNonNull(icon);
|
||||
nativeSetCustomPointerIcon(mPtr, icon);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user