CountryCodePickerProject icon indicating copy to clipboard operation
CountryCodePickerProject copied to clipboard

The country obtained when the getCPLanguageFromLocale method is executed in CountryCodePicker.Java is incorrect

Open YaQi-Zhang opened this issue 3 years ago • 0 comments

in your demo, context.getResources().getConfiguration() = {1.0 ?mcc?mnc [ja_JP,en_US] ldltr sw411dp w411dp h845dp 420dpi nrml long hdr widecg port finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 1080, 2400) mAppBounds=Rect(0, 118 - 1080, 2337) mMaxBounds=Rect(0, 0 - 1080, 2400) mDisplayRotation=ROTATION_0 mWindowingMode=fullscreen mDisplayWindowingMode=fullscreen mActivityType=standard mAlwaysOnTop=undefined mRotation=ROTATION_0} s.1 fontWeightAdjustment=0}

in my app

context.getResources().getConfiguration() = {1.0 ?mcc?mnc [en_US,ja_JP] ldltr sw411dp w411dp h845dp 420dpi nrml long hdr widecg port finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 1080, 2400) mAppBounds=Rect(0, 118 - 1080, 2337) mMaxBounds=Rect(0, 0 - 1080, 2400) mDisplayRotation=ROTATION_0 mWindowingMode=fullscreen mDisplayWindowingMode=fullscreen mActivityType=standard mAlwaysOnTop=undefined mRotation=ROTATION_0} s.1 fontWeightAdjustment=0}

Don't know why, the order of the countries is reversed

YaQi-Zhang avatar Sep 21 '22 10:09 YaQi-Zhang