Android LocalBroadcastManager提高应用安全性

官方文档解释:Helper to register for and send broadcasts of Intents to local objects within your process. This is has a number of advantages over sending global broadcasts withContext.sendBroadcast(android.content.Intent):You know that the data you are broadcasting won’t leave your app, so don’t need to worry about leaking private data.It is not possible for other applications to send these broadcasts to your app, so you don’t need to worry about having security holes they can exploit.It is more efficient than sending a global broadcast through the system.

意义是:翻译下,1、你正在发送的数据不会超出你的应用,所以不用担心泄露应用私有数据。

,经历一种身体下了地狱,眼睛进入天堂,灵魂归入故里。

Android LocalBroadcastManager提高应用安全性

相关文章:

你感兴趣的文章:

标签云: