Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit af3fd5e5 authored by Szu-An Lu's avatar Szu-An Lu
Browse files

[MQ] Fix NPE on getDefaultPictureProfileHandleValue

After ag/34015918, calling package without permission will get null
result when calling getDefaultPictureProfile. This will stops apps using
MediaCodec to fetch default picture profile fallback to use global
default picture profile.

Use default profile id saved in mPictureProfileSharedPreference to avoid
permission requirement for general playback apps.

Flag: EXEMPT bug fix
Bug: 426480778
Test: play video content on 3P app and check global default is used
Change-Id: I263441ee52e8a311e7ae27dc084e18b1aabc2d56
parent 3cb9dadd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment