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

Commit f3b97344 authored by yuemingw's avatar yuemingw Committed by Yueming Wang
Browse files

Intent.ACTION_AIRPLANE_MODE_CHANGED should have a boolean extra.

Bug: 76468718
Test: run cts --module CtsDevicePolicyManagerTestCases --test com.android.cts.devicepolicy.DeviceOwnerTest#testAirplaneModeRestriction
Change-Id: Iec208f744b80e48e29f5a38ee88613e19f0d01b3
parent 8dfb3342
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -559,7 +559,7 @@ public class UserRestrictionsUtils {
                                    android.provider.Settings.Global.AIRPLANE_MODE_ON, 0);
                            // Post the intent.
                            Intent intent = new Intent(Intent.ACTION_AIRPLANE_MODE_CHANGED);
                            intent.putExtra("state", 0);
                            intent.putExtra("state", false);
                            context.sendBroadcastAsUser(intent, UserHandle.ALL);
                        }
                    }