The stock Cyanogenmod ROM has support for profiles baked in and although I'm not sure if this is a part of the default Android functionality, I was wondering if it is possible to get the name of the currently selected profile.
I haven't been able to find any developer documentation on this.
(Assuming that the Android SDK doesn't support this, can a superuser app implement this functionality?)
Thanks
Trudging through some CM source I found the source code for the ProfileManager. The methods are public so I guess I don't need to go down the rabbit-hole of Java reflection...but in order to use these classes, I need some Cyanogenmod JARs to build against.