photo/mobile-android — pull request #268 by httpdispatch (2012-12-19 11:40:54+00:00)
Title: Parent project update

- MainActivity: added separate variable to handle whether action bar
navigation mode should be initiated
- MainActivity: added sync started broadcast receiver
- MainActivity: added reseting instanceSaved variable onResume action
- MainActivity.TabListener: added fragment getView null check to avoid
NPE in the onTabUnselected action. Also moved fragment detaching after
the virtual keyboard hiding code (issue #263)
- MainActivity: added instanceSaved check to the syncStarted method to
do not select tab if activity was suspended (otherwise it crashes
application)
- MainActivity: now it implements SyncStartedHandler and added
syncStarted implementation
- SyncFragment, SyncImageSelectionFragment: getSelectedFileNames now
returns ArrayList insted of List because List can't be saved as
parcelable
- SyncFragment: renamed uploadStarted to syncStarted. Also removed
Override annotation such as it is not actual anymore
- SyncImageSelectionFragment: extended disk image cache max item size
capacity from default 64 to 500
- SyncUploadFragment.PreviousStepFlow: removed uploadStarted method
- SyncUploadFragment.UploadInitTask: UploadsProviderAccessor now
initiated with application context such as getActivity() may return null
in some cases
- SyncUploadFragment.UploadInitTask: onPostExecute now sends broadcast
even when sync is started instead of calling method from
PreviousStepFlow implementor. This gives better results if during upload
processing orientation is changed. But not in 100% of cases
- ImageCache: added additional parameter to findOrCreateCache method
variation diskCacheMaxItemSize.
- UploadUtils: added exception handling to the
UploadsClearedHandler.uploadsCleared call in the broadcast receiver
- UploaderServiceUtils: added exception handling to the
PhotoUploadedHandler.photoUploaded call in the broadcast receiver
- SyncUtils: added