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
Describe the bug
Activity#getTitlemethod returns untranslated label we set inandroid:labelattribute in theAndroidManifest.xmland we cannot intercept it. The workaround is to read label of the activity directly from theAndroidManifest.xmland after that request string by this id from repository:Expected behavior
Activity#getTitlemethod should return translated labelLibrary version
2.0.1