Limit number of contacts for Android's "Quick Share"
Work around a bug in Android which lead to very non recent contacts showing up in Android's "Quick Share" overlay. Also increase privacy by leaking less conversation names to the Android UI. Fixes #13398 Resolves #13718
This commit is contained in:
parent
a3e05f4a75
commit
c5a13b392b
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ public final class ConversationUtil {
|
|||
}
|
||||
|
||||
public static int getMaxShortcuts(@NonNull Context context) {
|
||||
return Math.min(ShortcutManagerCompat.getMaxShortcutCountPerActivity(context), 150);
|
||||
return Math.min(ShortcutManagerCompat.getMaxShortcutCountPerActivity(context), 10);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue