Create a token for the AttributionSource ACameraManager passes to connectDevice
If an AttributionSource does not have a token, data delivery permission checks fail with "Attempt to invoke interface method 'void android.os.IBinder.linkToDeath(android.os.IBinder$DeathRecipient, int)' on a null object reference" due to the null binder. Create a token before passing it to connectDevice. Bug: 190657833 Flag: com.android.internal.camera.flags.data_delivery_permission_checks Test: Ran new CameraPermissionTest for ndk clients. Change-Id: Id7f173ae155b26c723c39cccc8fcbbdc482479a3
Loading
Please register or sign in to comment