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

Commit 46091cd4 authored by Winson Chung's avatar Winson Chung
Browse files

Ensure we copy all ActivityInfo fields in the copy constructor

Bug: 434224781
Flag: EXEMPT bugfix
Test: atest ActivityInfoTest
Change-Id: I56faf853f0841e90b441036dffac7e9d0f2f18a4
parent fd0997af
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1892,6 +1892,8 @@ public class ActivityInfo extends ComponentInfo implements Parcelable {
        supportsSizeChanges = orig.supportsSizeChanges;
        requiredDisplayCategory = orig.requiredDisplayCategory;
        requireContentUriPermissionFromCaller = orig.requireContentUriPermissionFromCaller;
        launchToken = orig.launchToken;
        persistableMode = orig.persistableMode;
    }

    /**