Kaydet (Commit) d5c32b45 authored tarafından Tomaž Vajngerl's avatar Tomaž Vajngerl Kaydeden (comit) Miklos Vajna

android: minor code clean-up in TextSelectionHandle

Change-Id: I5ad3c0f853efe1cf314f3c1afd77cecfdfc59134
üst 58c89e41
...@@ -52,8 +52,8 @@ public class TextSelectionHandle extends ImageView implements View.OnTouchListen ...@@ -52,8 +52,8 @@ public class TextSelectionHandle extends ImageView implements View.OnTouchListen
super(context, attrs); super(context, attrs);
setOnTouchListener(this); setOnTouchListener(this);
TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.TextSelectionHandle); TypedArray array = context.obtainStyledAttributes(attrs, R.styleable.TextSelectionHandle);
int handleType = a.getInt(R.styleable.TextSelectionHandle_handleType, 0x01); int handleType = array.getInt(R.styleable.TextSelectionHandle_handleType, 0x01);
switch (handleType) { switch (handleType) {
case 1: case 1:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment