OSDN Git Service

[CMFileManager] Always display searching progress after back to the search result...
authorjing.zhao <jing.zhao@ck-telecom.com>
Wed, 15 Apr 2015 10:13:28 +0000 (18:13 +0800)
committerMartin Brabham <mbrabham@cyngn.com>
Wed, 15 Apr 2015 18:53:26 +0000 (18:53 +0000)
1.Go into the root directory, click the search icon and input the directory name(Such as: dlt).
2.In Search results view, you can see the dlt directory, then click the directory.
3.press back key, back to the Search results view, the lower right corner's searching progress has always show.

After Seaching, the searching progress shouldn't show.

Change-Id: Id1a3291effcebcd7c9536dec74175d6d019e83f1
(cherry picked from commit 37e947a354edad76d4e91258b535c4658b54e2e9)

src/com/cyanogenmod/filemanager/activities/SearchActivity.java

index f89c2ee..66218bc 100644 (file)
@@ -877,6 +877,8 @@ public class SearchActivity extends Activity
                     SearchActivity.this.mQuery = query;
                     SearchActivity.this.mSearchDirectory = mRestoreState.getSearchDirectory();
 
+                    mStreamingSearchProgress.setVisibility(View.INVISIBLE);
+
                 } catch (Throwable ex) {
                     //Capture the exception
                     ExceptionUtil.translateException(SearchActivity.this, ex);