Assigned
Status Update
Comments
ad...@google.com <ad...@google.com>
ad...@google.com <ad...@google.com> #2
having the same issue
Room version > 2.7.0-alpha08
agp = "8.2.2"
kotlin = "2.0.20"
ksp-plugin = "2.0.20-1.0.24"
also Reverting to Room version 2.7.0-alpha07 solves the issue.
Room version > 2.7.0-alpha08
agp = "8.2.2"
kotlin = "2.0.20"
ksp-plugin = "2.0.20-1.0.24"
also Reverting to Room version 2.7.0-alpha07 solves the issue.
ad...@google.com <ad...@google.com> #4
Project: platform/frameworks/support
Branch: androidx-main
Author: Daniel Santiago Rivera <
Link:
Configure the schema asset android copy task within its register block and not within AGP's wiredWith lambda.
Expand for full commit details
Configure the schema asset android copy task within its register block and not within AGP's wiredWith lambda.
Otherwise the tasks inputs are locked by the time the wiredWith lambda passed to addGeneratedSourceDirector() is invoked and will lead to "property 'inputDirectory' is final and cannot be changed any further".
Bug: 376071291
Test: Manual with sample repro app
Change-Id: I2c9da4855cd31d7df3276424546aba4c53edf7ea
Files:
- M
room/room-gradle-plugin/src/main/java/androidx/room/gradle/integration/AndroidPluginIntegration.kt
Hash: 1dbb4c1876e1e8a8e930bec4625741ac6dc05a0b
Date: Thu Dec 05 14:21:51 2024
Description
Version used:
Theme used:
Devices/Android versions reproduced on: Emulator with API 24, Pixel 2 with API 28
- Description
From the docs, method CustomTabsIntent.Builder#enableUrlBarHiding will enable the url bar to hide as the user scrolls down on the page. However, it seems that this behaviour this enable by default when this method is not invoke to the builder.
- Relevant code to trigger the issue.
public static void launchUrl(@NonNull Context context, @NonNull String url) {
try {
new CustomTabsIntent.Builder()
.setToolbarColor(ContextCompat.getColor(context, R.color.primary))
.setShowTitle(true)
.build()
.launchUrl(context, Uri.parse(url));
} catch (ActivityNotFoundException e) {
Intents.get(context).openWebBrowser(url);
}
}
- A screenrecord or screenshots showing the issue (if UI related).
See attached screenshots. The image of 09:29:27 is after the CustomTabsIntent#launchUrl is invoked, 09:29:39 is after scroll (see that the url bar on the top is now hidden).
- Expected behaviour
If I understand the docs correctly, the url bar on the top should not hidden if CustomTabsIntent.Builder#enableUrlBarHiding is not called.