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

Issue 1978843002: Change Android activity title from JNI call (Closed)

Created:
4 years, 7 months ago by liyuqian
Modified:
4 years, 7 months ago
Reviewers:
djsollen
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 14

Patch Set 2 : Revision #

Total comments: 4

Patch Set 3 : Private #

Patch Set 4 : Once #

Total comments: 2

Patch Set 5 : Nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -18 lines) Patch
M platform_tools/android/apps/viewer/src/main/java/org/skia/viewer/ViewerActivity.java View 2 chunks +7 lines, -0 lines 0 comments Download
M platform_tools/android/apps/viewer/src/main/java/org/skia/viewer/ViewerApplication.java View 1 2 3 4 2 chunks +17 lines, -0 lines 0 comments Download
M tools/viewer/sk_app/android/Window_android.cpp View 1 1 chunk +1 line, -2 lines 0 comments Download
M tools/viewer/sk_app/android/surface_glue_android.h View 1 2 3 4 1 chunk +18 lines, -6 lines 0 comments Download
M tools/viewer/sk_app/android/surface_glue_android.cpp View 1 2 3 4 4 chunks +22 lines, -10 lines 0 comments Download

Messages

Total messages: 15 (6 generated)
liyuqian
4 years, 7 months ago (2016-05-13 14:28:56 UTC) #4
djsollen
https://codereview.chromium.org/1978843002/diff/1/platform_tools/android/apps/viewer/src/main/java/org/skia/viewer/ViewerApplication.java File platform_tools/android/apps/viewer/src/main/java/org/skia/viewer/ViewerApplication.java (right): https://codereview.chromium.org/1978843002/diff/1/platform_tools/android/apps/viewer/src/main/java/org/skia/viewer/ViewerApplication.java#newcode11 platform_tools/android/apps/viewer/src/main/java/org/skia/viewer/ViewerApplication.java:11: import android.util.Log; unused import https://codereview.chromium.org/1978843002/diff/1/platform_tools/android/apps/viewer/src/main/java/org/skia/viewer/ViewerApplication.java#newcode45 platform_tools/android/apps/viewer/src/main/java/org/skia/viewer/ViewerApplication.java:45: public ViewerActivity getViewerActivity() ...
4 years, 7 months ago (2016-05-13 14:56:27 UTC) #5
liyuqian
Revised and commented. https://codereview.chromium.org/1978843002/diff/1/platform_tools/android/apps/viewer/src/main/java/org/skia/viewer/ViewerApplication.java File platform_tools/android/apps/viewer/src/main/java/org/skia/viewer/ViewerApplication.java (right): https://codereview.chromium.org/1978843002/diff/1/platform_tools/android/apps/viewer/src/main/java/org/skia/viewer/ViewerApplication.java#newcode11 platform_tools/android/apps/viewer/src/main/java/org/skia/viewer/ViewerApplication.java:11: import android.util.Log; On 2016/05/13 14:56:27, djsollen ...
4 years, 7 months ago (2016-05-13 15:18:44 UTC) #6
liyuqian
Make destructor private The constructor must be public to allow JNI native call to create ...
4 years, 7 months ago (2016-05-13 15:24:25 UTC) #7
djsollen
https://codereview.chromium.org/1978843002/diff/20001/tools/viewer/sk_app/android/surface_glue_android.cpp File tools/viewer/sk_app/android/surface_glue_android.cpp (right): https://codereview.chromium.org/1978843002/diff/20001/tools/viewer/sk_app/android/surface_glue_android.cpp#newcode57 tools/viewer/sk_app/android/surface_glue_android.cpp:57: jmethodID methodID = fPThreadEnv->GetMethodID(cls, "setTitle", "(Ljava/lang/String;)V"); these JNI getters ...
4 years, 7 months ago (2016-05-13 15:35:58 UTC) #8
liyuqian
Thank you for the suggestions :) https://codereview.chromium.org/1978843002/diff/20001/tools/viewer/sk_app/android/surface_glue_android.cpp File tools/viewer/sk_app/android/surface_glue_android.cpp (right): https://codereview.chromium.org/1978843002/diff/20001/tools/viewer/sk_app/android/surface_glue_android.cpp#newcode57 tools/viewer/sk_app/android/surface_glue_android.cpp:57: jmethodID methodID = ...
4 years, 7 months ago (2016-05-13 16:01:00 UTC) #9
djsollen
lgtm with a few nits. https://codereview.chromium.org/1978843002/diff/60001/platform_tools/android/apps/viewer/src/main/java/org/skia/viewer/ViewerApplication.java File platform_tools/android/apps/viewer/src/main/java/org/skia/viewer/ViewerApplication.java (right): https://codereview.chromium.org/1978843002/diff/60001/platform_tools/android/apps/viewer/src/main/java/org/skia/viewer/ViewerApplication.java#newcode49 platform_tools/android/apps/viewer/src/main/java/org/skia/viewer/ViewerApplication.java:49: mTitle = title; we ...
4 years, 7 months ago (2016-05-13 16:19:12 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1978843002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1978843002/80001
4 years, 7 months ago (2016-05-13 16:25:53 UTC) #13
commit-bot: I haz the power
4 years, 7 months ago (2016-05-13 16:57:48 UTC) #15
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://skia.googlesource.com/skia/+/36632f46a6d87d9d9bd5e0ab65350638e8cfb65c

Powered by Google App Engine
This is Rietveld 408576698