1.exported 属性知识
- android:exported 是 Android中的四大组件 Activity,Service,Provider,Receiver 四大组件中都会有的一个属性。
- android:exported 代表是否能被其他应用隐式调用。
- true允许被启动,false不允许被启动。
- android:exported 默认值是由有无intent-filter决定的,如果有intent-filter,默认值为true,否则为false。
- android:exported = false的情况下,这个Activity将只会被当前Application或者拥有同样user ID的Application的组件调用,对于其他应用,即使有intent-filter匹配,也无法打开,即无法被其他应用隐式调用。
2.Application allowBackup属性
一文带你全面了解Android Backup功能
3.configChanges 属性
网友评论