Add interface tempAllowWhileInUsePermissionInFgs() to
ActivityManagerInternal. So Telecomm can potentially call tempAllowWhileInUsePermissionInFgs() to allow a FGS started for incoming call to have a while-in-use permission. Previously tempAllowWhileInUsePermissionInFgs() is an interface in ActivityManagerLocal, because Telecomm is in packages/services/Telecomm directory, it has difficulty to call ActivityManagerLocal interfaces. Add tempAllowWhileInUsePermissionInFgs() to ActivityManagerInternal is the easiest workaround. Bug: 270966067 Test: build and run. Change-Id: I1112ec2b9d4d4a273f47d7d9abae1bd91f2987c2
Loading
Please register or sign in to comment