Loading packages/SystemUI/src/com/android/systemui/clipboardoverlay/ClipboardOverlayController.java +5 −4 Original line number Diff line number Diff line Loading @@ -635,12 +635,13 @@ public class ClipboardOverlayController { } private Intent getRemoteCopyIntent(ClipData clipData) { String remoteCopyPackage = mContext.getString(R.string.config_remoteCopyPackage); if (TextUtils.isEmpty(remoteCopyPackage)) { return null; } Intent nearbyIntent = new Intent(REMOTE_COPY_ACTION); String remoteCopyPackage = mContext.getString(R.string.config_remoteCopyPackage); if (!TextUtils.isEmpty(remoteCopyPackage)) { nearbyIntent.setComponent(ComponentName.unflattenFromString(remoteCopyPackage)); } nearbyIntent.setClipData(clipData); nearbyIntent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); nearbyIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK); Loading Loading
packages/SystemUI/src/com/android/systemui/clipboardoverlay/ClipboardOverlayController.java +5 −4 Original line number Diff line number Diff line Loading @@ -635,12 +635,13 @@ public class ClipboardOverlayController { } private Intent getRemoteCopyIntent(ClipData clipData) { String remoteCopyPackage = mContext.getString(R.string.config_remoteCopyPackage); if (TextUtils.isEmpty(remoteCopyPackage)) { return null; } Intent nearbyIntent = new Intent(REMOTE_COPY_ACTION); String remoteCopyPackage = mContext.getString(R.string.config_remoteCopyPackage); if (!TextUtils.isEmpty(remoteCopyPackage)) { nearbyIntent.setComponent(ComponentName.unflattenFromString(remoteCopyPackage)); } nearbyIntent.setClipData(clipData); nearbyIntent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); nearbyIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK); Loading