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

Commit ee589b93 authored by Jack Yu's avatar Jack Yu
Browse files

Tempering Network Country Iso Without Permission

make COUNTRY_OVERRIDE protected broadcast so that
other apps could not temper network country ISO
by this broadcast.

Bug: 162740781
Test: am broadcast -a com.android.internal.telephony.action.COUNTRY_OVERRIDE --es country ca
Change-Id: I6ad05479974c256418b3b1cd55c374a4b50572e5
parent f2386bbd
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -86,10 +86,12 @@ public class LocaleTracker extends Handler {
     * <p> This broadcast is not effective on user build.
     *
     * <p>Example: To override the current country <code>
     * adb root
     * adb shell am broadcast -a com.android.internal.telephony.action.COUNTRY_OVERRIDE
     * --es country us </code>
     *
     * <p> To remove the override <code>
     * adb root
     * adb shell am broadcast -a com.android.internal.telephony.action.COUNTRY_OVERRIDE
     * --ez reset true</code>
     */