Skip to content

Commit 9e8a116

Browse files
committed
cleanup
1 parent bb0a88b commit 9e8a116

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

samples-android/ButtonClicker/jni/ButtonClickerNativeActivity.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,10 +109,8 @@ void Engine::OnAuthActionStarted(gpg::AuthOperation op) {
109109
ndk_helper::JNIHelper::GetInstance()->RunOnUiThread([this, op]() {
110110
EnableUI(false);
111111
if (op == gpg::AuthOperation::SIGN_IN) {
112-
LOGI("Signing in to GPG");
113112
status_text_->SetAttribute("Text", "Signing In...");
114113
} else {
115-
LOGI("Signing out from GPG");
116114
status_text_->SetAttribute("Text", "Signing Out...");
117115
}
118116
});
@@ -586,7 +584,6 @@ void Engine::InitUI() {
586584
jui_helper::LAYOUT_PARAMETER_TRUE);
587585
button_sign_in_->SetCallback([this](jui_helper::JUIView *view,
588586
const int32_t message) {
589-
LOGI("button_sign_in_ click: %d", message);
590587
if (message == jui_helper::JUICALLBACK_BUTTON_UP) {
591588
if (service_->IsAuthorized()) {
592589
service_->SignOut();
@@ -668,7 +665,6 @@ void Engine::SetParameters(jui_helper::JUIButton *button,
668665
* Enable/Disable management UI
669666
*/
670667
void Engine::EnableUI(bool enable) {
671-
LOGI("Updating UI:%d", enable);
672668
ndk_helper::JNIHelper::GetInstance()->RunOnUiThread([this, enable]() {
673669
button_sign_in_->SetAttribute("Enabled", enable);
674670

samples-android/ButtonClicker/jni/ButtonClickerNativeActivity_Engine.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,6 @@ int32_t Engine::HandleInput(android_app *app, AInputEvent *event) {
193193
*/
194194
void Engine::HandleCmd(struct android_app *app, int32_t cmd) {
195195
Engine *eng = (Engine *)app->userData;
196-
LOGI("message %d", cmd);
197196
switch (cmd) {
198197
case APP_CMD_SAVE_STATE:
199198
break;

0 commit comments

Comments
 (0)