-
-
Notifications
You must be signed in to change notification settings - Fork 40
Open
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed
Description
Describe the bug
Activity#getTitle method returns untranslated label we set in android:label attribute in the AndroidManifest.xml and we cannot intercept it. The workaround is to read label of the activity directly from the AndroidManifest.xml and after that request string by this id from repository:
ActivityInfo activityInfo = getPackageManager().getActivityInfo(
getComponentName(),
PackageManager.GET_META_DATA
);
String label = getString(activityInfo.labelRes);
Expected behavior
Activity#getTitle method should return translated label
Library version
2.0.1
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed