TV: Fix launch for "Deny Anyway" permission dialog
Previously the dialog was not showing up at all and the parent was dismissing itself. We can't use getChildFragmentManager() for this and need to set the parent view as a target fragment instead. We exit the permission setting sub-screen once we get the state change callback, either from feedback loop on the model or indirectly from the dialog changing something. If there is no change, we stay on the same screen. Test: atest android.permission3.cts Test: atest android.permission2.cts Test: atest android.permission.cts Test: atest android.os.cts.AutoRevokeTest Bug: 155356284 Change-Id: I3af8f2a6eb4cd85447684c5930249c93a5c84d1e
Loading
Please register or sign in to comment