Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
android_vedio
Project
Project
Details
Activity
Releases
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
android
android_vedio
Commits
eb007d58
Commit
eb007d58
authored
Mar 19, 2024
by
jyx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
c80a48a8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
10 deletions
+11
-10
MintsApplication.java
...src/main/java/com/duben/miniplaylet/MintsApplication.java
+11
-10
No files found.
video/app/src/main/java/com/duben/miniplaylet/MintsApplication.java
View file @
eb007d58
...
...
@@ -18,6 +18,7 @@ import com.duben.miniplaylet.net.V6Service;
import
com.duben.miniplaylet.utils.AppPreferencesManager
;
import
com.duben.miniplaylet.utils.ForegroundOrBackground
;
import
com.duben.miniplaylet.utils.MateUtils
;
import
com.duben.oaid.MiitHelper
;
import
com.orhanobut.logger.AndroidLogAdapter
;
import
com.orhanobut.logger.FormatStrategy
;
import
com.orhanobut.logger.Logger
;
...
...
@@ -167,16 +168,16 @@ public class MintsApplication extends MultiDexApplication {
*/
private
void
initMiitHelper
()
{
try
{
//
MiitHelper miitHelper = new MiitHelper(new MiitHelper.AppIdsUpdater() {
//
//
@Override
//
public void onIdsValid(String ids) {
//
MintsApplication.OAID = ids;
//
//
System.out.println("123123123 oaid=" + ids);
//
}
//
});
//
miitHelper.getDeviceIds(MintsApplication.getContext(), true, true, true);
MiitHelper
miitHelper
=
new
MiitHelper
(
new
MiitHelper
.
AppIdsUpdater
()
{
@Override
public
void
onIdsValid
(
String
ids
)
{
MintsApplication
.
OAID
=
ids
;
System
.
out
.
println
(
"123123123 oaid="
+
ids
);
}
});
miitHelper
.
getDeviceIds
(
MintsApplication
.
getContext
(),
true
,
true
,
true
);
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
}
...
...
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