Skip to content

Commit 6e62b27

Browse files
committed
release 4.1
1 parent 6b5fd99 commit 6e62b27

16 files changed

+7
-40
lines changed

app/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ android {
1313
minSdk = 24
1414
targetSdk = 35
1515
versionCode = 1
16-
versionName = "4.0"
16+
versionName = "4.1"
1717

1818
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
1919
}

app/release/app-release.apk

6.74 KB
Binary file not shown.
-44 Bytes
Binary file not shown.
-35 Bytes
Binary file not shown.

app/release/output-metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"filters": [],
1313
"attributes": [],
1414
"versionCode": 1,
15-
"versionName": "4.0",
15+
"versionName": "4.1",
1616
"outputFile": "app-release.apk"
1717
}
1818
],

app/src/main/java/com/guruswarupa/launch/AppAdapter.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class AppAdapter(
2727

2828
private val usageStatsManager = AppUsageStatsManager(activity)
2929

30-
class ViewHolder(view: View, isGrid: Boolean) : RecyclerView.ViewHolder(view) {
30+
class ViewHolder(view: View) : RecyclerView.ViewHolder(view) {
3131
val appIcon: ImageView = view.findViewById(R.id.app_icon)
3232
val appName: TextView? = view.findViewById(R.id.app_name)
3333
val appUsageTime: TextView? = view.findViewById(R.id.app_usage_time)
@@ -40,7 +40,7 @@ class AppAdapter(
4040
override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): ViewHolder {
4141
val layoutId = if (viewType == VIEW_TYPE_GRID) R.layout.app_item_grid else R.layout.app_item
4242
val view = LayoutInflater.from(parent.context).inflate(layoutId, parent, false)
43-
return ViewHolder(view, isGridMode)
43+
return ViewHolder(view)
4444
}
4545

4646
override fun onBindViewHolder(holder: ViewHolder, position: Int) {

app/src/main/java/com/guruswarupa/launch/AppDockManager.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import com.google.android.material.textfield.TextInputEditText
2727
import com.google.android.material.textfield.TextInputLayout
2828

2929
class AppDockManager(
30-
private val activity: MainActivity,
30+
activity: MainActivity,
3131
private val sharedPreferences: SharedPreferences,
3232
private val appDock: LinearLayout,
3333
private val packageManager: PackageManager

app/src/main/java/com/guruswarupa/launch/AppSearchManager.kt

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,19 @@
11
package com.guruswarupa.launch
22

33
import android.content.Context
4-
import android.content.Intent
54
import android.content.pm.ActivityInfo
65
import android.content.pm.PackageManager
76
import android.content.pm.ResolveInfo
8-
import android.net.Uri
97
import android.os.Handler
108
import android.os.Looper
11-
import android.provider.CalendarContract
129
import android.widget.EditText
13-
import android.widget.Toast
14-
import androidx.activity.ComponentActivity
15-
import androidx.recyclerview.widget.RecyclerView
1610
import net.objecthunter.exp4j.ExpressionBuilder
17-
import org.json.JSONObject
18-
import java.net.URL
19-
import java.sql.Date
2011

2112
class AppSearchManager(
2213
private val packageManager: PackageManager,
2314
private val appList: MutableList<ResolveInfo>,
2415
private val fullAppList: MutableList<ResolveInfo>,
2516
private val adapter: AppAdapter,
26-
private val recyclerView: RecyclerView,
2717
private val searchBox: EditText,
2818
private val contactsList: List<String>
2919
) {

app/src/main/java/com/guruswarupa/launch/FinanceManager.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
package com.guruswarupa.launch
22

3-
import android.content.Context
43
import android.content.SharedPreferences
54
import java.text.SimpleDateFormat
65
import java.util.*
76

8-
class FinanceManager(private val context: Context, private val sharedPreferences: SharedPreferences) {
7+
class FinanceManager(private val sharedPreferences: SharedPreferences) {
98

109
private val dateFormat = SimpleDateFormat("yyyy-MM", Locale.getDefault())
1110
private val currentMonth = dateFormat.format(Date())

app/src/main/java/com/guruswarupa/launch/FocusMode.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11

22
package com.guruswarupa.launch
33

4-
import android.content.Context
54
import android.content.SharedPreferences
6-
import android.content.pm.ResolveInfo
75

86
class FocusModeManager(private val sharedPreferences: SharedPreferences) {
97

0 commit comments

Comments
 (0)