mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 13:55:43 +00:00
Bug 1145192
- Don't spam the logs when retrieving the profile on Android. r=snorp
This commit is contained in:
parent
a451044e6c
commit
5c7b32a854
@ -240,7 +240,6 @@ public final class GeckoProfile {
|
||||
// If the directory changes, the returned GeckoProfile instance will be mutated.
|
||||
// If the factory differs, it will be *ignored*.
|
||||
public static GeckoProfile get(Context context, String profileName, File profileDir, BrowserDB.Factory dbFactory) {
|
||||
Log.v(LOGTAG, "Fetching profile: '" + profileName + "', '" + profileDir + "'");
|
||||
if (context == null) {
|
||||
throw new IllegalArgumentException("context must be non-null");
|
||||
}
|
||||
@ -254,6 +253,8 @@ public final class GeckoProfile {
|
||||
// We're unable to do anything sane here.
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
} else {
|
||||
Log.v(LOGTAG, "Fetching profile: '" + profileName + "', '" + profileDir + "'");
|
||||
}
|
||||
|
||||
// Actually try to look up the profile.
|
||||
|
Loading…
Reference in New Issue
Block a user