Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit bb6c9e43 authored by BadDaemon's avatar BadDaemon Committed by Gerrit Code Review
Browse files

Settings: Fix RuntimeException in InputMethod Settings

Fixes:
java.lang.RuntimeException: Unable to resume activity
{com.android.settings/com.android.settings.SubSettings}:
java.lang.NullPointerException: Attempt to invoke virtual
method 'void android.preference.Preference.onPrepareForRemoval()'
on a null object reference

OnResume calls the method changed with an already removed preference
-> results in null being passed and therefore NPE occurs

Change-Id: Idfca3a79aaaac71dfc872bb012b5fd1b2c247341
parent 32e310dc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment