Skip to content

Commit

Permalink
Merge "Fix Talkback Shortcut Vulnerability" into main
Browse files Browse the repository at this point in the history
  • Loading branch information
ijuhoor authored and Android (Google) Code Review committed Jun 10, 2024
2 parents 6f5a4cd + 1d1cef1 commit 6052526
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ private void logStemTriplePressAccessibilityTelemetry(ComponentName componentNam
}

private boolean isTalkback(ServiceInfo info) {
return TALKBACK_LABEL.equals(info.loadLabel(mPackageManager).toString());
return TALKBACK_LABEL.equals(info.loadLabel(mPackageManager).toString())
&& (info.applicationInfo.isSystemApp() || info.applicationInfo.isUpdatedSystemApp());
}
}

0 comments on commit 6052526

Please sign in to comment.