From daccf8d1e844327c30bdb4da5e4367f562fb4bdd Mon Sep 17 00:00:00 2001 From: "Nelson R. Perez" Date: Thu, 5 Apr 2018 17:57:35 -0500 Subject: [PATCH] Removing unnecessary intent extras --- .../main/java/com/luminiasoft/labs/sample/SecondActivity.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/sample/src/main/java/com/luminiasoft/labs/sample/SecondActivity.java b/sample/src/main/java/com/luminiasoft/labs/sample/SecondActivity.java index fec16f1..cdedac0 100644 --- a/sample/src/main/java/com/luminiasoft/labs/sample/SecondActivity.java +++ b/sample/src/main/java/com/luminiasoft/labs/sample/SecondActivity.java @@ -24,7 +24,6 @@ import cy.agorise.graphenej.Asset; import cy.agorise.graphenej.AssetAmount; import cy.agorise.graphenej.BaseOperation; import cy.agorise.graphenej.UserAccount; -import cy.agorise.graphenej.api.ApiAccess; import cy.agorise.graphenej.api.android.NetworkService; import cy.agorise.graphenej.api.android.RxBus; import cy.agorise.graphenej.api.calls.GetRequiredFees; @@ -79,8 +78,6 @@ public class SecondActivity extends AppCompatActivity { super.onStart(); // Bind to LocalService Intent intent = new Intent(this, NetworkService.class); - int requestedApis = ApiAccess.API_DATABASE | ApiAccess.API_HISTORY | ApiAccess.API_NETWORK_BROADCAST; - intent.putExtra(NetworkService.KEY_REQUESTED_APIS, requestedApis); bindService(intent, mConnection, Context.BIND_AUTO_CREATE); }