Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 package org.mozilla.gecko.sync.setup.activities;
7 import android.app.Activity;
8 import android.os.Bundle;
10 /**
11 * Shared superclass of Sync activities. Currently exists to prepare per-thread
12 * logging.
13 */
14 public abstract class SyncActivity extends Activity {
16 @Override
17 protected void onResume() {
18 super.onResume();
19 ActivityUtils.prepareLogging();
20 }
22 @Override
23 public void onCreate(Bundle savedInstanceState) {
24 super.onCreate(savedInstanceState);
25 ActivityUtils.prepareLogging();
26 }
27 }