I am playing around with the com.samsung.knox.example.gettingstarted
app. I gained the developer license from the KNOX portal to do so.
I installed two versions (under different application IDs) of the app on my Samsung device with Android 13:
restrictionPolicy.allowSafeMode(false)
restrictionPolicy.isSafeModeAllowed()
returns false
(as expected)restrictionPolicy.allowSafeMode(true)
restrictionPolicy.isSafeModeAllowed()
returns false
(I assumed true
)Questions
KNOX Tech Support told me "the stronger policy will take precedent". Example
In my case restrictionPolicy.allowSafeMode(false)
is the stronger policy among two.