1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-29 13:26:50 +01:00

Do not transliterate phone numbers and iconIds

In case of icon Ids this even leads to a crash :/
Fixes #2517
This commit is contained in:
Andreas Shimokawa 2021-12-20 16:52:55 +01:00
parent 56a552ac44
commit 0906f150bd

View File

@ -53,14 +53,11 @@ public class GBDeviceService implements DeviceService {
protected final Context mContext; protected final Context mContext;
private final Class<? extends Service> mServiceClass; private final Class<? extends Service> mServiceClass;
public static final String[] transliterationExtras = new String[]{ public static final String[] transliterationExtras = new String[]{
EXTRA_NOTIFICATION_PHONENUMBER,
EXTRA_NOTIFICATION_SENDER, EXTRA_NOTIFICATION_SENDER,
EXTRA_NOTIFICATION_SUBJECT, EXTRA_NOTIFICATION_SUBJECT,
EXTRA_NOTIFICATION_TITLE, EXTRA_NOTIFICATION_TITLE,
EXTRA_NOTIFICATION_BODY, EXTRA_NOTIFICATION_BODY,
EXTRA_NOTIFICATION_SOURCENAME, EXTRA_NOTIFICATION_SOURCENAME,
EXTRA_NOTIFICATION_ICONID,
EXTRA_CALL_PHONENUMBER,
EXTRA_CALL_DISPLAYNAME, EXTRA_CALL_DISPLAYNAME,
EXTRA_MUSIC_ARTIST, EXTRA_MUSIC_ARTIST,
EXTRA_MUSIC_ALBUM, EXTRA_MUSIC_ALBUM,