With proguard "-optimizationpasses 5", not able to
obfuscate the CursorLoader. A known issue.
Remove
- AndoridMockRuntime.jar
- googleloginclient-helper.jar
AndoridMockRuntime.jar was included twice, preventing unit tests
from running.
Clean up classpath to not include jar files in the lib directory.
Else the jar files will get included twice.
Move jar files in MyTracks/lib/google-api-client/ to MyTracks/lib
so that proguard can pick up the jar files.
Clean up proguard.cfg into three sections.
- update the config from the default project
- update the config from the Google APIs client library
- remove unnecessary My Tracks specific "-dontwarn"
- When starting an activity, always use FLAG_ACTIVITY_CLEAR_TOP and FLAG_ACTIVITY_NEW_TASK together.
- TrackDetailActivity should handle events for a specific trackId, not
handling events for the current recording track.
- In TrackListActivity, to support screen rotation, make sure the EULA dialog
is not shown before creating another one.
- Do not need to bind service in onStart. OnResume will bind the service
if a recording is happening.
For API level >= 11, use the search widget.
For API level < 11, use the search dialog.
For API level >=14, the search button will expand the search widget.
For API level < 14, the search button will invoke the search dialog.