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/BaseUi.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/BaseUi.java')
-rw-r--r-- | src/com/android/browser/BaseUi.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/com/android/browser/BaseUi.java b/src/com/android/browser/BaseUi.java index ed21b20..26f90b6 100644 --- a/src/com/android/browser/BaseUi.java +++ b/src/com/android/browser/BaseUi.java @@ -801,16 +801,19 @@ public abstract class BaseUi implements UI { mHandler.sendMessageDelayed(msg, duration); } - private Handler mHandler = new Handler() { + protected Handler mHandler = new Handler() { @Override public void handleMessage(Message msg) { if (msg.what == MSG_HIDE_TITLEBAR) { suggestHideTitleBar(); } + BaseUi.this.handleMessage(msg); } }; + protected void handleMessage(Message msg) {} + @Override public void showWeb(boolean animate) { mUiController.hideCustomView(); |