diff options
author | John Reck <jreck@google.com> | 2011-10-07 16:00:12 -0700 |
---|---|---|
committer | John Reck <jreck@google.com> | 2011-10-07 19:21:47 -0700 |
commit | 9c5004e6d5645cdf32fff3a3f04817a307b84dd6 (patch) | |
tree | 2fa369a23802c025ad79afcdd5cb5a0c933fb3c3 /src/com/android/browser/NavScreen.java | |
parent | 983dae2d94c2b90f471138471955875f438670c4 (diff) | |
download | packages_apps_Browser-9c5004e6d5645cdf32fff3a3f04817a307b84dd6.zip packages_apps_Browser-9c5004e6d5645cdf32fff3a3f04817a307b84dd6.tar.gz packages_apps_Browser-9c5004e6d5645cdf32fff3a3f04817a307b84dd6.tar.bz2 |
Improve tab switcher open perf
Bug: 5379115
Change-Id: I5e5bfcfead4c54deb49af94de6f6526bd2710567
Diffstat (limited to 'src/com/android/browser/NavScreen.java')
-rw-r--r-- | src/com/android/browser/NavScreen.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/android/browser/NavScreen.java b/src/com/android/browser/NavScreen.java index 1626183..45b1dcc 100644 --- a/src/com/android/browser/NavScreen.java +++ b/src/com/android/browser/NavScreen.java @@ -109,6 +109,10 @@ public class NavScreen extends RelativeLayout } } + public void refreshAdapter() { + mAdapter.notifyDataSetChanged(); + } + private void init() { LayoutInflater.from(mContext).inflate(R.layout.nav_screen, this); setContentDescription(mContext.getResources().getString( |