Samsung Galaxy J7 Prime 2 - How to fix “com.system.patch” error

Phone: Samsung Galaxy J7 Prime 2
Factory OS: Android 7 (Nougat)
Have you updated your Operating System?
Then view tips for the most recent OS version(s): Android 9 (Pie) & Android 8 (Oreo)
Or view tips for all Android versions
Factory OS: Android 7 (Nougat)
Have you updated your Operating System?
Then view tips for the most recent OS version(s): Android 9 (Pie) & Android 8 (Oreo)
Or view tips for all Android versions
How to fix “com.system.patch” error
If you see the following error:
com.system.patch error
Then pull down your notification menu and choose Settings.
Then, select Lock screen and security – Other security settings – Device Administrator.
On the next screen, uncheck com.system.patch
Now, go to your App Manager and you should be able to uninstall it.