Bug 766354: Don't leak PII from SendTabActivity. r=rnewman

--HG--
extra : rebase_source : cd626fd18dec41efb80fd00250b164517bcd5d5b
This commit is contained in:
Nick Alexander 2012-07-30 13:05:04 -07:00
Родитель 4f84e8ad39
Коммит 55491370c7
1 изменённых файлов: 6 добавлений и 3 удалений

Просмотреть файл

@ -152,14 +152,17 @@ public class CommandProcessor {
@SuppressWarnings("unchecked")
public void sendURIToClientForDisplay(String uri, String clientID, String title, String sender, Context context) {
Logger.info(LOG_TAG, "Sending URI to client: " + uri + " -> " + clientID + " (" + title + ")");
Logger.info(LOG_TAG, "Sending URI to client " + clientID + ".");
if (Logger.LOG_PERSONAL_INFORMATION) {
Logger.pii(LOG_TAG, "URI is " + uri + "; title is '" + title + "'.");
}
JSONArray args = new JSONArray();
final JSONArray args = new JSONArray();
args.add(uri);
args.add(sender);
args.add(title);
Command displayURICommand = new Command("displayURI", args);
final Command displayURICommand = new Command("displayURI", args);
this.sendCommand(clientID, displayURICommand, context);
}