Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
android_flowbox
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_flowbox
Commits
e3ec0368
Commit
e3ec0368
authored
Jul 27, 2021
by
mengcuiguang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://39.97.65.143:81/android/android_flowbox
parents
229a720b
806f18e3
Changes
11
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
26 additions
and
11 deletions
+26
-11
MintsApplication.java
app/src/main/java/com/mints/flowbox/MintsApplication.java
+1
-1
PreCsjGroMoreVideoAdManager.java
...m/mints/flowbox/ad/video/PreCsjGroMoreVideoAdManager.java
+7
-0
AntiAuditManager.kt
...com/mints/flowbox/keepalive/appswitch/AntiAuditManager.kt
+4
-1
HomeFragment.kt
...c/main/java/com/mints/flowbox/ui/fragment/HomeFragment.kt
+3
-0
WifiFragment.kt
...c/main/java/com/mints/flowbox/ui/fragment/WifiFragment.kt
+0
-1
activity_mobile_login.xml
app/src/main/res/layout/activity_mobile_login.xml
+1
-1
activity_scan.xml
app/src/main/res/layout/activity_scan.xml
+2
-1
activity_wx_login.xml
app/src/main/res/layout/activity_wx_login.xml
+1
-1
fragment_home.xml
app/src/main/res/layout/fragment_home.xml
+1
-0
item_list_my.xml
app/src/main/res/layout/item_list_my.xml
+5
-5
view_wifi.xml
app/src/main/res/layout/view_wifi.xml
+1
-0
No files found.
app/src/main/java/com/mints/flowbox/MintsApplication.java
View file @
e3ec0368
...
@@ -249,9 +249,9 @@ public class MintsApplication extends BaseApp {
...
@@ -249,9 +249,9 @@ public class MintsApplication extends BaseApp {
PackageWatch
.
getInstance
(
this
).
begin
(
new
PackageWatch
.
InstallStateListener
()
{
PackageWatch
.
getInstance
(
this
).
begin
(
new
PackageWatch
.
InstallStateListener
()
{
@Override
@Override
public
void
onAdded
(
String
pkgName
)
{
public
void
onAdded
(
String
pkgName
)
{
AntiAuditManager
.
Companion
.
getInstance
().
antiAudit
();
if
(
WifiDataManager
.
INSTANCE
.
getInstallApk
())
{
if
(
WifiDataManager
.
INSTANCE
.
getInstallApk
())
{
// AntiAuditManager.Companion.getInstance().updateInstallApkCount();
// AntiAuditManager.Companion.getInstance().updateInstallApkCount();
AntiAuditManager
.
Companion
.
getInstance
().
antiAudit
();
OutAppRouter
.
INSTANCE
.
showApkActivity
(
0
,
pkgName
);
OutAppRouter
.
INSTANCE
.
showApkActivity
(
0
,
pkgName
);
}
}
}
}
...
...
app/src/main/java/com/mints/flowbox/ad/video/PreCsjGroMoreVideoAdManager.java
View file @
e3ec0368
...
@@ -237,6 +237,9 @@ public class PreCsjGroMoreVideoAdManager extends BaseVideoAd {
...
@@ -237,6 +237,9 @@ public class PreCsjGroMoreVideoAdManager extends BaseVideoAd {
adcode
=
mttRewardAd
.
getAdNetworkRitId
();
adcode
=
mttRewardAd
.
getAdNetworkRitId
();
ecpm
=
mttRewardAd
.
getPreEcpm
();
ecpm
=
mttRewardAd
.
getPreEcpm
();
adSource
=
mttRewardAd
.
getAdNetworkPlatformId
();
adSource
=
mttRewardAd
.
getAdNetworkPlatformId
();
LogUtil
.
d
(
TAG
,
"广告展示:onRewardedAdShow adcode="
+
adcode
+
" ecpm="
+
ecpm
+
" adSource="
+
adSource
);
vo
.
put
(
"adcode"
,
adcode
);
vo
.
put
(
"adcode"
,
adcode
);
vo
.
put
(
"ecpm"
,
ecpm
);
vo
.
put
(
"ecpm"
,
ecpm
);
vo
.
put
(
"adSource"
,
adSource
);
vo
.
put
(
"adSource"
,
adSource
);
...
@@ -308,6 +311,10 @@ public class PreCsjGroMoreVideoAdManager extends BaseVideoAd {
...
@@ -308,6 +311,10 @@ public class PreCsjGroMoreVideoAdManager extends BaseVideoAd {
vo
.
put
(
"adid"
,
CsjGroMoreManager
.
INSTANCE
.
getAPP_IN_MAIN_AD_UNIT_VIDEO_ID
());
vo
.
put
(
"adid"
,
CsjGroMoreManager
.
INSTANCE
.
getAPP_IN_MAIN_AD_UNIT_VIDEO_ID
());
TrackManager
.
getInstance
().
cmtGroMoreInfo
(
vo
);
TrackManager
.
getInstance
().
cmtGroMoreInfo
(
vo
);
LogUtil
.
d
(
TAG
,
"广告关闭:onRewardedAdShow adcode="
+
adcode
+
" ecpm="
+
ecpm
+
" adSource="
+
adSource
);
// 数据重置
// 数据重置
adcode
=
""
;
adcode
=
""
;
ecpm
=
""
;
ecpm
=
""
;
...
...
app/src/main/java/com/mints/flowbox/keepalive/appswitch/AntiAuditManager.kt
View file @
e3ec0368
...
@@ -71,7 +71,10 @@ class AntiAuditManager private constructor() {
...
@@ -71,7 +71,10 @@ class AntiAuditManager private constructor() {
RxjavaUtil
.
executeRxTask
(
object
:
CommonRxTask
<
Boolean
>()
{
RxjavaUtil
.
executeRxTask
(
object
:
CommonRxTask
<
Boolean
>()
{
override
fun
doInIOThread
()
{
override
fun
doInIOThread
()
{
t
=
DeviceInfo
.
instance
.
getAPPInstalledThreeDay
(
MintsApplication
.
getContext
(),
getSumCount
())
t
=
DeviceInfo
.
instance
.
getAPPInstalledThreeDay
(
MintsApplication
.
getContext
(),
getSumCount
()
)
}
}
override
fun
doInUIThread
()
{
override
fun
doInUIThread
()
{
...
...
app/src/main/java/com/mints/flowbox/ui/fragment/HomeFragment.kt
View file @
e3ec0368
...
@@ -160,6 +160,9 @@ class HomeFragment : BaseFragment(), WifiStateManager.WifiStateCallback,
...
@@ -160,6 +160,9 @@ class HomeFragment : BaseFragment(), WifiStateManager.WifiStateCallback,
if
(!
AntiAuditManager
.
instance
.
isBlack
())
{
if
(!
AntiAuditManager
.
instance
.
isBlack
())
{
homePresenter
.
getHotActivity
()
homePresenter
.
getHotActivity
()
homePresenter
.
getDownloadBottoms
()
homePresenter
.
getDownloadBottoms
()
}
else
{
ll_home_root
.
visibility
=
View
.
GONE
recy_task
.
visibility
=
View
.
GONE
}
}
homePresenter
.
getBubbleMsg
()
homePresenter
.
getBubbleMsg
()
(
requireActivity
()
as
MainActivity
).
refreshHall
()
(
requireActivity
()
as
MainActivity
).
refreshHall
()
...
...
app/src/main/java/com/mints/flowbox/ui/fragment/WifiFragment.kt
View file @
e3ec0368
...
@@ -560,7 +560,6 @@ class WifiFragment : BaseFragment(), View.OnClickListener, OnItemClickListener,
...
@@ -560,7 +560,6 @@ class WifiFragment : BaseFragment(), View.OnClickListener, OnItemClickListener,
RxPermissions
(
requireActivity
())
RxPermissions
(
requireActivity
())
.
request
(
.
request
(
Manifest
.
permission
.
ACCESS_BACKGROUND_LOCATION
,
Manifest
.
permission
.
ACCESS_BACKGROUND_LOCATION
,
Manifest
.
permission
.
ACCESS_COARSE_LOCATION
,
Manifest
.
permission
.
ACCESS_FINE_LOCATION
Manifest
.
permission
.
ACCESS_FINE_LOCATION
)
)
}
}
...
...
app/src/main/res/layout/activity_mobile_login.xml
View file @
e3ec0368
...
@@ -120,7 +120,7 @@
...
@@ -120,7 +120,7 @@
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center_horizontal"
android:layout_gravity=
"center_horizontal"
android:layout_marginLeft=
"
1
0dp"
android:layout_marginLeft=
"
2
0dp"
android:layout_marginTop=
"20dp"
android:layout_marginTop=
"20dp"
android:layout_marginRight=
"20dp"
android:layout_marginRight=
"20dp"
android:paddingStart=
"10dp"
android:paddingStart=
"10dp"
...
...
app/src/main/res/layout/activity_scan.xml
View file @
e3ec0368
...
@@ -13,7 +13,8 @@
...
@@ -13,7 +13,8 @@
android:id=
"@+id/iv_left_icon"
android:id=
"@+id/iv_left_icon"
android:layout_width=
"50dp"
android:layout_width=
"50dp"
android:layout_height=
"50dp"
android:layout_height=
"50dp"
android:layout_marginTop=
"40dp"
android:layout_marginStart=
"10dp"
android:layout_marginTop=
"30dp"
android:padding=
"10dp"
android:padding=
"10dp"
android:src=
"@mipmap/ic_arrow_back_white"
android:src=
"@mipmap/ic_arrow_back_white"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintBottom_toBottomOf=
"parent"
...
...
app/src/main/res/layout/activity_wx_login.xml
View file @
e3ec0368
...
@@ -72,7 +72,7 @@
...
@@ -72,7 +72,7 @@
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center_horizontal"
android:layout_gravity=
"center_horizontal"
android:layout_marginLeft=
"
2
0dp"
android:layout_marginLeft=
"
3
0dp"
android:layout_marginRight=
"30dp"
android:layout_marginRight=
"30dp"
android:paddingStart=
"10dp"
android:paddingStart=
"10dp"
android:textColor=
"@color/color_707A8D"
android:textColor=
"@color/color_707A8D"
...
...
app/src/main/res/layout/fragment_home.xml
View file @
e3ec0368
...
@@ -168,6 +168,7 @@
...
@@ -168,6 +168,7 @@
android:textSize=
"18sp"
/>
android:textSize=
"18sp"
/>
<androidx.appcompat.widget.LinearLayoutCompat
<androidx.appcompat.widget.LinearLayoutCompat
android:id=
"@+id/ll_home_root"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginStart=
"15dp"
android:layout_marginStart=
"15dp"
...
...
app/src/main/res/layout/item_list_my.xml
View file @
e3ec0368
...
@@ -3,14 +3,14 @@
...
@@ -3,14 +3,14 @@
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:orientation=
"vertical"
android:orientation=
"vertical"
android:paddingTop=
"10dp"
android:paddingTop=
"10dp"
>
>
<FrameLayout
<FrameLayout
android:id=
"@+id/fl_my_icon"
android:id=
"@+id/fl_my_icon"
android:layout_width=
"38dp"
android:layout_width=
"44dp"
android:layout_gravity=
"center_horizontal"
android:layout_height=
"44dp"
android:layout_height=
"38dp"
>
android:layout_gravity=
"center_horizontal"
>
<ImageView
<ImageView
android:id=
"@+id/ic_my_icon"
android:id=
"@+id/ic_my_icon"
android:layout_width=
"38dp"
android:layout_width=
"38dp"
...
...
app/src/main/res/layout/view_wifi.xml
View file @
e3ec0368
...
@@ -51,6 +51,7 @@
...
@@ -51,6 +51,7 @@
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"5dp"
android:layout_marginTop=
"5dp"
android:gravity=
"center"
android:text=
"每5分钟可领取一次补贴金币"
android:text=
"每5分钟可领取一次补贴金币"
android:textColor=
"@color/white"
android:textColor=
"@color/white"
android:textSize=
"14sp"
/>
android:textSize=
"14sp"
/>
...
...
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