diff options
author | Michael Kolb <kolby@google.com> | 2012-01-19 13:56:00 -0800 |
---|---|---|
committer | Michael Kolb <kolby@google.com> | 2012-05-16 13:01:32 -0700 |
commit | 8d772b03fcfd83cea6ec81c9e826f700fac88b61 (patch) | |
tree | 93897866c00fd2561569af8cf5cf961cdb4db5e7 /src/com/android/browser/BrowserSettings.java | |
parent | 234eadcf7d0dbf2d24f92c24f40343d518f6fe3a (diff) | |
download | packages_apps_Browser-8d772b03fcfd83cea6ec81c9e826f700fac88b61.zip packages_apps_Browser-8d772b03fcfd83cea6ec81c9e826f700fac88b61.tar.gz packages_apps_Browser-8d772b03fcfd83cea6ec81c9e826f700fac88b61.tar.bz2 |
Add setting to control tabs per app behavior
Bug: 5890701
Change-Id: I6a47c7bff260dd8ded3a4c360f186ce8f670c67e
Diffstat (limited to 'src/com/android/browser/BrowserSettings.java')
-rw-r--r-- | src/com/android/browser/BrowserSettings.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/android/browser/BrowserSettings.java b/src/com/android/browser/BrowserSettings.java index 0b7e87a..8dfd4d7 100644 --- a/src/com/android/browser/BrowserSettings.java +++ b/src/com/android/browser/BrowserSettings.java @@ -652,6 +652,10 @@ public class BrowserSettings implements OnSharedPreferenceChangeListener, return mPrefs.getString(PREF_SEARCH_ENGINE, SearchEngine.GOOGLE); } + public boolean allowAppTabs() { + return mPrefs.getBoolean(PREF_ALLOW_APP_TABS, false); + } + public boolean openInBackground() { return mPrefs.getBoolean(PREF_OPEN_IN_BACKGROUND, false); } |