prevent unnecessary warning logs caused by View.toString()
If the id is negative, it is not from Resource. Passing the negative value to getResourcePackageName makes AssetManager dump unnecessary warning logs. It is reasonable not to get package/type/entry information for the negative id. The warning logs : W/ResourceType( 3711): No known package when getting name for resource number 0x9b010100 Change-Id: Ic89acb4f32205ba5a2fdac61dc14b00ccf251148
Loading
Please register or sign in to comment