Skip to content

Commit

Permalink
Update package name to org.fossify.home
Browse files Browse the repository at this point in the history
Somebody released this app on the Google Play Store with the original `org.fossify.launcher` app id. Not sure why anyone would do that :(
  • Loading branch information
naveensingh committed Oct 16, 2024
1 parent e612a6e commit e1c7d11
Show file tree
Hide file tree
Showing 50 changed files with 456 additions and 456 deletions.
8 changes: 4 additions & 4 deletions app/detekt-baseline.xml
Original file line number Diff line number Diff line change
Expand Up @@ -446,19 +446,19 @@
<ID>WildcardImport:HomeScreenGrid.kt$import android.graphics.*</ID>
<ID>WildcardImport:HomeScreenGrid.kt$import org.fossify.commons.extensions.*</ID>
<ID>WildcardImport:HomeScreenGrid.kt$import org.fossify.commons.helpers.*</ID>
<ID>WildcardImport:HomeScreenGrid.kt$import org.fossify.launcher.helpers.*</ID>
<ID>WildcardImport:HomeScreenGrid.kt$import org.fossify.home.helpers.*</ID>
<ID>WildcardImport:HomeScreenGrid.kt$import kotlin.math.*</ID>
<ID>WildcardImport:HomeScreenGridItem.kt$import androidx.room.*</ID>
<ID>WildcardImport:HomeScreenGridItemsDao.kt$import androidx.room.*</ID>
<ID>WildcardImport:MainActivity.kt$import android.view.*</ID>
<ID>WildcardImport:MainActivity.kt$import org.fossify.commons.extensions.*</ID>
<ID>WildcardImport:MainActivity.kt$import org.fossify.commons.helpers.*</ID>
<ID>WildcardImport:MainActivity.kt$import org.fossify.launcher.extensions.*</ID>
<ID>WildcardImport:MainActivity.kt$import org.fossify.launcher.helpers.*</ID>
<ID>WildcardImport:MainActivity.kt$import org.fossify.home.extensions.*</ID>
<ID>WildcardImport:MainActivity.kt$import org.fossify.home.helpers.*</ID>
<ID>WildcardImport:MyAppWidgetResizeFrame.kt$import android.graphics.*</ID>
<ID>WildcardImport:RenameItemDialog.kt$import org.fossify.commons.extensions.*</ID>
<ID>WildcardImport:SettingsActivity.kt$import org.fossify.commons.extensions.*</ID>
<ID>WildcardImport:WidgetsFragment.kt$import org.fossify.commons.extensions.*</ID>
<ID>WildcardImport:WidgetsFragment.kt$import org.fossify.launcher.models.*</ID>
<ID>WildcardImport:WidgetsFragment.kt$import org.fossify.home.models.*</ID>
</CurrentIssues>
</SmellBaseline>
18 changes: 9 additions & 9 deletions app/lint-baseline.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

<issue id="CustomSplashScreen" message="The application should not provide its own launch screen" errorLine1="class SplashActivity : BaseSplashActivity() {"
errorLine2=" ~~~~~~~~~~~~~~">
<location file="src/main/kotlin/org/fossify/launcher/activities/SplashActivity.kt" line="6" column="7" />
<location file="src/main/kotlin/org.fossify.home/activities/SplashActivity.kt" line="6" column="7" />
</issue>

<issue id="LockedOrientationActivity"
Expand Down Expand Up @@ -143,37 +143,37 @@
<issue id="NotifyDataSetChanged"
message="It will always be more efficient to use more specific change events if you can. Rely on `notifyDataSetChanged` as a last resort."
errorLine1=" notifyDataSetChanged()" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location file="src/main/kotlin/org/fossify/launcher/adapters/FolderIconsAdapter.kt" line="107" column="9" />
<location file="src/main/kotlin/org.fossify.home/adapters/FolderIconsAdapter.kt" line="107" column="9" />
</issue>

<issue id="NotifyDataSetChanged"
message="It will always be more efficient to use more specific change events if you can. Rely on `notifyDataSetChanged` as a last resort."
errorLine1=" notifyDataSetChanged()" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location file="src/main/kotlin/org/fossify/launcher/adapters/LaunchersAdapter.kt" line="83" column="13" />
<location file="src/main/kotlin/org.fossify.home/adapters/LaunchersAdapter.kt" line="83" column="13" />
</issue>

<issue id="NotifyDataSetChanged"
message="It will always be more efficient to use more specific change events if you can. Rely on `notifyDataSetChanged` as a last resort."
errorLine1=" notifyDataSetChanged()" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location file="src/main/kotlin/org/fossify/launcher/adapters/LaunchersAdapter.kt" line="92" column="13" />
<location file="src/main/kotlin/org.fossify.home/adapters/LaunchersAdapter.kt" line="92" column="13" />
</issue>

<issue id="NotifyDataSetChanged"
message="It will always be more efficient to use more specific change events if you can. Rely on `notifyDataSetChanged` as a last resort."
errorLine1=" notifyDataSetChanged()" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location file="src/main/kotlin/org/fossify/launcher/adapters/LaunchersAdapter.kt" line="99" column="13" />
<location file="src/main/kotlin/org.fossify.home/adapters/LaunchersAdapter.kt" line="99" column="13" />
</issue>

<issue id="NotifyDataSetChanged"
message="It will always be more efficient to use more specific change events if you can. Rely on `notifyDataSetChanged` as a last resort."
errorLine1=" notifyDataSetChanged()" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location file="src/main/kotlin/org/fossify/launcher/adapters/WidgetsAdapter.kt" line="120" column="13" />
<location file="src/main/kotlin/org.fossify.home/adapters/WidgetsAdapter.kt" line="120" column="13" />
</issue>

<issue id="NotifyDataSetChanged"
message="It will always be more efficient to use more specific change events if you can. Rely on `notifyDataSetChanged` as a last resort."
errorLine1=" notifyDataSetChanged()" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location file="src/main/kotlin/org/fossify/launcher/adapters/WidgetsAdapter.kt" line="127" column="13" />
<location file="src/main/kotlin/org.fossify.home/adapters/WidgetsAdapter.kt" line="127" column="13" />
</issue>

<issue id="ObsoleteSdkInt"
Expand Down Expand Up @@ -249,12 +249,12 @@

<issue id="ClickableViewAccessibility" message="Custom view `MyAppWidgetHostView` overrides `onTouchEvent` but not `performClick`"
errorLine1=" override fun onTouchEvent(event: MotionEvent?): Boolean {" errorLine2=" ~~~~~~~~~~~~">
<location file="src/main/kotlin/org/fossify/launcher/views/MyAppWidgetHostView.kt" line="23" column="18" />
<location file="src/main/kotlin/org.fossify.home/views/MyAppWidgetHostView.kt" line="23" column="18" />
</issue>

<issue id="ClickableViewAccessibility" message="Custom view `MyAppWidgetResizeFrame` overrides `onTouchEvent` but not `performClick`"
errorLine1=" override fun onTouchEvent(event: MotionEvent?): Boolean {" errorLine2=" ~~~~~~~~~~~~">
<location file="src/main/kotlin/org/fossify/launcher/views/MyAppWidgetResizeFrame.kt" line="105" column="18" />
<location file="src/main/kotlin/org.fossify.home/views/MyAppWidgetResizeFrame.kt" line="105" column="18" />
</issue>

<issue id="ContentDescription" message="Missing `contentDescription` attribute on image" errorLine1=" &lt;ImageView" errorLine2=" ~~~~~~~~~">
Expand Down
242 changes: 242 additions & 0 deletions app/schemas/org.fossify.home.databases.AppsDatabase/5.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,242 @@
{
"formatVersion": 1,
"database": {
"version": 5,
"identityHash": "38ee4c5e67d8efd6cd89925eea5da205",
"entities": [
{
"tableName": "apps",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT, `title` TEXT NOT NULL, `package_name` TEXT NOT NULL, `activity_name` TEXT NOT NULL, `order` INTEGER NOT NULL, `thumbnail_color` INTEGER NOT NULL)",
"fields": [
{
"fieldPath": "id",
"columnName": "id",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "title",
"columnName": "title",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "packageName",
"columnName": "package_name",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "activityName",
"columnName": "activity_name",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "order",
"columnName": "order",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "thumbnailColor",
"columnName": "thumbnail_color",
"affinity": "INTEGER",
"notNull": true
}
],
"primaryKey": {
"autoGenerate": true,
"columnNames": [
"id"
]
},
"indices": [
{
"name": "index_apps_package_name",
"unique": true,
"columnNames": [
"package_name"
],
"orders": [],
"createSql": "CREATE UNIQUE INDEX IF NOT EXISTS `index_apps_package_name` ON `${TABLE_NAME}` (`package_name`)"
}
],
"foreignKeys": []
},
{
"tableName": "home_screen_grid_items",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT, `left` INTEGER NOT NULL, `top` INTEGER NOT NULL, `right` INTEGER NOT NULL, `bottom` INTEGER NOT NULL, `page` INTEGER NOT NULL, `package_name` TEXT NOT NULL, `activity_name` TEXT NOT NULL, `title` TEXT NOT NULL, `type` INTEGER NOT NULL, `class_name` TEXT NOT NULL, `widget_id` INTEGER NOT NULL, `shortcut_id` TEXT NOT NULL, `icon` BLOB, `docked` INTEGER NOT NULL, `parent_id` INTEGER)",
"fields": [
{
"fieldPath": "id",
"columnName": "id",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "left",
"columnName": "left",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "top",
"columnName": "top",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "right",
"columnName": "right",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "bottom",
"columnName": "bottom",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "page",
"columnName": "page",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "packageName",
"columnName": "package_name",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "activityName",
"columnName": "activity_name",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "title",
"columnName": "title",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "type",
"columnName": "type",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "className",
"columnName": "class_name",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "widgetId",
"columnName": "widget_id",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "shortcutId",
"columnName": "shortcut_id",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "icon",
"columnName": "icon",
"affinity": "BLOB",
"notNull": false
},
{
"fieldPath": "docked",
"columnName": "docked",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "parentId",
"columnName": "parent_id",
"affinity": "INTEGER",
"notNull": false
}
],
"primaryKey": {
"autoGenerate": true,
"columnNames": [
"id"
]
},
"indices": [
{
"name": "index_home_screen_grid_items_id",
"unique": true,
"columnNames": [
"id"
],
"orders": [],
"createSql": "CREATE UNIQUE INDEX IF NOT EXISTS `index_home_screen_grid_items_id` ON `${TABLE_NAME}` (`id`)"
}
],
"foreignKeys": []
},
{
"tableName": "hidden_icons",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT, `package_name` TEXT NOT NULL, `activity_name` TEXT NOT NULL, `title` TEXT NOT NULL)",
"fields": [
{
"fieldPath": "id",
"columnName": "id",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "packageName",
"columnName": "package_name",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "activityName",
"columnName": "activity_name",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "title",
"columnName": "title",
"affinity": "TEXT",
"notNull": true
}
],
"primaryKey": {
"autoGenerate": true,
"columnNames": [
"id"
]
},
"indices": [
{
"name": "index_hidden_icons_id",
"unique": true,
"columnNames": [
"id"
],
"orders": [],
"createSql": "CREATE UNIQUE INDEX IF NOT EXISTS `index_hidden_icons_id` ON `${TABLE_NAME}` (`id`)"
}
],
"foreignKeys": []
}
],
"views": [],
"setupQueries": [
"CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)",
"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, '38ee4c5e67d8efd6cd89925eea5da205')"
]
}
}
Loading

0 comments on commit e1c7d11

Please sign in to comment.