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
19 files changed
tree: 3f7aa28a618264d34d15c11c3643cfd81c65f8cd
  1. res/
  2. src/
  3. Android.mk
  4. AndroidManifest.xml