craft-native 0.0.366 → 0.0.369
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -232,7 +232,6 @@ async function createAndroidEmulator(options) {
|
|
|
232
232
|
const executable = join2(sdk, "emulator/emulator");
|
|
233
233
|
let child;
|
|
234
234
|
let log;
|
|
235
|
-
let created = false;
|
|
236
235
|
let sequence = 0;
|
|
237
236
|
let disposal;
|
|
238
237
|
let bootStartedAt = 0;
|
|
@@ -273,8 +272,6 @@ async function createAndroidEmulator(options) {
|
|
|
273
272
|
child.kill("SIGKILL");
|
|
274
273
|
await child.exited;
|
|
275
274
|
}
|
|
276
|
-
if (created)
|
|
277
|
-
await run([options.avdmanager, "delete", "avd", "--name", name], undefined, 30000);
|
|
278
275
|
} finally {
|
|
279
276
|
if (log !== undefined)
|
|
280
277
|
closeSync(log);
|
|
@@ -300,7 +297,6 @@ async function createAndroidEmulator(options) {
|
|
|
300
297
|
throw new Error(`${serial} is already in use`);
|
|
301
298
|
await run([options.avdmanager, "create", "avd", "--name", name, "--package", options.image, "--device", "pixel_6"], `no
|
|
302
299
|
`);
|
|
303
|
-
created = true;
|
|
304
300
|
log = openSync(join2(artifacts, "emulator.log"), "w");
|
|
305
301
|
bootStartedAt = Date.now();
|
|
306
302
|
const hostCpus = cpus();
|
|
@@ -7528,11 +7528,16 @@ class MainActivity : AppCompatActivity() {
|
|
|
7528
7528
|
"image" -> ImageView::class.java.name
|
|
7529
7529
|
"search" -> EditText::class.java.name
|
|
7530
7530
|
"scrollbar" -> ScrollView::class.java.name
|
|
7531
|
-
|
|
7531
|
+
// The platform widget supplies its accessible class. A
|
|
7532
|
+
// custom EditText subclass name can be obfuscated in a
|
|
7533
|
+
// release and must not replace its text-field semantics.
|
|
7534
|
+
else -> info.className
|
|
7532
7535
|
}
|
|
7533
7536
|
info.isHeading = role == "header"
|
|
7534
7537
|
info.roleDescription = role.takeIf { it !in setOf("view", "text", "textinput", "scrollview") }
|
|
7535
|
-
|
|
7538
|
+
// With no authored accessibility hint, retain the native
|
|
7539
|
+
// placeholder populated by TextView/EditText above.
|
|
7540
|
+
if (host.tooltipText != null) info.hintText = host.tooltipText
|
|
7536
7541
|
info.isEnabled = host.isEnabled && !disabled
|
|
7537
7542
|
// Keep the native widget state when no accessibilityState was
|
|
7538
7543
|
// authored. Overwriting it with the strict false fallback
|
package/dist/cli.js
CHANGED
|
@@ -3047,7 +3047,7 @@ function pinCraftNativeDependency(packagePath, craftVersion) {
|
|
|
3047
3047
|
`);
|
|
3048
3048
|
}
|
|
3049
3049
|
// package.json
|
|
3050
|
-
var version = "0.0.
|
|
3050
|
+
var version = "0.0.369";
|
|
3051
3051
|
|
|
3052
3052
|
// bin/cli.ts
|
|
3053
3053
|
var spawnedFrom = process6.env[CRAFT_CLI_SPAWN_MARKER];
|
package/dist/index.cjs
CHANGED
package/dist/index.js
CHANGED