Merge "Enable clipboard auto clear by default" into tm-dev

This commit is contained in:
Ganesh Olekar
2022-02-21 18:09:10 +00:00
committed by Android (Google) Code Review

View File

@@ -389,7 +389,7 @@ public class ClipboardService extends SystemService {
final long oldIdentity = Binder.clearCallingIdentity();
try {
if (DeviceConfig.getBoolean(DeviceConfig.NAMESPACE_CLIPBOARD,
PROPERTY_AUTO_CLEAR_ENABLED, false)) {
PROPERTY_AUTO_CLEAR_ENABLED, true)) {
mClipboardClearHandler.removeEqualMessages(ClipboardClearHandler.MSG_CLEAR,
userId);
Message clearMessage = Message.obtain(mClipboardClearHandler,