Update emoji search index on system locale changes.
This commit is contained in:
parent
8802cebb64
commit
8e2a265cf3
1 changed files with 3 additions and 0 deletions
|
@ -4,10 +4,13 @@ import android.content.BroadcastReceiver;
|
|||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
|
||||
import org.thoughtcrime.securesms.jobs.EmojiSearchIndexDownloadJob;
|
||||
|
||||
public class LocaleChangedReceiver extends BroadcastReceiver {
|
||||
|
||||
@Override
|
||||
public void onReceive(Context context, Intent intent) {
|
||||
NotificationChannels.create(context);
|
||||
EmojiSearchIndexDownloadJob.scheduleImmediately();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue