summaryrefslogtreecommitdiffstats
path: root/src/com/android/browser/SuggestionsAdapter.java
diff options
context:
space:
mode:
authorjrizzoli <joey@cyanogenmoditalia.it>2015-05-06 20:59:59 +0200
committerJoey Rizzoli <joey@cyanogenmoditalia.it>2015-11-07 14:08:54 -0800
commit4c496c806380653642f17eb8950ba9efd7d43299 (patch)
tree607a011952213ef22f9308267535cf4b2d5e156b /src/com/android/browser/SuggestionsAdapter.java
parenta77b9f7993ec874eadde2104f8b0f73f2f6186d2 (diff)
downloadpackages_apps_Browser-4c496c806380653642f17eb8950ba9efd7d43299.zip
packages_apps_Browser-4c496c806380653642f17eb8950ba9efd7d43299.tar.gz
packages_apps_Browser-4c496c806380653642f17eb8950ba9efd7d43299.tar.bz2
Browser: update UI
* Res - Rename (#themersgottahate) - Vectors - Card-Tabs - CleanUp * Interface - Longpress fab to open incognito tab - New icon - Better urlbar - Fix tab animations - Remap PieControl * Features - Immersive mode (replace jb fullscreen) Change-Id: I2fde4242f477359dc8af18d1b7752750058cd6e9 Signed-off-by: jrizzoli <joey@cyanogenmoditalia.it>
Diffstat (limited to 'src/com/android/browser/SuggestionsAdapter.java')
-rw-r--r--src/com/android/browser/SuggestionsAdapter.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/com/android/browser/SuggestionsAdapter.java b/src/com/android/browser/SuggestionsAdapter.java
index 9f66e3c..62fa0bc 100644
--- a/src/com/android/browser/SuggestionsAdapter.java
+++ b/src/com/android/browser/SuggestionsAdapter.java
@@ -161,7 +161,6 @@ public class SuggestionsAdapter extends BaseAdapter implements Filterable,
TextView tv2 = (TextView) view.findViewById(android.R.id.text2);
ImageView ic1 = (ImageView) view.findViewById(R.id.icon1);
View ic2 = view.findViewById(R.id.icon2);
- View div = view.findViewById(R.id.divider);
tv1.setText(Html.fromHtml(item.title));
if (TextUtils.isEmpty(item.url)) {
tv2.setVisibility(View.GONE);
@@ -195,7 +194,6 @@ public class SuggestionsAdapter extends BaseAdapter implements Filterable,
ic2.setVisibility(((TYPE_SUGGEST == item.type)
|| (TYPE_SEARCH == item.type))
? View.VISIBLE : View.GONE);
- div.setVisibility(ic2.getVisibility());
ic2.setOnClickListener(this);
view.findViewById(R.id.suggestion).setOnClickListener(this);
}