1、android:exported="true|false"
四大组件都有该属性,需在清单文件配置,用于规定该组件是否能被外部程序访问,为true则可被外部程序访问,为false则不能。
为明确设置该属性情况下,如果组件含有intent-filter,则默认为true; 不含有intent-filter,则默认为false.
1、android:exported="true|false"
四大组件都有该属性,需在清单文件配置,用于规定该组件是否能被外部程序访问,为true则可被外部程序访问,为false则不能。
为明确设置该属性情况下,如果组件含有intent-filter,则默认为true; 不含有intent-filter,则默认为false.