Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f894cbbb authored by Daulet Zhanguzin's avatar Daulet Zhanguzin Committed by Tobias Thierer
Browse files

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
parent d02b11f6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
    }