mirror of
https://github.com/afollestad/nock-nock.git
synced 2025-04-22 20:45:19 +00:00
Merge pull request #5 from arose13/master
proper way to reference intent actions
This commit is contained in:
commit
ac36b94233
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ public class BootReceiver extends BroadcastReceiver {
|
|||
|
||||
@Override
|
||||
public void onReceive(Context context, Intent intent) {
|
||||
if (intent.getAction().equals("android.intent.action.BOOT_COMPLETED")) {
|
||||
if (intent.getAction().equals(Intent.ACTION_BOOT_COMPLETED)) {
|
||||
final Inquiry inq = Inquiry.newInstance(context, MainActivity.DB_NAME).build(false);
|
||||
ServerModel[] models = inq
|
||||
.selectFrom(MainActivity.SITES_TABLE_NAME, ServerModel.class)
|
||||
|
|
Loading…
Add table
Reference in a new issue