forked from photo/mobile-android
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue photo#461 (Card 9) (Remove tags from navigation for collaborators)
app: - MainActivity: replaced NavigationFragment index constant acccess with the proper get methods from nafigationFragment field everywhere - NavigationHandlerFragment: removed index constants such as they are not constants anymore - NiavigationHandlerFragment: added new methods getGalleryIndex, getAlbumsIndex, getTagsIndex, getSyncIndex, getAccountIndex, hasTags - NavigationHandlerFragment: replaced index constant access with corresponding methods everywhere - NavigationHandlerFragment: added hasTags check to the initPager method before adding tags to the navigation - Preferences added new methods setAccountAccessType, getAccountAccessType, isLimitedAccountAccessType - Credentials: added new access type constants - Credentials: added mType field and it support to Parcelable implementation and constructor - Credentials: added getType getter - Credentials: added static method saveCredentials and saving of account access type to preferences cache there - res/values/settings.xml: added setting_account_access_type constant test: - GalleryActivityTest, MainActivityTest: fixed compilation issues caused by NavigationHandlerFragment updates - CredentialsTest: added new test case testCredentialsParcelableV2 - CredentialsTest: updated checkCredentialsV2 signature (added type support) - AccountTroveboxResponseTest: updated calls of CredentialsTest.checkCredentialsV2 with proper types in the testMultiResponseV2 method - res/raw/json_credentials_v2.txt: added
- Loading branch information
1 parent
c35fa49
commit 2f9e84d
Showing
10 changed files
with
172 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ "_owner" : "hellox2@trovebox.com", | ||
"_type" : "group", | ||
"actor" : "hello@trovebox.com", | ||
"clientSecret" : "0f5d654bca", | ||
"dateCreated" : 1381190570, | ||
"host" : "test3.trovebox.com", | ||
"id" : "102230629a6802fbca9825a4617bfe", | ||
"name" : "Jaisen's Phone", | ||
"owner" : "hellox2@trovebox.com", | ||
"profile" : { "counts" : { "albums" : 5, | ||
"photos" : 363, | ||
"tags" : 37 | ||
}, | ||
"id" : "test3.trovebox.com", | ||
"isOwner" : false, | ||
"name" : " Demo User", | ||
"permission" : { "C" : [ 4 ], | ||
"D" : false, | ||
"R" : [ 4 ], | ||
"U" : false | ||
}, | ||
"photoUrl" : "http://awesomeness.openphoto.me/custom/201203/62f010-Boracay-Philippines-033_100x100xCR.jpg" | ||
}, | ||
"status" : "1", | ||
"type" : "access", | ||
"userSecret" : "6d1e8fc274", | ||
"userToken" : "b662440d621f2f71352f8865888fe2" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.