Skip to content

Commit d6c1919

Browse files
committed
Fix for issue 895 (missing android: prefix), Removed unused imports
Change-Id: I5eeca1db7eb97251729dff728b4c482de4b14885
1 parent bcb62f0 commit d6c1919

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

core/java/android/app/ListActivity.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@
1818

1919
import android.os.Bundle;
2020
import android.os.Handler;
21-
import android.view.KeyEvent;
2221
import android.view.View;
23-
import android.widget.Adapter;
2422
import android.widget.AdapterView;
2523
import android.widget.ListAdapter;
2624
import android.widget.ListView;
@@ -68,7 +66,7 @@
6866
* android:layout_weight="1"
6967
* android:drawSelectorOnTop="false"/>
7068
*
71-
* <TextView id="@id/android:empty"
69+
* <TextView android:id="@id/android:empty"
7270
* android:layout_width="fill_parent"
7371
* android:layout_height="fill_parent"
7472
* android:background="#FF0000"
@@ -307,7 +305,7 @@ private void ensureList() {
307305
}
308306

309307
private AdapterView.OnItemClickListener mOnClickListener = new AdapterView.OnItemClickListener() {
310-
public void onItemClick(AdapterView parent, View v, int position, long id)
308+
public void onItemClick(AdapterView<?> parent, View v, int position, long id)
311309
{
312310
onListItemClick((ListView)parent, v, position, id);
313311
}

0 commit comments

Comments
 (0)