35dbc15d818fc64e8af86e40e38d4119fea1dd15 |
|
29-Apr-2017 |
Anthony Chen <ajchen@google.com> |
Clean up radio. - Do not hold on to references to fragments. This can cause errors when "replace" is called for a fragment. - Remove usage of commitAllowingStateLoss as this can lead to errors. - Convert to lambdas where this would be clean. - Switch as many variables to local ones where appropriate - Remove casts on findViewById - Miscellaneous code cleanup. Test: started radio, switched between bands, added radio stations, seeked between radio stations. Change-Id: I6d8634f3b518e7cdda0b57c23bb7317b9632453d
/packages/apps/Car/Radio/src/com/android/car/radio/CarouselView.java
|