Fix EventLog string class problem in onOptionMenuSelected
EventLog function can handle string,integer class and long class. (in android_util_EventLog.cpp) If menu title string are used bold tag(like <b>test</b>), it'll be android.text.SpannedString. In onOptionMenuSelected, it is using item.getTitleCondensed() function for writing event log. therefore any android activity using tag menu string(like <b></b>) can be crashed by IllegalArgumentException. I found this crash on GMS Application. change locale chinese -> launch Google+ -> hangout -> menu key -> Invite(expressed chinese) click -> Google+ crash Change-Id: I0437be81699925e29bf4510eb615ef2424432763
Loading
Please register or sign in to comment