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:
Daulet Zhanguzin
2020-01-02 17:37:39 +00:00
committed by Tobias Thierer
parent d02b11f663
commit f894cbbb64

View File

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