parent
							
								
									0d8018b10e
								
							
						
					
					
						commit
						d7fb1e0044
					
				@ -266,6 +266,7 @@ public class AppListActivity extends AppCompatActivity implements LoaderManager.
 | 
				
			|||||||
    public void onSearchTermsChanged(@Nullable String category, @NonNull String searchTerms) {
 | 
					    public void onSearchTermsChanged(@Nullable String category, @NonNull String searchTerms) {
 | 
				
			||||||
        this.category = category;
 | 
					        this.category = category;
 | 
				
			||||||
        this.searchTerms = searchTerms;
 | 
					        this.searchTerms = searchTerms;
 | 
				
			||||||
 | 
					        appView.scrollToPosition(0);
 | 
				
			||||||
        getSupportLoaderManager().restartLoader(0, null, this);
 | 
					        getSupportLoaderManager().restartLoader(0, null, this);
 | 
				
			||||||
        if (TextUtils.isEmpty(searchTerms)) {
 | 
					        if (TextUtils.isEmpty(searchTerms)) {
 | 
				
			||||||
            removeSavedSearchSettings(this, SEARCH_TERMS_KEY);
 | 
					            removeSavedSearchSettings(this, SEARCH_TERMS_KEY);
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user