Loading core/java/android/content/ContentCaptureOptions.java +2 −1 Original line number Diff line number Diff line Loading @@ -134,7 +134,8 @@ public final class ContentCaptureOptions implements Parcelable { final String packageName = at.getApplication().getPackageName(); if (!"android.contentcaptureservice.cts".equals(packageName)) { if (!"android.contentcaptureservice.cts".equals(packageName) && !"android.translation.cts".equals(packageName)) { Log.e(TAG, "forWhitelistingItself(): called by " + packageName); throw new SecurityException("Thou shall not pass!"); } Loading Loading
core/java/android/content/ContentCaptureOptions.java +2 −1 Original line number Diff line number Diff line Loading @@ -134,7 +134,8 @@ public final class ContentCaptureOptions implements Parcelable { final String packageName = at.getApplication().getPackageName(); if (!"android.contentcaptureservice.cts".equals(packageName)) { if (!"android.contentcaptureservice.cts".equals(packageName) && !"android.translation.cts".equals(packageName)) { Log.e(TAG, "forWhitelistingItself(): called by " + packageName); throw new SecurityException("Thou shall not pass!"); } Loading