Bug 806394 - updater should log more things, r=mfinkle
authorMark Capella <markcapella@twcny.rr.com>
Thu, 31 Jan 2013 02:21:26 -0500
changeset 130327 b93addbe127d97e37dd48e18bec61aa607591da7
parent 130326 0aecad4aa7588fc957508ed0a82296de92d691f3
child 130328 d7fd7fc444f67af5210e8057bc49a27ca25e7be3
push id2323
push userbbajaj@mozilla.com
push dateMon, 01 Apr 2013 19:47:02 +0000
treeherdermozilla-beta@7712be144d91 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmfinkle
bugs806394
milestone21.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 806394 - updater should log more things, r=mfinkle
mobile/android/base/UpdateService.java
--- a/mobile/android/base/UpdateService.java
+++ b/mobile/android/base/UpdateService.java
@@ -259,16 +259,18 @@ public class UpdateService extends Inten
                                             getResources().getString(R.string.updater_apply_select),
                                             contentIntent);
 
             mNotificationManager.notify(NOTIFICATION_ID, notification);
         }
     }
 
     private URLConnection openConnectionWithProxy(URL url) throws java.net.URISyntaxException, java.io.IOException {
+        Log.i(LOGTAG, "openning connection with url: " + url);
+
         ProxySelector ps = ProxySelector.getDefault();
         Proxy proxy = Proxy.NO_PROXY;
         if (ps != null) {
             List<Proxy> proxies = ps.select(url.toURI());
             if (proxies != null && !proxies.isEmpty()) {
                 proxy = proxies.get(0);
             }
         }