Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1162)

Unified Diff: platform_tools/android/apps/sample_app/src/main/java/com/skia/SkiaSampleView.java

Issue 1547923002: SampleApp: remove SkWindow::onPDFSaved, it does not work (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: platform_tools/android/apps/sample_app/src/main/java/com/skia/SkiaSampleView.java
diff --git a/platform_tools/android/apps/sample_app/src/main/java/com/skia/SkiaSampleView.java b/platform_tools/android/apps/sample_app/src/main/java/com/skia/SkiaSampleView.java
index c33f8ae8acf3d290eac1325dee34ee6ab0b847d6..6213a6f35be2b06a6fef620d81a99f90537643a7 100644
--- a/platform_tools/android/apps/sample_app/src/main/java/com/skia/SkiaSampleView.java
+++ b/platform_tools/android/apps/sample_app/src/main/java/com/skia/SkiaSampleView.java
@@ -18,6 +18,7 @@ import android.opengl.GLSurfaceView;
import android.os.Build;
import android.util.Log;
import android.view.MotionEvent;
+import android.widget.Toast;
public class SkiaSampleView extends GLSurfaceView {
@@ -177,6 +178,9 @@ public class SkiaSampleView extends GLSurfaceView {
mSampleRenderer.saveToPDF();
}
});
+
+ String msg = getContext().getString(R.string.pdf_save_info);
+ Toast.makeText(getContext(), msg, Toast.LENGTH_SHORT).show();
}
public boolean getUsesOpenGLAPI() {

Powered by Google App Engine
This is Rietveld 408576698