Skip to content

Commit

Permalink
modding
Browse files Browse the repository at this point in the history
  • Loading branch information
scality-q committed Sep 15, 2019
1 parent c4e6afc commit 42df7a7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions NfcService.smali
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@

.field static final NFC_ON_DEFAULT:Z = true

.field static final NFC_POLLING_MODE:I = 0x8
.field static final NFC_POLLING_MODE:I = 0x1

.field static final NFC_POLL_A:I = 0x1

Expand Down Expand Up @@ -908,22 +908,22 @@
.line 466
new-instance v7, Landroid/content/IntentFilter;

const-string v0, "android.intent.action.SCREEN_OFF"
const-string v0, "android.intent.action.SCREEN_OFFA"

invoke-direct {v7, v0}, Landroid/content/IntentFilter;-><init>(Ljava/lang/String;)V

.line 467
const-string v0, "android.intent.action.SCREEN_ON"
const-string v0, "android.intent.action.SCREEN_ONA"

invoke-virtual {v7, v0}, Landroid/content/IntentFilter;->addAction(Ljava/lang/String;)V

.line 468
const-string v0, "android.intent.action.USER_PRESENT"
const-string v0, "android.intent.action.USER_PRESENTA"

invoke-virtual {v7, v0}, Landroid/content/IntentFilter;->addAction(Ljava/lang/String;)V

.line 469
const-string v0, "android.intent.action.USER_SWITCHED"
const-string v0, "android.intent.action.USER_SWITCHEDA"

invoke-virtual {v7, v0}, Landroid/content/IntentFilter;->addAction(Ljava/lang/String;)V

Expand Down
6 changes: 3 additions & 3 deletions ScreenStateHelper.smali
Original file line number Diff line number Diff line change
Expand Up @@ -137,13 +137,13 @@
if-eqz v0, :cond_0

.line 36
const/4 v0, 0x2
const/16 v0, 0x8

return v0

.line 38
:cond_0
const/4 v0, 0x1
const/16 v0, 0x8

return v0

Expand All @@ -158,7 +158,7 @@
if-eqz v0, :cond_2

.line 41
const/4 v0, 0x4
const/16 v0, 0x8

return v0

Expand Down

0 comments on commit 42df7a7

Please sign in to comment.