com.huawei.systemmanager/com.huawei.systemmanager.optimize.process.ProtectActivity}; have you declared this activity in your AndroidManifest.xml?
I am getting this error on my huawei nexus 6p while putting the app in protected apps list. "UncaughtException: android.content.ActivityNotFoundException: Unable to find explicit activity class {com.huawei.systemmanager/com.huawei.systemmanager.optimize.process.ProtectActivity}; have you declared this activity in your AndroidManifest.xml?" and i am using this code to put the app in protected apps list if ("huawei".equalsIgnoreCase(Build.MANUFACTURER) && !settingsManager.getKeyStateProtectedApp()) { AlertDialog.Builder builder = new AlertDialog.Builder(this); builder.setTitle("Is app killing?")
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.