summaryrefslogtreecommitdiffstats
path: root/app/src/main/java/com/zeapo/pwdstore/Application.kt
blob: d6c618b14f4d987465f11dbc04c87d0accf4bd78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 * Copyright © 2014-2020 The Android Password Store Authors. All Rights Reserved.
 * SPDX-License-Identifier: GPL-3.0-only
 */
package com.zeapo.pwdstore

import com.haroldadmin.whatthestack.WhatTheStack
import timber.log.Timber

@Suppress("Unused")
class Application : android.app.Application() {

    override fun onCreate() {
        super.onCreate()
        Timber.plant(Timber.DebugTree())
        if (BuildConfig.ENABLE_DEBUG_FEATURES) {
            WhatTheStack(this).init()
        }
    }
}