Open MichaelDevon opened 1 day ago
type: crash
SystemUptimeMs: 231779009
Process: system_server
Build: google/redfin/redfin:14/UP1A.231105.001.B2/2024082200:user/release-keys
Crash-Handler: com.android.internal.os.RuntimeInit$KillApplicationHandler
Loading-Progress: 1.0
Dropped-Count: 0
java.lang.SecurityException: android from uid 1000 not allowed to perform GET_USAGE_STATS
at android.app.AppOpsManager.noteOp(AppOpsManager.java:8920)
at android.app.AppOpsManager.noteOp(AppOpsManager.java:8850)
at com.android.server.usage.StorageStatsService.checkStatsPermission(StorageStatsService.java:223)
at com.android.server.usage.StorageStatsService.enforceStatsPermission(StorageStatsService.java:214)
at com.android.server.usage.StorageStatsService.queryExternalStatsForUser(StorageStatsService.java:528)
at android.app.usage.StorageStatsManager.queryExternalStatsForUser(StorageStatsManager.java:338)
at android.app.usage.StorageStatsManager.queryExternalStatsForUser(StorageStatsManager.java:352)
at com.android.server.storage.FileCollector.getMeasurementResult(FileCollector.java:172)
at com.android.server.storage.DiskStatsLoggingService$LogRunnable.run(DiskStatsLoggingService.java:163)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:305)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
at java.lang.Thread.run(Thread.java:1012)
@zc63w1i3 Not related and Pixel 5 only has legacy extended support now. You need to get an officially support device.
Same here on Pixel 6a with build 2024110700
type: crash
SystemUptimeMs: 76705142
Process: system_server
Timestamp: 2024-11-17 14:00:46.165+0100
Build: google/bluejay/bluejay:15/AP3A.241105.007/2024110700:user/release-keys
Crash-Handler: com.android.internal.os.RuntimeInit$KillApplicationHandler
Loading-Progress: 1.0
Dropped-Count: 0
java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 0
at android.util.SparseArray.valueAt(SparseArray.java:346)
at com.android.server.power.stats.PowerComponentAggregatedPowerStats.addPowerStats(PowerComponentAggregatedPowerStats.java:204)
at com.android.server.power.stats.BinaryStatePowerStatsProcessor.flushPowerStats(BinaryStatePowerStatsProcessor.java:158)
at com.android.server.power.stats.BinaryStatePowerStatsProcessor.start(BinaryStatePowerStatsProcessor.java:93)
at com.android.server.power.stats.PowerStatsAggregator.start(PowerStatsAggregator.java:167)
at com.android.server.power.stats.PowerStatsAggregator.aggregatePowerStats(PowerStatsAggregator.java:74)
at com.android.server.power.stats.PowerStatsScheduler.aggregateAndStorePowerStats(PowerStatsScheduler.java:126)
at com.android.server.power.stats.PowerStatsScheduler.$r8$lambda$GEaV9AQjfxC9uJ1Tfs7f2eF4_H0(PowerStatsScheduler.java:0)
at com.android.server.power.stats.PowerStatsScheduler$$ExternalSyntheticLambda0.run(R8$$SyntheticClass:0)
at android.os.Handler.handleCallback(Handler.java:959)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loopOnce(Looper.java:232)
at android.os.Looper.loop(Looper.java:317)
at android.os.HandlerThread.run(HandlerThread.java:85)