fix: Autofill no longer crashes on third-party apps with malformed hint arrays (v2.14.11) Root cause: AssistStructureParser.classify dereferenced entries of the autofillHints array that other apps supply. Facebook Messenger on the Fold 7 presents an array containing a null entry, NPE-ing on every fill request (AssistStructureParser.kt:176) and killing the autofill service process — One UI then shows the repeated "app keeps stopping / clear cache" dialog. The app code had not changed; Messenger's malformed hints are the new trigger (same latent signature also appeared 08-03). - Shared nonNullHints() filter applied at both hint read sites (classify + isDigitBoxCandidate) so null entries are dropped instead of crashing - Regression pin: AssistStructureNullHintsTest (3 cases) - VERSION 2.14.10 -> 2.14.11 Gates: testDebugUnitTest 987/0/0/0 (was 984, +3), lintDebug 0 errors / 85 warnings unchanged.
$ koh steal kepr.uk/peach-android@925678181f45
·
parent: 211e2d3269c5
discussion
log in to leave a comment.