Remove unused imports and variables (flutter/engine#6437)

This is discovered in the new Google3 checks. It should not block our
roll but it's nice to fix them.
This commit is contained in:
liyuqian
2018-10-04 16:01:49 -07:00
committed by GitHub
parent 07b230a88e
commit 1d2c3ec0a4

View File

@@ -5,7 +5,6 @@
package io.flutter.view;
import android.app.Activity;
import android.content.Context;
import android.graphics.Rect;
import android.opengl.Matrix;
import android.os.Build;
@@ -600,8 +599,6 @@ class AccessibilityBridge
}
void updateCustomAccessibilityActions(ByteBuffer buffer, String[] strings) {
ArrayList<CustomAccessibilityAction> updatedActions =
new ArrayList<CustomAccessibilityAction>();
while (buffer.hasRemaining()) {
int id = buffer.getInt();
CustomAccessibilityAction action = getOrCreateAction(id);