OSDN Git Service

Correct some lint warnings
[android-x86/packages-apps-Eleven.git] / src / org / lineageos / eleven / widgets / SquareView.java
index 3d5671a..1d83236 100644 (file)
@@ -13,6 +13,7 @@
 
 package org.lineageos.eleven.widgets;
 
+import android.annotation.SuppressLint;
 import android.content.Context;
 import android.util.AttributeSet;
 import android.view.View;
@@ -37,6 +38,7 @@ public class SquareView extends ViewGroup {
     /**
      * {@inheritDoc}
      */
+    @SuppressWarnings("SuspiciousNameCombination")
     @Override
     protected void onMeasure(final int widthMeasureSpec, final int heightMeasureSpec) {
         final View mChildren = getChildAt(0);
@@ -58,6 +60,7 @@ public class SquareView extends ViewGroup {
     /**
      * {@inheritDoc}
      */
+    @SuppressLint("MissingSuperCall")
     @Override
     public void requestLayout() {
         forceLayout();