mirror of
https://github.com/moparisthebest/keepass2android
synced 2024-11-28 20:12:21 -05:00
removed logging output in SkyDriveFileStorage
This commit is contained in:
parent
fd06b3d772
commit
deaec67625
@ -374,7 +374,7 @@ public class SkyDriveFileStorage extends JavaFileStorageBase {
|
||||
.optJSONObject(i));
|
||||
if (skyDriveObj == null)
|
||||
continue; // ignored type
|
||||
Log.d(TAG, "adding "+skyDriveObj.getName()+" to cache with id " + skyDriveObj.getId()+" in "+skyDriveObj.getParentId());
|
||||
//Log.d(TAG, "adding "+skyDriveObj.getName()+" to cache with id " + skyDriveObj.getId()+" in "+skyDriveObj.getParentId());
|
||||
mFolderCache.put(skyDriveObj.getId(), skyDriveObj);
|
||||
|
||||
mRootFolderId = skyDriveObj.getParentId();
|
||||
@ -396,7 +396,7 @@ public class SkyDriveFileStorage extends JavaFileStorageBase {
|
||||
JSONObject error = result.optJSONObject(JsonKeys.ERROR);
|
||||
String message = error.optString(JsonKeys.MESSAGE);
|
||||
String code = error.optString(JsonKeys.CODE);
|
||||
Log.d(TAG, "Code: "+code);
|
||||
//Log.d(TAG, "Code: "+code);
|
||||
if ("resource_not_found".equals(code))
|
||||
throw new FileNotFoundException(message);
|
||||
else
|
||||
@ -633,7 +633,7 @@ public class SkyDriveFileStorage extends JavaFileStorageBase {
|
||||
.optJSONObject(i));
|
||||
if (skyDriveObj == null)
|
||||
continue; // ignored type
|
||||
Log.d(TAG, "listing "+skyDriveObj.getName()+" with id " + skyDriveObj.getId()+" in "+skyDriveObj.getParentId());
|
||||
//Log.d(TAG, "listing "+skyDriveObj.getName()+" with id " + skyDriveObj.getId()+" in "+skyDriveObj.getParentId());
|
||||
|
||||
resultList.add(convertToFileEntry(parentDrivePath, skyDriveObj));
|
||||
}
|
||||
@ -666,7 +666,7 @@ public class SkyDriveFileStorage extends JavaFileStorageBase {
|
||||
res.path = getProtocolPrefix();
|
||||
else
|
||||
res.path = new SkyDrivePath(parentPath.getFullPath(), skyDriveObj.toJson()).getFullPath();
|
||||
Log.d(TAG, "path: "+res.path);
|
||||
//Log.d(TAG, "path: "+res.path);
|
||||
if (SkyDriveFile.class.isAssignableFrom(skyDriveObj.getClass()))
|
||||
{
|
||||
res.sizeInBytes = ((SkyDriveFile)skyDriveObj).getSize();
|
||||
@ -680,8 +680,8 @@ public class SkyDriveFileStorage extends JavaFileStorageBase {
|
||||
try
|
||||
{
|
||||
SkyDrivePath drivePath = new SkyDrivePath(filename);
|
||||
Log.d(TAG, "getFileEntry for "+ filename +" = "+drivePath.getFullPath());
|
||||
Log.d(TAG, " parent is "+drivePath.getParentPath());
|
||||
//Log.d(TAG, "getFileEntry for "+ filename +" = "+drivePath.getFullPath());
|
||||
//Log.d(TAG, " parent is "+drivePath.getParentPath());
|
||||
return convertToFileEntry(drivePath.getParentPath(),getSkyDriveObject(drivePath));
|
||||
}
|
||||
catch (Exception e)
|
||||
@ -730,7 +730,7 @@ public class SkyDriveFileStorage extends JavaFileStorageBase {
|
||||
|
||||
private void finishActivityWithSuccess(
|
||||
FileStorageSetupActivity setupActivity) {
|
||||
Log.d("KP2AJ", "Success with authenticating!");
|
||||
//Log.d("KP2AJ", "Success with authenticating!");
|
||||
Activity activity = (Activity) setupActivity;
|
||||
|
||||
if (setupActivity.getProcessName()
|
||||
@ -782,7 +782,6 @@ public class SkyDriveFileStorage extends JavaFileStorageBase {
|
||||
LiveConnectSession session, Object userState) {
|
||||
|
||||
if (status == LiveStatus.CONNECTED) {
|
||||
Log.d(TAG, "connected!");
|
||||
initialize(activity, session);
|
||||
|
||||
} else {
|
||||
|
6676
src/keepass2android/Resources/Resource.designer.cs
generated
6676
src/keepass2android/Resources/Resource.designer.cs
generated
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user