Obsolete
Status Update
Comments
ch...@google.com <ch...@google.com>
ra...@google.com <ra...@google.com> #2
val textAlign: TextAlign get() = this.paragraphStyle.textAlign
@Deprecated("Kept for backwards compatibility.", level = DeprecationLevel.WARNING)
@get:JvmName("getTextAlign")
@Suppress("unused")
val deprecated_boxing_textAlign: TextAlign? get() = this.textAlign
and the bytecode that studio shows me:
// access flags 0x11
public final getTextAlign-e0LSkKk()I
L0
LINENUMBER 1405 L0
ALOAD 0
GETFIELD androidx/compose/ui/text/TextStyle.paragraphStyle : Landroidx/compose/ui/text/ParagraphStyle;
INVOKEVIRTUAL androidx/compose/ui/text/ParagraphStyle.getTextAlign-e0LSkKk ()I
IRETURN
L1
LOCALVARIABLE this Landroidx/compose/ui/text/TextStyle; L0 L1 0
MAXSTACK = 1
MAXLOCALS = 1
// DEPRECATED
// access flags 0x20011
public final getTextAlign()Landroidx/compose/ui/text/style/TextAlign;
@Lkotlin/jvm/JvmName;(name="getTextAlign") // invisible
@Lorg/jetbrains/annotations/Nullable;() // invisible
L0
LINENUMBER 1410 L0
ALOAD 0
INVOKEVIRTUAL androidx/compose/ui/text/TextStyle.getTextAlign-e0LSkKk ()I
INVOKESTATIC androidx/compose/ui/text/style/TextAlign.box-impl (I)Landroidx/compose/ui/text/style/TextAlign;
ARETURN
L1
LOCALVARIABLE this Landroidx/compose/ui/text/TextStyle; L0 L1 0
MAXSTACK = 1
MAXLOCALS = 1
ra...@google.com <ra...@google.com> #3
Inspected the JARs
❯ javap -cp 1.6.0-rc01-classes.jar androidx.compose.ui.text.TextStyle | grep getTextAlign
public final int getTextAlign-e0LSkKk();
public final androidx.compose.ui.text.style.TextAlign getTextAlign();
public static void getTextAlign$annotations();
❯ javap -cp 1.5.4-classes.jar androidx.compose.ui.text.TextStyle | grep getTextAlign
public final androidx.compose.ui.text.style.TextAlign getTextAlign-buA522U();
he...@gmail.com <he...@gmail.com> #4
1.5.4
, but a non-null type in 1.6.0-rc01
. The rest of the contents of the hash are the same.
ra...@google.com <ra...@google.com> #5
Possible fix looks like it would be to include the hash in JvmName
annotation.
@get:JvmName("getTextAlign-buA522U")
Description
The swedish translation for uptime i klartid. This is an unknown Word in swedish but can be used as a streck to ask at what date something is ready. Like finish time.
The correct Word is more like upptid or tid sedan omstart(time since reboot)
STEPS TO REPRODUCE:
Open system app and see it
OBSERVED RESULTS:
It reads klartid
EXPECTED RESULTS:
Upptid or tid sedan omstart
--------------------------------------------------------------------------
Please also run "adb bugreport" and archive the output.
To avoid the possibility of sharing private information, please share bugreports and screenshots from Google Drive. Share files with android-bugreport@google.com and include only Google drive links in your bug. If attaching bug reports or other sensitive data directly to issues, please mark the attachment(s) as “Restricted (
Disclaimer:
Please note, by submitting this bug report, you acknowledge that Google may use information included in the bug report to diagnose technical issues and to improve our products and services, in accordance with our Privacy Policy (
Bug reports include personal information logged on your device or by apps, such as:
File names
Installed apps and usage
Email addresses of the profiles on the device
Device identifiers, such as phone number
Web history information, including URLs / URIs
Location information, including limited location history
Network information, such as IP/SSID/MAC addresses and saved or scanned APNs
System or device information, such as memory and processes