зеркало из https://github.com/mozilla/gecko-dev.git
Bug 766354: Don't leak PII from SendTabActivity. r=rnewman
--HG-- extra : rebase_source : cd626fd18dec41efb80fd00250b164517bcd5d5b
This commit is contained in:
Родитель
4f84e8ad39
Коммит
55491370c7
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче