Skip to content

Commit

Permalink
Added a new flag to suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
polodarb committed Dec 1, 2023
1 parent c7c0c2c commit 8ae8afe
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 18 deletions.
22 changes: 20 additions & 2 deletions app/src/main/assets/suggestedFlags_2.0.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
"appPackage": "com.google.android.apps.messaging",
"minAppVersionCode": null,
"minAndroidSdkCode": null,
"details": "https://t.me/gmsflags_content/22",
"details": "https://t.me/gmsflags_content/23",
"enabled": true
},
{
Expand Down Expand Up @@ -129,7 +129,25 @@
}
],
"secondary": [
{
{
"name": "Note creation AI tool in Keep",
"source": "Danyil Kobzar",
"note": null,
"flags": [
{
"tag": "45427377",
"type": "bool",
"value": "1"
}
],
"flagPackage": "com.google.android.keep#com.google.android.keep",
"appPackage": "com.google.android.keep",
"minAppVersionCode": 220542111,
"minAndroidSdkCode": null,
"details": "https://t.me/gmsflags_content/24",
"enabled": true
},
{
"name": "Bottom search bar in Google App",
"source": "Nail Sadykov",
"note": "Requires Google app data reset!",
Expand Down
16 changes: 0 additions & 16 deletions app/src/main/java/ua/polodarb/gmsflags/ui/MainActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -55,22 +55,6 @@ class MainActivity : ComponentActivity() {
if (!isFirstStart) setKeepOnScreenCondition { !appContext.isRootDatabaseInitialized }
}

Log.d("intent", intent.toString())

if (intent != null && intent.action == Intent.ACTION_VIEW && intent.type == "text/plain") {
Toast.makeText(this, "Load from file", Toast.LENGTH_SHORT).show()
val uri = intent.data
Log.d("intent", "data - ${intent.data}")
Log.d("intent", "data-encodedQuery - ${intent.data?.encodedQuery}")
Log.d("intent", "extras - ${intent.extras}")
Log.d("intent", "action - ${intent.action}")
Log.d("intent", "categories - ${intent.categories}")
Log.d("intent", "flags - ${intent.flags}")
Log.d("intent", "identifier - ${intent.identifier}")
Log.d("intent", "identifier - ${intent.`package`}")
Log.d("intent", "type - ${intent.type}")
}

WindowCompat.setDecorFitsSystemWindows(window, false)

setContent {
Expand Down

0 comments on commit 8ae8afe

Please sign in to comment.