(2/N)[MediaProjection] Show dialog when token is reused
Validate if the IMediaProjection token (representing the user's consent) is used to get more than one MediaProjection instance, or if client app is trying to invoke MediaProjection#createVirtualDisplay more than once. Re-show the permission dialog for target SDK below U. Follow-on CLs will: * Black out recording when waiting for consent Bug: 274790702 Test: atest FrameworksServicesTests:MediaProjectionManagerServiceTest Change-Id: I30c96d9a9afd69fba29314caeeb867f665bb83ad
Loading
Please register or sign in to comment