Cleanup android warnings related to static interface declarations

Reviewed By: fkgozali

Differential Revision: D7853681

fbshipit-source-id: d342e9dc9a1efa921d1421d545798e0b706745b4
This commit is contained in:
David Vacca
2018-05-04 17:50:37 -07:00
committed by Facebook Github Bot
parent b7562818e6
commit 1e68ca7dc8
4 changed files with 4 additions and 4 deletions

View File

@@ -34,7 +34,7 @@ public class ShakeDetector implements SensorEventListener {
private float mAccelerationX, mAccelerationY, mAccelerationZ;
public static interface ShakeListener {
public interface ShakeListener {
void onShake();
}

View File

@@ -20,7 +20,7 @@ import android.widget.FrameLayout;
*/
public class SizeMonitoringFrameLayout extends FrameLayout {
public static interface OnSizeChangedListener {
public interface OnSizeChangedListener {
void onSizeChanged(int width, int height, int oldWidth, int oldHeight);
}