Add more switches to enable/disable carrier features
Add bools to enable/disable the following carrier specific features:
- Exit menu item with 'Minimize or quit' dialog
- Display page title instead of URL in URL bar
- Allow users to provide custom download path
Add method to detect if a carrier specific feature is enabled.
Change-Id: I9db1b16afd14e476de474e8c86bd60ba1a450aba
diff --git a/res/menu/browser.xml b/res/menu/browser.xml
index 67915fe..af57357 100644
--- a/res/menu/browser.xml
+++ b/res/menu/browser.xml
@@ -102,15 +102,10 @@
android:id="@+id/preferences_menu_id"
android:title="@string/menu_preferences"
android:alphabeticShortcut="p" />
-
- <group
- android:id="@+id/QRD_MENU"
- android:visible="false">
- <item
- android:id="@+id/exit_menu_id"
- android:title="@string/exit" />
- </group>
-
+ <item
+ android:id="@+id/exit_menu_id"
+ android:visible="@bool/feature_exit_dialog"
+ android:title="@string/exit" />
<item
android:id="@+id/about_menu_id"
android:title="@string/about" />