Fix errorprone warnings
https://errorprone.info/bugpattern/BadInstanceof https://errorprone.info/bugpattern/CompareToZero Bug: 253827323 Test: Presubmits Flag: EXEMPT refactor Change-Id: If28f8f7f407b5b1e58911c58bb7d1b80f08c6114
This commit is contained in:
1 parent
e239718b4e
commit
42fc2058e6
3 files changed
+13
-13
No files matched your search
@@ -1750,7 +1750,7 @@ public class Workspace<T extends View & PageIndicator> extends PagedView<T>
|
||||
}
|
||||
|
||||
final DragView dv;
|
||||
if (contentView instanceof View) {
|
||||
if (contentView != null) {
|
||||
dv = mDragController.startDrag(
|
||||
contentView,
|
||||
draggableView,
|
||||
|
||||
Reference in new issue
Block a user