Skip to content

Commit

Permalink
Lint for Obsolete SDK_INT Version Check
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsilber committed Dec 21, 2023
1 parent a572dca commit b4850b6
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,6 @@ public ScratchableLayoutDrawer attach(

scratchView.invalidate();

if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.HONEYCOMB) {
scratchView.setLayerType(View.LAYER_TYPE_SOFTWARE, null);
}

enqueueViewInitializationOnGlobalLayout(scratchView, behindView);

return this;
Expand Down

0 comments on commit b4850b6

Please sign in to comment.