Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
MobileManager
Project
Overview
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
Wang Xu
MobileManager
Commits
30b6389c
Commit
30b6389c
authored
Apr 08, 2020
by
Baoxy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build: 混淆/修改提示
parent
8ff5208a
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
33 additions
and
2 deletions
+33
-2
PwdPinSetPwdActivity.java
.../android/launcher3/function/pwd/PwdPinSetPwdActivity.java
+4
-1
gradle.properties
gradle.properties
+1
-1
Prefs.java
...on/src/main/java/com/secspace/lib/common/utils/Prefs.java
+20
-0
proguard-rules.pro
proguards/proguard-rules.pro
+8
-0
No files found.
Launcher3/src/com/android/launcher3/function/pwd/PwdPinSetPwdActivity.java
View file @
30b6389c
...
...
@@ -56,7 +56,10 @@ public class PwdPinSetPwdActivity extends BaseActivity implements View.OnClickLi
super
.
onCreate
(
savedInstanceState
);
setContentView
(
R
.
layout
.
activity_pwd_pin_set
);
initView
();
DialogManager
.
INSTANCE
.
showMessageDialogOnlySure
(
this
,
getString
(
R
.
string
.
common_remind
),
getString
(
R
.
string
.
edu_item_first_install_tips_two
),
null
);
if
(!
Prefs
.
isTipSetPassword
(
this
)){
DialogManager
.
INSTANCE
.
showMessageDialogOnlySure
(
this
,
getString
(
R
.
string
.
common_remind
),
getString
(
R
.
string
.
edu_item_first_install_tips_two
),
null
);
Prefs
.
setTipSetPassword
(
this
,
true
);
}
}
private
void
initView
()
{
...
...
gradle.properties
View file @
30b6389c
...
...
@@ -26,7 +26,7 @@ MAVEN_URL=http://192.168.0.170:13000/nexus/content/repositories/releases/
MAVEN_URL_SNAPSHOT
=
http://192.168.0.170:13000/nexus/content/repositories/releases/
#32位有符号数2147483647(10)
versionIntCode
=
2020040
7
01
versionIntCode
=
2020040
8
01
versionNameMajor
=
1
versionNameMinor
=
0
...
...
lib_common/src/main/java/com/secspace/lib/common/utils/Prefs.java
View file @
30b6389c
...
...
@@ -22,6 +22,7 @@ public class Prefs {
public
static
final
String
WIFI_WHITE_LIST
=
"wifi_white_list"
;
public
static
final
String
IS_FIRST_INIT
=
"is_first_init"
;
public
static
final
String
IS_TIPS
=
"is_tips"
;
public
static
final
String
IS_TIP_SET_PASSWORD
=
"is_tipSetPassword"
;
public
static
final
String
LOGIN_PWD
=
"login_pwd"
;
public
static
final
String
PWD_PROTECTION_ANSWER_1
=
"pwd_protection_answer_1"
;
public
static
final
String
PWD_PROTECTION_ANSWER_2
=
"pwd_protection_answer_2"
;
...
...
@@ -240,6 +241,25 @@ public class Prefs {
}
/**
* 设置是否提示过
*
* @param context
* @param isFirstInit
*/
public
static
void
setTipSetPassword
(
Context
context
,
boolean
isFirstInit
)
{
putBoolean
(
context
,
IS_TIP_SET_PASSWORD
,
isFirstInit
);
}
/**
* 获取是否提示过
*
* @param context
*/
public
static
boolean
isTipSetPassword
(
Context
context
)
{
return
getBoolean
(
context
,
IS_TIP_SET_PASSWORD
,
false
);
}
/**
* 设置wifi白名单列表
*
* @param context
...
...
proguards/proguard-rules.pro
View file @
30b6389c
...
...
@@ -98,3 +98,11 @@
-
keep
interface
com
.
android
.
launcher3
.
model
.
nano
.
LauncherDumpProto
.
**
{
*
;
}
-
keep
class
com
.
secspace
.
lib
.
common
.
function
.
model
.
**
{
*
;
}
-
keep
class
com
.
secspace
.
lib
.
common
.
function
.
entity
.
**
{
*
;
}
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