mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2025-08-30 17:37:56 +00:00
made ClipboardManager final
This commit is contained in:
@@ -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) {
|
||||||
|
Reference in New Issue
Block a user