diff --git a/entry/src/main/java/rebus/permissionutils/sample/InfoDialog.java b/entry/src/main/java/rebus/permissionutils/sample/InfoDialog.java index 15b4623edb3446883f2775f4b8ea7576f950da87..5cdebbcb0dfde5efaa22738b69b6921b61fe6f83 100644 --- a/entry/src/main/java/rebus/permissionutils/sample/InfoDialog.java +++ b/entry/src/main/java/rebus/permissionutils/sample/InfoDialog.java @@ -71,7 +71,7 @@ public class InfoDialog extends CommonDialog { final Text close = (Text) component.findComponentById(ResourceTable.Id_close); final Text github = (Text) component.findComponentById(ResourceTable.Id_github); final Text twitter = (Text) component.findComponentById(ResourceTable.Id_twitter); - final Text google = (Text) component.findComponentById(ResourceTable.Id_google); + final Text goo = (Text) component.findComponentById(ResourceTable.Id_goo); final Text linkedin = (Text) component.findComponentById(ResourceTable.Id_linkedin); github.setClickedListener(new Component.ClickedListener() { @Override @@ -85,10 +85,10 @@ public class InfoDialog extends CommonDialog { goTwitter(); } }); - google.setClickedListener(new Component.ClickedListener() { + goo.setClickedListener(new Component.ClickedListener() { @Override public void onClick(Component component) { - goGoogle(); + goGoo(); } }); linkedin.setClickedListener(new Component.ClickedListener() { @@ -116,11 +116,11 @@ public class InfoDialog extends CommonDialog { context.startAbility(intent2); } - private void goGoogle() { - String google = context.getString(ResourceTable.String_Google); + private void goGoo() { + String goo = context.getString(ResourceTable.String_Goo); Intent intent2 = new Intent(); Operation operationCommonComponts = new Intent.OperationBuilder() - .withUri(Uri.parse(google)) + .withUri(Uri.parse(goo)) .build(); intent2.setOperation(operationCommonComponts); context.startAbility(intent2); diff --git a/entry/src/main/resources/base/element/string.json b/entry/src/main/resources/base/element/string.json index 4f53f882616ef990006b591349cea885397ab0c2..c8b28c75d8760f634aea81d1f498afc5026c72ce 100644 --- a/entry/src/main/resources/base/element/string.json +++ b/entry/src/main/resources/base/element/string.json @@ -21,7 +21,7 @@ "value": "https://twitter.com/rebus_007" }, { - "name": "Google", + "name": "Goo", "value": "https://plus.google.com/+RaphaelBussa/posts" }, { diff --git a/entry/src/main/resources/base/layout/layout_info_dialog.xml b/entry/src/main/resources/base/layout/layout_info_dialog.xml index a291a2a6252bd836969ef7527249b76260d32cf5..1834f0382ca61b1fdf221ec418116d4273863cf7 100644 --- a/entry/src/main/resources/base/layout/layout_info_dialog.xml +++ b/entry/src/main/resources/base/layout/layout_info_dialog.xml @@ -62,7 +62,7 @@ >