Fix the parceling of the ServiceStartArgs

Bug: 283391058
Test: atest CtsAppTestCases:ServiceTest
Change-Id: Ifd95f0eccc0d2a960efee26d9af337352b5187c7
This commit is contained in:
Jing Ji
2023-05-19 03:11:33 -07:00
parent d28b311abf
commit 00c648d075

View File

@@ -49,7 +49,7 @@ public class ServiceStartArgs implements Parcelable {
public void writeToParcel(Parcel out, int flags) {
out.writeInt(taskRemoved ? 1 : 0);
out.writeInt(startId);
out.writeInt(flags);
out.writeInt(this.flags);
if (args != null) {
out.writeInt(1);
args.writeToParcel(out, 0);