Removing unnecessary intent extras
This commit is contained in:
parent
a6df7ed69e
commit
daccf8d1e8
1 changed files with 0 additions and 3 deletions
|
@ -24,7 +24,6 @@ import cy.agorise.graphenej.Asset;
|
||||||
import cy.agorise.graphenej.AssetAmount;
|
import cy.agorise.graphenej.AssetAmount;
|
||||||
import cy.agorise.graphenej.BaseOperation;
|
import cy.agorise.graphenej.BaseOperation;
|
||||||
import cy.agorise.graphenej.UserAccount;
|
import cy.agorise.graphenej.UserAccount;
|
||||||
import cy.agorise.graphenej.api.ApiAccess;
|
|
||||||
import cy.agorise.graphenej.api.android.NetworkService;
|
import cy.agorise.graphenej.api.android.NetworkService;
|
||||||
import cy.agorise.graphenej.api.android.RxBus;
|
import cy.agorise.graphenej.api.android.RxBus;
|
||||||
import cy.agorise.graphenej.api.calls.GetRequiredFees;
|
import cy.agorise.graphenej.api.calls.GetRequiredFees;
|
||||||
|
@ -79,8 +78,6 @@ public class SecondActivity extends AppCompatActivity {
|
||||||
super.onStart();
|
super.onStart();
|
||||||
// Bind to LocalService
|
// Bind to LocalService
|
||||||
Intent intent = new Intent(this, NetworkService.class);
|
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);
|
bindService(intent, mConnection, Context.BIND_AUTO_CREATE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue