Skip to content

Added: MiCTS as a device assistant #89

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

NepMods
Copy link

@NepMods NepMods commented Jul 20, 2025

Hello mods,

i have been using MiCTS for a while now.

And i have a problem in my default rom where i cant configure the gesture nav to open CTS.

I used MacroDroid to act as assistant and open this app but i dont like it since its not OpenSource
but also a paid software.

so i have added ability for MiCTS to act as Device Assistant and lunch when assistant is called.

also i have added Nepali Translation, because i am native of the language

Copy link
Contributor

PR Reviewer Guide 🔍

Here are some key observations to aid the review process:

⏱️ Estimated effort to review: 2 🔵🔵⚪⚪⚪
🧪 No relevant tests
🔒 No security concerns identified
⚡ Recommended focus areas for review

Permission Issue

The BIND_VOICE_INTERACTION permission is a system-level permission that requires the app to be signed with the system signature or be a system app. Regular apps cannot obtain this permission, which may cause the assistant functionality to fail.

<uses-permission android:name="android.permission.BIND_VOICE_INTERACTION"
    tools:ignore="ProtectedPermissions" />
Intent Filter

The ASSIST intent filter is added to MainActivity which has noHistory=true and excludeFromRecents=true. This configuration may not be appropriate for an assistant app that should maintain state and be accessible from recent apps.

<intent-filter>
    <action android:name="android.intent.action.ASSIST" />
    <category android:name="android.intent.category.DEFAULT" />
</intent-filter>

Copy link
Contributor

qodo-merge-for-open-source bot commented Jul 20, 2025

PR Code Suggestions ✨

No code suggestions found for the PR.

@NepMods
Copy link
Author

NepMods commented Jul 20, 2025

i was Testing VoiceInteractionService before. but i later chose to use android.intent.action.ASSIST. the permission BIND_VOICE_INTERACTION wont cause anything since its only granted to system apps

@NepMods NepMods requested a review from parallelcc August 5, 2025 13:38
@parallelcc
Copy link
Owner

Thanks for the PR!

  • Regarding the change that makes MiCTS as a digital assistant: as explained in FEATURE REQUEST - app as digital assistant #27 (comment), I don’t plan to support that since it could confuse non-root users, so please remove this part

  • There are some merge conflicts to resolve and a few extra blank lines that could be cleaned up

Once those are fixed, the rest of the changes look good

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants