28 lines
874 B
Kotlin
28 lines
874 B
Kotlin
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
package org.mozilla.fenix.browser
|
|
|
|
import android.app.Activity
|
|
import android.content.Intent
|
|
import android.os.Bundle
|
|
import mozilla.components.support.utils.SafeIntent
|
|
import org.mozilla.fenix.HomeActivity
|
|
import org.mozilla.fenix.ext.components
|
|
|
|
/**
|
|
* This activity is used for performance testing with Raptor/tp6:
|
|
* https://wiki.mozilla.org/Performance_sheriffing/Raptor
|
|
*/
|
|
class BrowserPerformanceTestActivity : Activity() {
|
|
|
|
override fun onCreate(savedInstanceState: Bundle?) {
|
|
super.onCreate(savedInstanceState)
|
|
|
|
components.core.testConfig = SafeIntent(intent).extras
|
|
|
|
startActivity(Intent(this, HomeActivity::class.java))
|
|
}
|
|
}
|