Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 06b5b015 authored by android-build-team Robot's avatar android-build-team Robot
Browse files

Snap for 4410151 from 62731397 to pi-release

Change-Id: I52bebfc25b4b9681b9ead035f911f1759affad53
parents 73cafdd4 62731397
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -47,6 +47,11 @@ public class SuggestionService extends android.service.settings.suggestions.Sugg
                .markSuggestionDismissed(this /* context */, id);
    }

    @Override
    public void onSuggestionLaunched(Suggestion suggestion) {
        Log.d(TAG, "Suggestion launched" + suggestion.getId());
    }

    public static SharedPreferences getSharedPrefs(Context context) {
        return context.getApplicationContext()
                .getSharedPreferences(SHARED_PREF_FILENAME, Context.MODE_PRIVATE);