Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
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 }