--
You received this message because you are subscribed to the Google Groups "Tasker" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tasker+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/tasker.
For more options, visit https://groups.google.com/d/optout.
>
> Wouldn't that list Tasker profiles that are enabled? That's how I read it in the docs.
Correct..
>
> I'm looking at the work profile, which is an android feature (linked above).
>
Tasker is capable of listening for many different types of triggers. You have to give some more details on what this profile does that might signal when it it active IE..
- notification
- app in the background
- service running
Or anything that is noticeably different on your device when it is enabled.
What is a work profile?
Enabling a work profile allows organizations to manage the business data and applications they care about, but leave everything else on a device under the user’s control. Administrators control work profiles, which are kept separate from personal accounts, apps, and data. By default, work profile notifications and app icons have a red briefcase so they’re easy to distinguish from personal apps. Work profiles allow an IT department to securely manage a work environment without restricting users from using their device for personal apps and data.
--
> At this point I feel like I'm being trolled.
Why?
>
> I'm not trying to do anything with a profile in task.
Yup, got that.
I'm asking if there is a way to detect the state of the android work profile.
You might want to re-read my post.
It's unfortunate that the word "profile" is in the name of "work profile", and people are on this list are confusing that with a "tasker profile".
Nope.
>> What is a work profile?
Yup, that's the description in the link.
But neither the link or your description give any clues on how to detect the "Android" profile is enabled
But neither the link or your description give any clues on how to detect the "Android" profile is enabled
Store a small file in the root directory of the work profile. Then to check which profile you are currently using simply check for the existence of this file. If it exists, then you are using the work profile.