Skip to content

Commit

Permalink
Change log types
Browse files Browse the repository at this point in the history
  • Loading branch information
CatotheCat11 committed Dec 23, 2024
1 parent 59185f6 commit 46fafc2
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions app/src/main/java/com/cato/glasssky/PostActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
import android.view.WindowManager;
import android.widget.AdapterView;

import com.cato.glasssky.R;
import com.google.android.glass.content.Intents;
import com.google.android.glass.media.Sounds;
import com.google.android.glass.widget.CardBuilder;
Expand Down Expand Up @@ -290,7 +289,7 @@ public void onError(String errorMessage) {

@Override
public void onError(String errorMessage) {
Log.i("Error", "Error");
Log.e("Error", errorMessage);
}
});
} else if (!video.isEmpty()) {
Expand Down Expand Up @@ -341,7 +340,7 @@ public void onSuccess(String response) {
setResult(RESULT_OK, intent);
AudioManager am = (AudioManager) getSystemService(Context.AUDIO_SERVICE);
am.playSoundEffect(Sounds.SUCCESS);
Log.d("Success", "Successfully posted!");
Log.i("Success", "Successfully posted!");
mIndeterminate.hide();
finish();
}
Expand All @@ -358,7 +357,7 @@ public void onError(String errorMessage) {

@Override
public void onError(String errorMessage) {
Log.i("Error", "Error");
Log.e("Error", errorMessage);
}
});
} else {
Expand Down Expand Up @@ -400,7 +399,7 @@ public void onSuccess(String response) {
setResult(RESULT_OK, intent);
AudioManager am = (AudioManager) getSystemService(Context.AUDIO_SERVICE);
am.playSoundEffect(Sounds.SUCCESS);
Log.d("Success", "Successfully posted!");
Log.i("Success", "Successfully posted!");
mIndeterminate.hide();
finish();
}
Expand Down Expand Up @@ -474,9 +473,9 @@ private void processPictureWhenReady(final String picturePath) {
Log.e(TAG, "Failed to decode bitmap. File may still be incomplete.");
return;
}
Log.i(TAG, "Picture ready");
Log.d(TAG, "Picture ready");
} else {
Log.i(TAG, "Picture not ready...");
Log.d(TAG, "Picture not ready...");
final File parentDirectory = pictureFile.getParentFile();
observer = new FileObserver(parentDirectory.getPath(), FileObserver.CLOSE_WRITE | FileObserver.MOVED_TO) {
private boolean isFileWritten;
Expand Down

0 comments on commit 46fafc2

Please sign in to comment.