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

Fix deprecated android.inputmethodservice.Keyboard and keyboardView #812

Merged
merged 1 commit into from Jul 24, 2023

Conversation

HollowMan6
Copy link
Collaborator

As instructed: https://developer.android.com/reference/android/inputmethodservice/KeyboardView

This class is deprecated because this is just a convenient UI widget class that application developers can re-implement on top of existing public APIs. If you have already depended on this class, consider copying the implementation from AOSP into your project or re-implementing a similar widget by yourselves.

@HollowMan6
Copy link
Collaborator Author

Now fixed

@HollowMan6 HollowMan6 force-pushed the keyboardview branch 3 times, most recently from f5da67d to b47e894 Compare July 17, 2023 15:50
Copy link
Member

@javifernandez javifernandez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The change looks good and it seems it works fine at least in Quest2 and Lynx R1.

However, I'd like to investigate #845 before landing, at least to understand its root case and that this change wouldn't make the problem bigger.

As instructed: This class is deprecated because this is just a convenient UI widget class that
               application developers can re-implement on top of existing public APIs.  If you have
               already depended on this class, consider copying the implementation from AOSP into
               your project or re-implementing a similar widget by yourselves

Signed-off-by: Songlin Jiang <sjiang@igalia.com>
Copy link
Member

@svillar svillar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's hope for the best, should be easy to revert in case of problems.

@svillar svillar merged commit 1ee42e6 into main Jul 24, 2023
7 checks passed
@svillar svillar deleted the keyboardview branch July 24, 2023 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants