Reenable phone-to-chrome

This commit is contained in:
burke.davey
2010-09-16 23:43:36 +00:00
parent ac5cb5d77d
commit e9fa5e9759
3 changed files with 5 additions and 9 deletions

View File

@@ -1,7 +1,7 @@
{
"name": "__MSG_app_name__",
"description": "__MSG_app_desc__",
"version": "2.1.0",
"version": "2.2.0",
"default_locale": "en",
"icons": {
"16": "icon_16.png",

View File

@@ -57,14 +57,12 @@ function sendToPhone(title, url, msgType, selection, listener) {
};
var data = 'title=' + encodeURIComponent(title) + '&url=' + encodeURIComponent(url) +
'&sel=' + encodeURIComponent(selection) + '&type=' + encodeURIComponent(msgType);
'&sel=' + encodeURIComponent(selection) + '&type=' + encodeURIComponent(msgType) +
'&deviceType=ac2dm';
req.send(data);
}
function initializeBrowserChannel() {
// TODO: Enable for v2.2
return;
console.log('Initializing browser channel');
var deviceRegistrationId = localStorage['deviceRegistrationId'];