Is selectively enabling an activity-alias in the manifest with android:enabled=“@bool/tablet” or “@bool/phone” supported?
问题 To avoid some Tablet/Phone wiring, I want my app to issue itself an intent via an activity-alias, and make the manifest system deliver it to the main activity (for tablet) or a new activity (for phone). If I have this in my manifest: <activity-alias android:name="my.app.WebContent" android:targetActivity="my.app.activities.Home"/> then all is well, and Intent { act=android.intent.action.VIEW dat=http://www.app.my/url cmp=my.app/.WebContent (has extras) } is delivered as expected. If, however,