9ac3d54040b4dae6addc224fd8a69bf62ee84a83 |
|
06-Mar-2017 |
Maurice Lam <yukl@google.com> |
Fix warnings in SuwLib Fix various issues flagged by compiler and ErrorProne, including raw types, unchecked casts, missing overrides and others. Test: Existing tests pass. `./gradlew connectedAndroidTest test` Change-Id: I4008504430760b436d6dc6c52a9dfb169dcfa49b
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/ReflectionInflater.java
|
5ed761c1df4f5165a14218b64579e14af29d68a6 |
|
13-Jan-2017 |
Maurice Lam <yukl@google.com> |
Fix ReflectionInflater Don't append default package when the tag name itself is qualified (i.e. contains a '.'). Also moved the inflater test cases into test/instrumentation to the same place as other instrumentation tests. (Other tests were moved with the introduction of Robolectric tests) Bug: 34254689 Test: ./gradlew connectedAndroidTest Change-Id: I2f22613f80b4e3a65a73c4a4f8bd084ad3d4654f
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/ReflectionInflater.java
|
c64c94744da6d3d139c24be7dd62cbb3ceae0eb5 |
|
06-Jan-2017 |
Maurice Lam <yukl@google.com> |
Refactor GenericInflater Split GenericInflater into SimpleInflater, which wraps the XML parsing into finding the tag name and an AttributeSet. The subclass is responsible for creating the corresponding object for the given tag name and AttributeSet. ReflectionInflater is a subclass of SimpleInflater which will treat the tag name as a class, and create the object via reflection using the 2-argument constructor TagName(Context, AttributeSet). Test: ./gradlew connectedAndroidTest Change-Id: I81408f099f132b7bedb27a9b5425e3c18988aa52
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/ReflectionInflater.java
|