made ClipboardManager final

This commit is contained in:
adinilfeld 2020-06-11 09:36:57 -07:00
parent 59e0c10c42
commit 17d1346a8a

View file

@ -90,7 +90,7 @@ public final class ShareUtils {
* @param text the text to copy * @param text the text to copy
*/ */
public static void copyToClipboard(final Context context, final String text) { public static void copyToClipboard(final Context context, final String text) {
ClipboardManager clipboardManager = final ClipboardManager clipboardManager =
(ClipboardManager) context.getSystemService(Context.CLIPBOARD_SERVICE); (ClipboardManager) context.getSystemService(Context.CLIPBOARD_SERVICE);
if (clipboardManager == null) { if (clipboardManager == null) {