Remove unused imports and variables (#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 1f98aa6df4
commit 90b1023c84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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);