Loading core/java/android/app/AppOpsManager.java +5 −5 Original line number Diff line number Diff line Loading @@ -7459,15 +7459,15 @@ public class AppOpsManager { } /** * Similar to {@link #onOpChanged(String, String, int)} but includes the device for which * the op mode has changed. * Similar to {@link #onOpChanged(String, String)} but includes user and the device for * which the op mode has changed. * * <p> Implement this method if callbacks are required on all devices. * If not implemented explicitly, the default implementation will notify for op changes * on the default device {@link VirtualDeviceManager#PERSISTENT_DEVICE_ID_DEFAULT} only. * on the default device only. * * <p> If implemented, {@link #onOpChanged(String, String, int)} * will not be called automatically. * <p> If implemented, {@link #onOpChanged(String, String)} will not be called * automatically. * * @param op The Op that changed. * @param packageName Package of the app whose Op changed. Loading Loading
core/java/android/app/AppOpsManager.java +5 −5 Original line number Diff line number Diff line Loading @@ -7459,15 +7459,15 @@ public class AppOpsManager { } /** * Similar to {@link #onOpChanged(String, String, int)} but includes the device for which * the op mode has changed. * Similar to {@link #onOpChanged(String, String)} but includes user and the device for * which the op mode has changed. * * <p> Implement this method if callbacks are required on all devices. * If not implemented explicitly, the default implementation will notify for op changes * on the default device {@link VirtualDeviceManager#PERSISTENT_DEVICE_ID_DEFAULT} only. * on the default device only. * * <p> If implemented, {@link #onOpChanged(String, String, int)} * will not be called automatically. * <p> If implemented, {@link #onOpChanged(String, String)} will not be called * automatically. * * @param op The Op that changed. * @param packageName Package of the app whose Op changed. Loading