mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 04:41:11 +00:00
Bug 1932175 - Use android.content.extra.IS_SENSITIVE instead of ClipDescription.EXTRA_IS_SENSITIVE. r=m_kato,geckoview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D229629
This commit is contained in:
parent
3c89951723
commit
449013faa3
@ -171,7 +171,7 @@ public final class Clipboard {
|
||||
(ClipboardManager) context.getSystemService(Context.CLIPBOARD_SERVICE);
|
||||
if (isPrivateData && Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) {
|
||||
final PersistableBundle extras = new PersistableBundle();
|
||||
extras.putBoolean(ClipDescription.EXTRA_IS_SENSITIVE, true);
|
||||
extras.putBoolean("android.content.extra.IS_SENSITIVE", true);
|
||||
clipData.getDescription().setExtras(extras);
|
||||
}
|
||||
try {
|
||||
|
Loading…
Reference in New Issue
Block a user