michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: package org.mozilla.gecko.sync.setup.activities; michael@0: michael@0: import android.app.Activity; michael@0: import android.os.Bundle; michael@0: michael@0: /** michael@0: * Shared superclass of Sync activities. Currently exists to prepare per-thread michael@0: * logging. michael@0: */ michael@0: public abstract class SyncActivity extends Activity { michael@0: michael@0: @Override michael@0: protected void onResume() { michael@0: super.onResume(); michael@0: ActivityUtils.prepareLogging(); michael@0: } michael@0: michael@0: @Override michael@0: public void onCreate(Bundle savedInstanceState) { michael@0: super.onCreate(savedInstanceState); michael@0: ActivityUtils.prepareLogging(); michael@0: } michael@0: }