gitofleonardo / ExtClipboardManager

An Extended Clipboard Manager
Apache License 2.0
51 stars 6 forks source link

ExtClipboardManager

GitHub all releases

一个增强的剪切板管理器,起因是我在OPPO开发者平台看到Android13的新功能中有一项是剪切板自动清除的功能,感觉对保护隐私这一方面还是有点益处的,但是又不是很彻底。比如说一个应用可以在剪切板自动清除的这一段时间内反复蹂(qiang)躏(jian)你的剪切板,特别点名国内某些大厂的应用,你不给它读吧,它有时候又是需要的;你给它读吧,你又不知道它除了自己需要的那些数据之外还读了写什么东西,特别是在一些大数据推荐的场景中。

原理

其实就是在ClipboardService启动的时候进行代码注入,在setPrimaryClip等关键方法执行之前或之后进行拦截、标记等处理。

目前功能

注意事项

License

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.