File size: 658 Bytes
8b40504
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// SPDX-License-Identifier: Apache-2.0
package com.julia1

import android.content.Context

/** Release has no fixture reader or device gate implementation. */
object JuliaGateEntry {
  /** Shared launch-interface type; no release path creates a gate result. */
  data class Result(val path: String, val status: String, val error: String? = null)

  /** Defensive guard; MainActivity and MainViewModel reject gate extras in release. */
  @Suppress("UNUSED_PARAMETER")
  fun run(
    context: Context,
    engine: JuliaEngine,
    backend: JuliaEngine.Backend,
    window: Int,
  ): Result {
    error("Gate execution is available only in debug builds")
  }
}