Error prone checks for mutability flags on PI
Add a mutability flag check for all method calls that create a PendingIntent. Bug: 160794467 Test: atest error_prone_android_framework_test:com.google.errorprone.bugpatterns.android.PendingIntentMutabilityCheckerTest Change-Id: I26a51a6dddb2793e9a56e72876f3f9d2aea4e3fb
Showing
- errorprone/java/com/google/errorprone/bugpatterns/android/PendingIntentMutabilityChecker.java 81 additions, 0 deletions...e/bugpatterns/android/PendingIntentMutabilityChecker.java
- errorprone/tests/java/com/google/errorprone/bugpatterns/android/PendingIntentMutabilityCheckerTest.java 292 additions, 0 deletions...gpatterns/android/PendingIntentMutabilityCheckerTest.java
- errorprone/tests/res/android/app/PendingIntent.java 69 additions, 0 deletionserrorprone/tests/res/android/app/PendingIntent.java
- errorprone/tests/res/android/content/Intent.java 20 additions, 0 deletionserrorprone/tests/res/android/content/Intent.java
- errorprone/tests/res/android/os/Bundle.java 20 additions, 0 deletionserrorprone/tests/res/android/os/Bundle.java
errorprone/tests/res/android/os/Bundle.java
0 → 100644
Please register or sign in to comment