commit | f1e8e4c766bd3d0092842f863adbda333f80d898 | [log] [tgz] |
---|---|---|
author | Sudheer Shanka <sudheersai@google.com> | Tue Aug 06 10:31:55 2024 -0700 |
committer | Sudheer Shanka <sudheersai@google.com> | Tue Aug 06 11:34:30 2024 -0700 |
tree | aa4f9a3da7b42efbfe59906785759c3b92b4aade | |
parent | c7e9cca6d3a93f8cf6048909fddfa3cfb6316fe0 [diff] |
Verify arguments passed are non-null. We should verify they are non-null before handing them off to other threads to avoid crashing the system_server process. Bug: 356731520 Test: atest services/tests/powerstatstests/src/com/android/server/powerstats/PowerStatsServiceTest.java Flag: com.android.server.powerstats.verify_non_null_arguments Change-Id: I5b0cbf86976e74fd01e3d70ac01a03398ecdaa56