Updated on 2026-08-14
This commit is contained in:
parent
e4d637927a
commit
2a021f7d03
14 changed files with 155 additions and 76 deletions
|
|
@ -6,4 +6,8 @@ plugins {
|
|||
|
||||
android {
|
||||
namespace = "com.tangem.features.tester.api"
|
||||
}
|
||||
|
||||
dependencies {
|
||||
api(deps.lifecycle.common.java8)
|
||||
}
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
package com.tangem.features.tester.api
|
||||
|
||||
import androidx.lifecycle.DefaultLifecycleObserver
|
||||
|
||||
/**
|
||||
* Interface for launching the tester menu
|
||||
*
|
||||
[REDACTED_AUTHOR]
|
||||
*/
|
||||
interface TesterMenuLauncher {
|
||||
|
||||
/** Observer for detecting shake events and launching the tester menu */
|
||||
val launchOnShakeObserver: DefaultLifecycleObserver
|
||||
}
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
package com.tangem.features.tester.api
|
||||
|
||||
import android.content.Intent
|
||||
|
||||
/**
|
||||
* Outer tester feature router
|
||||
*
|
||||
[REDACTED_AUTHOR]
|
||||
*/
|
||||
interface TesterRouter {
|
||||
|
||||
/** Open tester menu */
|
||||
fun getEntryIntent(): Intent
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue