Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e423bde5 authored by Edward Cunningham's avatar Edward Cunningham
Browse files

Enable experimental toast for clipboard access.

Can be disabled via:

adb shell settings put global clipboard_access_toast_enabled 0

Bug: 167676460
Test: Manual, copying/pasting between apps and users.
Change-Id: Ie29aaeb917689b7a9e8a25e62259914504eee5cd
parent b96d25ba
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -836,7 +836,7 @@ public class ClipboardService extends SystemService {
            return;
        }
        if (Settings.Global.getInt(getContext().getContentResolver(),
                "clipboard_access_toast_enabled", 0) == 0) {
                "clipboard_access_toast_enabled", 1) == 0) {
            return;
        }
        // Don't notify if the app accessing the clipboard is the same as the current owner.