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

Skip to content
Commit a9139bc7 authored by Sehee Park's avatar Sehee Park
Browse files

Add checking permission at the setDataSaverModeEnabled()



Add calling enforceCallingOrSelfPermission() to check
for NETWORK_SETTINGS permission at the setDataSaverModeEnabled().
When an application calls for setDataSaverModeEnabled() passing a true
parameter, the access to Internet from mobile data became unavailable.

Test: Run test app to call setDataSaverModeEnabled() with a true parameter.
Test: Check the access to Internet from mobile data is available.
Change-Id: I14af89923e61d81355052704081edf121ef7d06d
Signed-off-by: default avatarSehee Park <sehee32.park@samsung.com>
parent 0d75603e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment