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

Commit 48db58e7 authored by Jared Duke's avatar Jared Duke
Browse files

Add flag for guarding StrictMode network restriction APIs

Add "strict_mode_restricted_network" as a new flag in the
"backstage_power" namespace. This will be used for guarding a new set of
StrictMode APIs for assisting developers in detecting otherwise
restricted background/service network access.

Bug: 317250784
Test: presubmit (flag is currently unused)
Change-Id: Idb1eacd602f1c1a26da38de54de0c5db0aa0cef3
parent 2619e670
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -91,3 +91,10 @@ flag {
    is_fixed_read_only: true
    bug: "315037695"
}

flag {
    name: "strict_mode_restricted_network"
    namespace: "backstage_power"
    description: "Guards StrictMode APIs for detecting restricted network access."
    bug: "317250784"
}