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

Commit b559e75d authored by Mathew Inwood's avatar Mathew Inwood
Browse files

Use commas to separate API exemptions list, not colon.

A colon appears in the type signature of a field, so is not safe to use in
this context.

Test: m
Test: $ adb shell settings put global hidden_api_blacklist_exemptions \
Test: > Landroid/app/Activity;->mResumed:Z,Landroid/view/RemoteAnimationDefinition\\\;

Bug: 73337509

(cherry picked from commit 51a1d445)

Merged-In: Ia9171fecc9c3ed265b87921b31458de25304486e
Change-Id: I112db6bf0a54dbf7c7e229eb18f29d5034d42e10
parent 8faeab87
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2908,7 +2908,7 @@ public class ActivityManagerService extends IActivityManager.Stub
                    mBlacklistDisabled = false;
                    mExemptions = TextUtils.isEmpty(exemptions)
                            ? Collections.emptyList()
                            : Arrays.asList(exemptions.split(":"));
                            : Arrays.asList(exemptions.split(","));
                }
                zygoteProcess.setApiBlacklistExemptions(mExemptions);
            }