Merge "Fix-up starting style&wallpaper from search" into main
This commit is contained in:
@@ -17,7 +17,6 @@
|
|||||||
package com.android.settings.wallpaper;
|
package com.android.settings.wallpaper;
|
||||||
|
|
||||||
import android.app.WallpaperManager;
|
import android.app.WallpaperManager;
|
||||||
import android.content.ComponentName;
|
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.content.Intent;
|
import android.content.Intent;
|
||||||
|
|
||||||
@@ -81,10 +80,9 @@ public class WallpaperSuggestionActivity extends StyleSuggestionActivityBase imp
|
|||||||
SearchIndexableRaw data = new SearchIndexableRaw(context);
|
SearchIndexableRaw data = new SearchIndexableRaw(context);
|
||||||
data.title = controller.getTitle();
|
data.title = controller.getTitle();
|
||||||
data.screenTitle = data.title;
|
data.screenTitle = data.title;
|
||||||
ComponentName component = controller.getComponentName();
|
data.intentTargetPackage = context.getPackageName();
|
||||||
data.intentTargetPackage = component.getPackageName();
|
data.intentTargetClass = WallpaperSuggestionActivity.class.getName();
|
||||||
data.intentTargetClass = component.getClassName();
|
data.intentAction = Intent.ACTION_MAIN;
|
||||||
data.intentAction = controller.getComponentActionName();
|
|
||||||
data.key = SUPPORT_SEARCH_INDEX_KEY;
|
data.key = SUPPORT_SEARCH_INDEX_KEY;
|
||||||
data.keywords = controller.getKeywords();
|
data.keywords = controller.getKeywords();
|
||||||
result.add(data);
|
result.add(data);
|
||||||
|
Reference in New Issue
Block a user