Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
M
Magisk
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Magisk
Commits
4f74a259
Commit
4f74a259
authored
Dec 25, 2017
by
topjohnwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Magisk Manager
parent
74da6e1d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
app
app
+1
-1
SafetyNetHelper.java
snet/src/main/java/com/topjohnwu/snet/SafetyNetHelper.java
+6
-0
No files found.
app
@
de2285d5
Subproject commit
0d9527921ab1abb1f361f765a7df2c295ab09af6
Subproject commit
de2285d5e920ad020f5f2348264b67dc34e0882d
snet/src/main/java/com/topjohnwu/snet/SafetyNetHelper.java
View file @
4f74a259
...
@@ -32,6 +32,8 @@ public class SafetyNetHelper
...
@@ -32,6 +32,8 @@ public class SafetyNetHelper
public
static
final
int
BASIC_PASS
=
0x10
;
public
static
final
int
BASIC_PASS
=
0x10
;
public
static
final
int
CTS_PASS
=
0x20
;
public
static
final
int
CTS_PASS
=
0x20
;
public
static
final
int
SNET_EXT_VER
=
7
;
private
GoogleApiClient
mGoogleApiClient
;
private
GoogleApiClient
mGoogleApiClient
;
private
Activity
mActivity
;
private
Activity
mActivity
;
private
int
responseCode
;
private
int
responseCode
;
...
@@ -39,6 +41,10 @@ public class SafetyNetHelper
...
@@ -39,6 +41,10 @@ public class SafetyNetHelper
private
String
dexPath
;
private
String
dexPath
;
private
boolean
isDarkTheme
;
private
boolean
isDarkTheme
;
public
static
int
getVersion
()
{
return
SNET_EXT_VER
;
}
public
SafetyNetHelper
(
Activity
activity
,
String
dexPath
,
SafetyNetCallback
cb
)
{
public
SafetyNetHelper
(
Activity
activity
,
String
dexPath
,
SafetyNetCallback
cb
)
{
mActivity
=
activity
;
mActivity
=
activity
;
this
.
cb
=
cb
;
this
.
cb
=
cb
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment