1. Are you ready for the Galaxy S20? Here is everything we know so far!

How to stop user changing wallpaper on android

Discussion in 'Android Development' started by mohammad amin abbasfar, Dec 24, 2021.

  1. mohammad amin abbasfar

    Thread Starter

    I want to restrict user access to change wallpaper in android studio. I have tried this:

    final String DISALLOW_SET_WALLPAPER="true";

    but it did not work at all.
     


    #1 mohammad amin abbasfar, Dec 24, 2021
    Last edited: Dec 24, 2021

    1. Download the Forums for Android™ app!


      Download

       
  2. Unforgiven

    Unforgiven ...eschew obfuscation...
    Moderator

    I don't think you can set OS level permissions from within an app.
     
    Dannydet, kate and ocnbrze like this.
  3. Qasa234

    Qasa234 Lurker

    hi did you get any solution for your question?
     
Loading...
Similar Threads - stop user changing
  1. DerellLicht
    Replies:
    16
    Views:
    666
  2. MoodyBlues
    Replies:
    8
    Views:
    529
  3. Kuanyin
    Replies:
    3
    Views:
    441
  4. Douchebert
    Replies:
    2
    Views:
    446
  5. Jaymzb0nd
    Replies:
    5
    Views:
    1,862
  6. djfro
    Replies:
    8
    Views:
    756
  7. Sebastien Michaud
    Replies:
    4
    Views:
    593
  8. Loka973
    Replies:
    7
    Views:
    1,052
  9. ianmacdo
    Replies:
    3
    Views:
    745
  10. Steve horton
    Replies:
    0
    Views:
    1,025

Share This Page

Loading...