You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That's great @arnab-kundu . Unfortunately since I don't have access to these phones, I cannot really test this out but I would be glad to review a PR that integrated this phone into the library.
@judemanutd could me tell me how do you find this AutoStartActivity's fully qualified package name for these devices. Please let me know if any tool you have used for this. I have tried with android studio'slogcat and Appuim tool but no luck yet. PACKAGE_XIAOMI_COMPONENT = "com.miui.permcenter.autostart.AutoStartManagementActivity"
or PACKAGE_HONOR_COMPONENT = "com.huawei.systemmanager.optimize.process.ProtectActivity"
Hey @arnab-kundu unfortunately there is no tool, atleast none that I have found. The way I found it for Xiaomi was pure luck. You need to switch the logcat to watch for all logs, and then watch the logs for any activity events that occurs while opening the autostart screen on your phone. The package could be a parent package so it might pop up a few screens before the autostart screen as well. Once you have a list of package names on hand, from there is a matter of trying every package name with every other package name which is exactly what the library does as well once you look at the source code.
Activity
arnab-kundu commentedon Mar 31, 2021
FYI. realme is using coloros. I was doing some RND the package name I found is
com.coloros.safecenterjudemanutd commentedon Mar 31, 2021
That's great @arnab-kundu . Unfortunately since I don't have access to these phones, I cannot really test this out but I would be glad to review a PR that integrated this phone into the library.
arnab-kundu commentedon Apr 1, 2021
@judemanutd could me tell me how do you find this
AutoStartActivity'sfully qualifiedpackage namefor these devices. Please let me know if any tool you have used for this. I have tried withandroid studio'slogcatand Appuim tool but no luck yet.PACKAGE_XIAOMI_COMPONENT = "com.miui.permcenter.autostart.AutoStartManagementActivity"or
PACKAGE_HONOR_COMPONENT = "com.huawei.systemmanager.optimize.process.ProtectActivity"judemanutd commentedon Apr 1, 2021
Hey @arnab-kundu unfortunately there is no tool, atleast none that I have found. The way I found it for Xiaomi was pure luck. You need to switch the logcat to watch for all logs, and then watch the logs for any activity events that occurs while opening the autostart screen on your phone. The package could be a parent package so it might pop up a few screens before the autostart screen as well. Once you have a list of package names on hand, from there is a matter of trying every package name with every other package name which is exactly what the library does as well once you look at the source code.
krunalpatel3 commentedon Oct 18, 2023
i m also facing same issue i can not find auto start intent filter for realme devices
krunalpatel3 commentedon Oct 18, 2023
https://stackoverflow.com/questions/77314189/ask-auto-start-permission-in-realme-devices