|
@@ -11,6 +11,11 @@ import com.xhly.corelib.bean.AppInfo
|
11
|
11
|
class CustomAppUtils {
|
12
|
12
|
public fun getCustomAppList(context: Context): ArrayList<AppInfo> {
|
13
|
13
|
val appList= arrayListOf<AppInfo>()
|
|
14
|
+ appList.add(getCusomAppBean(
|
|
15
|
+ context.getString(R.string.appstore),
|
|
16
|
+ Const.STOREAPPPKG,
|
|
17
|
+ AppCompatResources.getDrawable(context,R.drawable.icon_store)!!
|
|
18
|
+ ))
|
14
|
19
|
appList.add(getCusomAppBean(
|
15
|
20
|
context.getString(R.string.speed),
|
16
|
21
|
Const.CUSTOMSPEEDAPP,
|
|
@@ -32,9 +37,9 @@ class CustomAppUtils {
|
32
|
37
|
AppCompatResources.getDrawable(context,R.drawable.icon_changepwd)!!
|
33
|
38
|
))
|
34
|
39
|
appList.add(getCusomAppBean(
|
35
|
|
- context.getString(R.string.appstore),
|
36
|
|
- Const.STOREAPPPKG,
|
37
|
|
- AppCompatResources.getDrawable(context,R.drawable.icon_store)!!
|
|
40
|
+ context.getString(R.string.updatestrategy),
|
|
41
|
+ Const.UPDATESTRATEGYPKGNAME,
|
|
42
|
+ AppCompatResources.getDrawable(context,R.drawable.icon_updatestrategy)!!
|
38
|
43
|
))
|
39
|
44
|
return appList
|
40
|
45
|
}
|