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
bd48e77f
Commit
bd48e77f
authored
Nov 20, 2024
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
3de20a57
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1 addition
and
47 deletions
+1
-47
SaaS_AppAnalytics_Android_SDK_V4.0.69.jar
video/app/libs/SaaS_AppAnalytics_Android_SDK_V4.0.69.jar
+0
-0
AndroidManifest.xml
video/app/src/main/AndroidManifest.xml
+1
-0
MintsApplication.java
...app/src/main/java/com/duben/heliapp/MintsApplication.java
+0
-4
TalkingDataManager.kt
...main/java/com/duben/heliapp/manager/TalkingDataManager.kt
+0
-43
No files found.
video/app/libs/SaaS_AppAnalytics_Android_SDK_V4.0.69.jar
deleted
100644 → 0
View file @
3de20a57
File deleted
video/app/src/main/AndroidManifest.xml
View file @
bd48e77f
...
@@ -19,6 +19,7 @@
...
@@ -19,6 +19,7 @@
<!-- 业务使用权限 -->
<!-- 业务使用权限 -->
<uses-permission
android:name=
"android.permission.INTERNET"
/>
<uses-permission
android:name=
"android.permission.INTERNET"
/>
<uses-permission
android:name=
"android.permission.READ_PHONE_STATE"
/>
<uses-permission
android:name=
"android.permission.REQUEST_INSTALL_PACKAGES"
/>
<uses-permission
android:name=
"android.permission.REQUEST_INSTALL_PACKAGES"
/>
<application
<application
...
...
video/app/src/main/java/com/duben/heliapp/MintsApplication.java
View file @
bd48e77f
...
@@ -12,7 +12,6 @@ import com.downloader.PRDownloaderConfig;
...
@@ -12,7 +12,6 @@ import com.downloader.PRDownloaderConfig;
import
com.duben.heliapp.common.Constant
;
import
com.duben.heliapp.common.Constant
;
import
com.duben.heliapp.manager.CsjAppLogManager
;
import
com.duben.heliapp.manager.CsjAppLogManager
;
import
com.duben.heliapp.manager.TXCSDKService
;
import
com.duben.heliapp.manager.TXCSDKService
;
import
com.duben.heliapp.manager.TalkingDataManager
;
import
com.duben.heliapp.net.LoanService
;
import
com.duben.heliapp.net.LoanService
;
import
com.duben.heliapp.net.V6Service
;
import
com.duben.heliapp.net.V6Service
;
import
com.duben.heliapp.utils.AppPreferencesManager
;
import
com.duben.heliapp.utils.AppPreferencesManager
;
...
@@ -81,8 +80,6 @@ public class MintsApplication extends MultiDexApplication {
...
@@ -81,8 +80,6 @@ public class MintsApplication extends MultiDexApplication {
CsjAppLogManager
.
INSTANCE
.
init
(
this
);
CsjAppLogManager
.
INSTANCE
.
init
(
this
);
TalkingDataManager
.
INSTANCE
.
init
(
this
);
// PR下载附件
// PR下载附件
initPRDownloader
();
initPRDownloader
();
...
@@ -91,7 +88,6 @@ public class MintsApplication extends MultiDexApplication {
...
@@ -91,7 +88,6 @@ public class MintsApplication extends MultiDexApplication {
// bugly
// bugly
CrashReport
.
initCrashReport
(
this
,
"d035276c5b"
,
BuildConfig
.
DEBUG
);
CrashReport
.
initCrashReport
(
this
,
"d035276c5b"
,
BuildConfig
.
DEBUG
);
}
}
/**
/**
...
...
video/app/src/main/java/com/duben/heliapp/manager/TalkingDataManager.kt
deleted
100644 → 0
View file @
3de20a57
package
com.duben.heliapp.manager
import
android.app.Application
import
android.content.Context
import
com.duben.heliapp.BuildConfig
import
com.duben.heliapp.utils.MateUtils
import
com.tendcloud.tenddata.TCAgent
/**
* TalkingData
*/
object
TalkingDataManager
{
private
const
val
APP_KEY
=
BuildConfig
.
RELEASE_TALKING_DATA_KEY
fun
init
(
application
:
Application
)
{
try
{
//打开日志
TCAgent
.
LOG_ON
=
BuildConfig
.
LOG_DEBUG
/**
* 动态获取渠道ID(类似友盟)
* AppID说是xml文件里的密钥?
*/
TCAgent
.
init
(
application
,
APP_KEY
,
MateUtils
.
getAppMetaData
(
application
,
"CHANNEL_NAME"
))
/**
* true-开启自动捕获错误
*/
TCAgent
.
setReportUncaughtExceptions
(
true
)
}
catch
(
e
:
Exception
)
{
e
.
printStackTrace
()
}
}
fun
onResume
(
cxt
:
Context
,
name
:
String
){
TCAgent
.
onPageStart
(
cxt
,
name
)
}
fun
onPause
(
cxt
:
Context
,
name
:
String
){
TCAgent
.
onPageEnd
(
cxt
,
name
)
}
}
\ No newline at end of file
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