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

Commit 7e51efa1 authored by Haofan Wang's avatar Haofan Wang
Browse files

Fix PictureProfileHandle.getId() null exception

Bug: 419547720
Test: Gambit and checked the log file
Flag: EXEMPT bugfix
Change-Id: I3f664916fd12b34d90f322d0eac1ba9e9cd0d24f
parent 93e625b0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -316,7 +316,7 @@ public class MediaQualityService extends SystemService {
                            value, pp, callingUid, callingPid);
                    if (isPackageDefaultPictureProfile(pp)) {
                        mPackageDefaultPictureProfileHandleMap.put(
                                pp.getPackageName(), pp.getHandle().getId());
                                pp.getPackageName(), id);
                    }
                }
            });