derohimat / KioskMode-Android

Screen Pinning Android Lollipop with enable Device Administrator without Root needed
72 stars 22 forks source link

enable setLockTaskPackages whitelist #3

Open Qking521 opened 3 years ago

Qking521 commented 3 years ago

only set setLockTaskPackages doesn't work. need config android:lockTaskMode="if_whitelisted" in AndroidManifest.xml <activity android:name=".MainActivity" android:lockTaskMode="if_whitelisted" </activity>

alexfuser commented 2 years ago

@Qking521 Where does this code line go?