Commit e457a648 by Kunj Gupta

App detail dialog will appear only in debug mode.

parent 5a708b28
...@@ -65,7 +65,8 @@ public class HomeScreen extends HandleNotificationActivity { ...@@ -65,7 +65,8 @@ public class HomeScreen extends HandleNotificationActivity {
@OnClick(R.id.nav_back) @OnClick(R.id.nav_back)
void homeIconClicked() { void homeIconClicked() {
if(BuildConfig.BUILD_TYPE_INT != 2) { //Below dialog will appear in only debug mode.
if(BuildConfig.BUILD_TYPE_INT == 1) {
AlertDialog.Builder builder = new AlertDialog.Builder(this); AlertDialog.Builder builder = new AlertDialog.Builder(this);
StringBuilder stringBuilder = new StringBuilder(); StringBuilder stringBuilder = new StringBuilder();
stringBuilder.append("ServiceNow Instance: "); stringBuilder.append("ServiceNow Instance: ");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment