Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
android_fairyland_pro
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_fairyland_pro
Commits
4dcfd858
Commit
4dcfd858
authored
May 24, 2021
by
jyx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新珊瑚dat文件
parent
df7336b9
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
30 deletions
+9
-30
kssdk-ad-3.3.6-publishRelease.aar
app/libs/kssdk-ad-3.3.6-publishRelease.aar
+0
-0
AndroidManifest.xml
app/src/main/AndroidManifest.xml
+1
-19
40805.dat
app/src/main/assets/40805.dat
+0
-0
TzManager.kt
app/src/main/java/com/mints/fairyland/manager/TzManager.kt
+7
-2
MainFragment.kt
...main/java/com/mints/fairyland/ui/fragment/MainFragment.kt
+1
-9
No files found.
app/libs/kssdk-ad-3.3.6-publishRelease.aar
deleted
100644 → 0
View file @
df7336b9
File deleted
app/src/main/AndroidManifest.xml
View file @
4dcfd858
...
@@ -40,7 +40,7 @@
...
@@ -40,7 +40,7 @@
<uses-permission
android:name=
"com.mints.fairyland.permission"
/>
<uses-permission
android:name=
"com.mints.fairyland.permission"
/>
<!-- 蘑菇星球 -->
<!-- 蘑菇星球 -->
<uses-permission
android:name=
"android.permission.REQUEST_DELETE_PACKAGES"
/>
<uses-permission
android:name=
"android.permission.REQUEST_DELETE_PACKAGES"
/>
<permission
<permission
android:name=
"com.mints.fairyland.permission"
android:name=
"com.mints.fairyland.permission"
...
@@ -291,29 +291,11 @@
...
@@ -291,29 +291,11 @@
android:configChanges=
"keyboardHidden|orientation|screenSize"
android:configChanges=
"keyboardHidden|orientation|screenSize"
android:theme=
"@android:style/Theme.Translucent.NoTitleBar"
android:theme=
"@android:style/Theme.Translucent.NoTitleBar"
android:windowSoftInputMode=
"stateHidden|adjustResize"
/>
android:windowSoftInputMode=
"stateHidden|adjustResize"
/>
<activity
android:name=
"cn.sharesdk.tencent.qq.ReceiveActivity"
android:launchMode=
"singleTask"
android:noHistory=
"true"
>
<intent-filter>
<action
android:name=
"android.intent.action.VIEW"
/>
<category
android:name=
"android.intent.category.DEFAULT"
/>
<category
android:name=
"android.intent.category.BROWSABLE"
/>
<data
android:scheme=
"tencent1111016251"
/>
</intent-filter>
</activity>
<activity
<activity
android:name=
".wxapi.WXEntryActivity"
android:name=
".wxapi.WXEntryActivity"
android:configChanges=
"keyboardHidden|orientation|screenSize"
android:configChanges=
"keyboardHidden|orientation|screenSize"
android:exported=
"true"
android:exported=
"true"
android:theme=
"@android:style/Theme.Translucent.NoTitleBar"
/>
android:theme=
"@android:style/Theme.Translucent.NoTitleBar"
/>
<activity
android:name=
".apshare.ShareEntryActivity"
android:configChanges=
"keyboardHidden|orientation|screenSize"
android:exported=
"true"
android:theme=
"@android:style/Theme.Translucent.NoTitleBar"
/>
<provider
<provider
android:name=
"androidx.core.content.FileProvider"
android:name=
"androidx.core.content.FileProvider"
...
...
app/src/main/assets/40805.dat
View file @
4dcfd858
No preview for this file type
app/src/main/java/com/mints/fairyland/manager/TzManager.kt
View file @
4dcfd858
...
@@ -12,16 +12,21 @@ import com.tz.sdk.core.engine.IADEngineState
...
@@ -12,16 +12,21 @@ import com.tz.sdk.core.engine.IADEngineState
*/
*/
object
TzManager
{
object
TzManager
{
private
const
val
APP_KEY
=
"4f064c84540f458eed9e99d3545525fd"
private
const
val
APP_SECRET
=
"ffd0594f3fb0b57258c3a611575c6aa1"
/**
/**
* 初始化
* 初始化
*/
*/
fun
initTz
(
application
:
Application
)
{
fun
initTz
(
application
:
Application
)
{
ADEngine
.
getInstance
(
application
)
ADEngine
.
getInstance
(
application
)
.
start
(
ADEngineConfig
.
Builder
(
application
)
.
start
(
ADEngineConfig
.
Builder
(
application
)
.
appKey
(
"4f064c84540f458eed9e99d3545525fd"
)
.
appKey
(
APP_KEY
)
.
appSecret
(
"ffd0594f3fb0b57258c3a611575c6aa1"
)
.
appSecret
(
APP_SECRET
)
.
appChannel
(
CommonUtils
.
getAppMetaData
(
MintsApplication
.
getContext
(),
"CHANNEL_NAME"
))
.
appChannel
(
CommonUtils
.
getAppMetaData
(
MintsApplication
.
getContext
(),
"CHANNEL_NAME"
))
.
forTest
(
false
)
.
forTest
(
false
)
.
verbose
(
true
)
.
log
(
true
)
.
build
(),
.
build
(),
object
:
IADEngineState
{
object
:
IADEngineState
{
override
fun
onIdle
()
{}
override
fun
onIdle
()
{}
...
...
app/src/main/java/com/mints/fairyland/ui/fragment/MainFragment.kt
View file @
4dcfd858
...
@@ -42,8 +42,6 @@ import com.mints.fairyland.ui.widgets.seekbar.BubbleUtils
...
@@ -42,8 +42,6 @@ import com.mints.fairyland.ui.widgets.seekbar.BubbleUtils
import
com.mints.fairyland.utils.LogUtil
import
com.mints.fairyland.utils.LogUtil
import
com.mints.fairyland.utils.TimeRender
import
com.mints.fairyland.utils.TimeRender
import
com.mints.library.utils.CommonUtils
import
com.mints.library.utils.CommonUtils
import
com.yilan.sdk.player.ylplayer.YLPlayerConfig
import
com.yilan.sdk.ui.configs.YLUIConfig
import
kotlinx.android.synthetic.main.layout_red_bag.*
import
kotlinx.android.synthetic.main.layout_red_bag.*
import
kotlinx.android.synthetic.main.layout_red_box.*
import
kotlinx.android.synthetic.main.layout_red_box.*
import
net.grandcentrix.tray.AppPreferences
import
net.grandcentrix.tray.AppPreferences
...
@@ -167,9 +165,6 @@ class MainFragment : BaseFragment(), HomeView, View.OnClickListener {
...
@@ -167,9 +165,6 @@ class MainFragment : BaseFragment(), HomeView, View.OnClickListener {
override
fun
onPause
()
{
override
fun
onPause
()
{
super
.
onPause
()
super
.
onPause
()
if
(
AppConfig
.
fragmentClickFlag
==
Constant
.
FRAGMENT_CLICK_ONE
)
{
YLPlayerConfig
.
config
().
unRegisterPlayerCallback
()
}
// 福袋动画停止
// 福袋动画停止
stopRedbox
()
stopRedbox
()
// 倒计时红包暂停
// 倒计时红包暂停
...
@@ -206,9 +201,6 @@ class MainFragment : BaseFragment(), HomeView, View.OnClickListener {
...
@@ -206,9 +201,6 @@ class MainFragment : BaseFragment(), HomeView, View.OnClickListener {
override
fun
onDestroy
()
{
override
fun
onDestroy
()
{
super
.
onDestroy
()
super
.
onDestroy
()
// 广告回调解绑
YLUIConfig
.
getInstance
().
unRegisterAdListener
()
YLPlayerConfig
.
config
().
unRegisterPlayerCallback
()
homePresenter
.
detachView
()
homePresenter
.
detachView
()
}
}
...
@@ -427,7 +419,7 @@ class MainFragment : BaseFragment(), HomeView, View.OnClickListener {
...
@@ -427,7 +419,7 @@ class MainFragment : BaseFragment(), HomeView, View.OnClickListener {
private
fun
initListener
()
{
private
fun
initListener
()
{
val
params
=
LinearLayout
.
LayoutParams
(
LinearLayout
.
LayoutParams
.
WRAP_CONTENT
,
LinearLayout
.
LayoutParams
.
WRAP_CONTENT
)
val
params
=
LinearLayout
.
LayoutParams
(
LinearLayout
.
LayoutParams
.
WRAP_CONTENT
,
LinearLayout
.
LayoutParams
.
WRAP_CONTENT
)
params
.
setMargins
(
0
,
0
,
0
,
BubbleUtils
.
dp2px
(
4
0
0
))
params
.
setMargins
(
0
,
0
,
0
,
BubbleUtils
.
dp2px
(
4
1
0
))
cdvvYilanTime
.
layoutParams
=
params
cdvvYilanTime
.
layoutParams
=
params
val
paramsRedBox
=
FrameLayout
.
LayoutParams
(
FrameLayout
.
LayoutParams
.
WRAP_CONTENT
,
FrameLayout
.
LayoutParams
.
WRAP_CONTENT
)
val
paramsRedBox
=
FrameLayout
.
LayoutParams
(
FrameLayout
.
LayoutParams
.
WRAP_CONTENT
,
FrameLayout
.
LayoutParams
.
WRAP_CONTENT
)
...
...
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