summaryrefslogtreecommitdiffstats
path: root/AndroidManifest.xml
diff options
context:
space:
mode:
authorJin Cao <jinyan@google.com>2014-08-12 18:16:57 -0700
committerJin Cao <jinyan@google.com>2014-08-21 15:23:39 -0700
commitc6801eb828627c37b8992584767c095dfe11df62 (patch)
treeef75cff9964c8cc8c4fbfce495dc5a684b348fef /AndroidManifest.xml
parent28d44b2bec95381693b203f0515218aaf5418f04 (diff)
downloadandroid_packages_apps_UnifiedEmail-c6801eb828627c37b8992584767c095dfe11df62.tar.gz
android_packages_apps_UnifiedEmail-c6801eb828627c37b8992584767c095dfe11df62.tar.bz2
android_packages_apps_UnifiedEmail-c6801eb828627c37b8992584767c095dfe11df62.zip
Quantum search - version 1
I apologize in advance for this huge CL. - New icons (yay!) - Abandon framework search and handle in-app search functionality ourselves. This is made possible because we use Toolbar and can position any custom view on top. - Remove all previous search related attributes, including search providers, searchable, search authority, default search menu item layout, etc. - Cleaned up the recent history provider to contain only the functionalities we need - query, add, and delete. Instead of using the framework to add recent queries, we directly insert into our database. Since the provider no longer needs to extend ContentProvider, removed some unnecessary callbacks such as onCreate. - Custom quantum search views: - Top search bar, this is inserted in a FrameLayout on top of Toolbar. The search bar interacts with the suggestion list and AbstractActivityController via the QuantumSearchViewController interface. - Suggestions list, this is inserted in the FrameLayout that typically contains the main content pane for either one-pane or two-pane layouts. Again, this interacts with the action bar via the controller. - Voice search, this is simply an implicit intent that converts speech to text. b/16518233 Change-Id: I589c40e6c6e3d8c719856b735d0c53e8db986e65
Diffstat (limited to 'AndroidManifest.xml')
-rw-r--r--AndroidManifest.xml11
1 files changed, 2 insertions, 9 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index a8dd8d764..3c5b30e2d 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -43,7 +43,8 @@
android:label="@string/app_name"
android:name=".ui.MailActivity"
android:launchMode="singleTop"
- android:theme="@style/MailActivityTheme" >
+ android:theme="@style/MailActivityTheme"
+ android:windowSoftInputMode="stateHidden">
<intent-filter >
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
@@ -58,7 +59,6 @@
<action android:name="android.intent.action.SEARCH" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
- <meta-data android:name="android.app.searchable" android:resource="@xml/searchable" />
</activity>
<activity android:name=".compose.ComposeActivity"
android:theme="@style/ComposeTheme">
@@ -159,13 +159,6 @@
<grant-uri-permission android:pathPattern=".*" />
</provider>
- <!-- The android:name is the name of the Provider class which is stored in
- UnifiedEmail, and has package name com.android.mail.providers and the class is
- called SuggestionsProvider. The authority name is specified in the MailAppProvider
- which is specific to the two apps separately. -->
- <provider android:name="com.android.mail.providers.SuggestionsProvider"
- android:authorities="com.android.mail.suggestionsprovider" />
-
<service android:name=".compose.EmptyService"/>
<!-- Widget -->