Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Software keyboard is not rendered correctly on Android 6 if non-material theme is selected. #347

Closed
yukawa opened this issue Jan 4, 2016 · 0 comments

Comments

@yukawa
Copy link
Collaborator

yukawa commented Jan 4, 2016

Environment

Confirmed with Mozc 2.17.2288.102 running on Android 6.0.1 MNB29K / Nexus 5 2013.
This issue is not reproducible with Android 5.1 or prior.

Steps to reproduce

  1. Build Mozc 2.17.2288.102 for Android.
  2. Install Mozc into Android 6.0.1 MMB29K on Nexus 5 2013.
  3. Launch Mozc's settings app from the launcher. step3
  4. Go to Keyboard theme and select Blue/Dark-gray. step4
  5. Go to Mozc's settings again.
  6. Enable Mozc and switch to it on a focused EditText.

Expected behavior

  • After step 5, keyboard preview is correctly rendered in Keyboard layout section in the settings app.
  • After step 6, software keyboard is correctly rendered.

Actual behavior

  • After step 5, a black square is rendered instead of correctly-rendered keyboard preview in `Keyboard layout`` section in the settings app. actual_step5
  • After step 6, only a gray blank area is rendered where software keyboard should be rendered.
    after_step6

Additional Information

The root cause is that Mozc's SkinParser.java has relied on a broken implementation of Drawable.createFromXmlInner(), which was recently fixed in Android M by aosp-mirror/platform_frameworks_base@b63b93d.

Internal Issue ID 23951337

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant