OSDN Git Service

Remove strict mode violation from value to string coercion
authorAlan Viverette <alanv@google.com>
Mon, 1 Jun 2015 22:18:37 +0000 (15:18 -0700)
committerAlan Viverette <alanv@google.com>
Mon, 1 Jun 2015 22:18:37 +0000 (15:18 -0700)
commit069767717a8323bbb05988137a91d40968af2972
tree143f75fb3c7894c36b1be0516a7dcfda773fa26c
parentbdd500ecd4ceea7d4e4a06ece08c9b9fd5d8aec5
Remove strict mode violation from value to string coercion

The legitimate uses of value to string coercion, including the
interaction between lax attribute formatting and AAPT type inference,
combined with the low likelihood of unintentional coercion and low cost
of most string coercions, makes the value to string coercion violation
overkill.

Bug: 21563086
Change-Id: I7892e776d3e5479fcba507749b074c2abdf1b781
core/java/android/content/res/TypedArray.java
core/java/android/view/View.java