diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2015-03-06 18:56:13 +0900 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-03-09 10:16:20 +0100 |
commit | d5c32b45186dfa8e78116841f5bb0a73ee545b33 (patch) | |
tree | a8e63e57fe87f17cc2a010012a002ccd49bea5e2 /android | |
parent | 58c89e41408e1ea0a93d84a02e0921bfe1b34c5c (diff) |
android: minor code clean-up in TextSelectionHandle
Change-Id: I5ad3c0f853efe1cf314f3c1afd77cecfdfc59134
Diffstat (limited to 'android')
-rw-r--r-- | android/experimental/LOAndroid3/src/java/org/mozilla/gecko/TextSelectionHandle.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/android/experimental/LOAndroid3/src/java/org/mozilla/gecko/TextSelectionHandle.java b/android/experimental/LOAndroid3/src/java/org/mozilla/gecko/TextSelectionHandle.java index 36472a53aa40..1a7ac9791461 100644 --- a/android/experimental/LOAndroid3/src/java/org/mozilla/gecko/TextSelectionHandle.java +++ b/android/experimental/LOAndroid3/src/java/org/mozilla/gecko/TextSelectionHandle.java @@ -52,8 +52,8 @@ public class TextSelectionHandle extends ImageView implements View.OnTouchListen super(context, attrs); setOnTouchListener(this); - TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.TextSelectionHandle); - int handleType = a.getInt(R.styleable.TextSelectionHandle_handleType, 0x01); + TypedArray array = context.obtainStyledAttributes(attrs, R.styleable.TextSelectionHandle); + int handleType = array.getInt(R.styleable.TextSelectionHandle_handleType, 0x01); switch (handleType) { case 1: |