The question is not about the setting menu.
Even though user disable the unknown source of the settings, the warning popup is not occurred when user download and install the apps from app stores other than Play Stores. I wonder how Google know these app stores are trusted.