Requesting Android M permissions from Activity with noHistory=“true” and/or showOnLockScreen=“true”
问题 I'm working on a video calling app and I have an 'incoming call' screen which alerts the user when someone is calling them. This screen is an Activity triggered by an incoming GCM and has noHistory="true" and showOnLockScreen="true" set in the manifest so that the user can engage in calls without having to unlock their device. If the user chooses to accept the call, I launch another activity to engage in the actual call. However, before I launch the second activity I check that the necessary