Hey guys!
Ever since the Android 13 update, I haven't been able to use Whatsapp in any work or user profiles. It'll go through the install and setup process just fine, but once that's done, it will just crash. (Pasted the crash report at the end of the post)
Any ideas as to what might be causing it? Seems to be some sort of permissions issue with the "calling identity", but I've tried giving Whatsapp all the permissions in both the work profile and user profile cases with no success. Is there something I'm missing when setting up these profiles?
I've factory reset my phone (Pixel 4) in hopes of resolving the issue, but the crashes still persist. I have found that Whatsapp does work in the main profile... However, I'd rather keep it in a work or separate user profile. I'd appreciate any help or ideas if you have any! :)
--
type: crash
osVersion: google/flame/flame:13/TP1A.220624.014/2022082400:user/release-keys
package: com.whatsapp:221776004
process: com.whatsapp
java.lang.SecurityException: Calling identity is not authorized
at android.os.Parcel.createExceptionOrNull(Parcel.java:3012)
at android.os.Parcel.createException(Parcel.java:2996)
at android.os.Parcel.readException(Parcel.java:2979)
at android.os.Parcel.readException(Parcel.java:2921)
at android.net.INetworkStatsService$Stub$Proxy.openSessionForUsageStats(INetworkStatsService.java:469)
at android.app.usage.NetworkStats.<init>(NetworkStats.java:111)
at android.app.usage.NetworkStatsManager.querySummary(NetworkStatsManager.java:424)
at android.app.usage.NetworkStatsManager.querySummary(NetworkStatsManager.java:397)
at X.0IW.A03(:56706)
at X.0IW.A02(:56702)
at X.04h.A02(:21821)
at X.04i.A02(:21863)
at X.04j.<init>(:21877)
at com.facebook.redex.RunnableBRunnable0Shape1S0200000_I0_1.run(:491918)
at com.whatsapp.util.RunnableTRunnableShape13S0200000_I0.run(:481553)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
at com.facebook.redex.RunnableBRunnable0Shape8S0200000_I0_8.run(:483739)
at java.lang.Thread.run(Thread.java:1012)
Caused by: android.os.RemoteException: Remote stack trace:
at com.android.internal.util.Preconditions.checkCallAuthorization(Preconditions.java:247)
at com.android.server.devicepolicy.DevicePolicyManagerService.getProfileOwnerAsUser(DevicePolicyManagerService.java:9221)
at android.app.admin.DevicePolicyManager.isProfileOwnerApp(DevicePolicyManager.java:9198)
at android.net.NetworkStatsAccess.checkAccessLevel(NetworkStatsAccess.java:145)
at com.android.server.net.NetworkStatsService.checkAccessLevel(NetworkStatsService.java:1523)