Issue #460 (Card 8) (Force album on upload for collaborators)
app:
- AccountFragment: added additional visibility condition for the
upgradeOffer in the initView method whether user is owner or not
- AccountLogin, AccountSignup: removed one unnecessary parameter from
GuiUtils.validateBasicTextData call
- Preferences: added isOwner, setAccessPermissions, getAccessPermissions
methods
- SyncUploadFragment: added additional album required field checks to
the upload button on click listener in the init method
- SyncUploadFragment, UploadActivity.UploadUiFragment: added albumsText
visibility adjustment to the init method depend on whether user has
limited account access
- SyncUploadFragment, UploadActivity.UploadUiFragment: added additional
can upload checks to the success runnable for
checkQuotaPerUploadAvailableAndRunAsync call in the init method
- SyncUploadFragment.UploadInitTask: fixed albums information reference
to the correct one in the doInBackground method
- UploadActivity.UploadUiFragment: added new method checkCanUpload,
checkAlbumRequiredAndSpecified
- UploadActivity.UploadUiFragment: dded additional album required field
checks to the upload button on click event in the onClick method
- ProfileInformation.AccessPermission: added new constants wtih used
field names
- ProfileInformation.AccessPermission: added mJsonString field and its
support to parcelable implementation. Also added toJsonString method
- ProfileInformation.AccessPermission: added saving of json source
string to the mJsonString field in the fromJson method
- AccountLimitUtils: modified call of runWithProfileResponseAsync in the
tryToRefreshLimitInformationAndRunInContextAsync to retrieve viewer
information
- AccountLimitUtils: added saving of AccessPermissions to the preference
cache in the saveLimitInformationToCache method
- GuiUtils: replaced value length check with the TextUtils.isEmpty call
inthe validateBasicTextData methods
- GuiUtils: removed activity parameter from the on of the
validateBasicTextData variation
- res/values/settings.xml: added setting_account_access_permissions
constant
- res/values/strings.xml, res/values-ru/strings.xml: added few new
constants

test:
- ProfileInformationTest: added additional access permissions toJson
checks to the checkProfileInformation* methods
- ProfileResponseTest: added missing parameter for the
checkProfileInformation3 calls