made ClipboardManager final
This commit is contained in:
parent
59e0c10c42
commit
17d1346a8a
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue