cmsdk: Update documentation for Boysenberry release.
Change-Id: I5bbd18d2d182b0c2fbecdc19484a4e6533b0fb28
This commit is contained in:
parent
bc2ea6b4a7
commit
99b8c5d9f3
|
@ -39,20 +39,23 @@ import com.android.internal.R;
|
|||
* The ProfileManager allows you to create {@link Profile}s and {@link ProfileGroup}s to create
|
||||
* specific behavior states depending on triggers from hardware devices changing states, such as:
|
||||
*
|
||||
* WiFi being enabled
|
||||
* WiFi connecting to a certain AP
|
||||
* Bluetooth connecting to a certain device
|
||||
* Bluetooth disconnecting to a certain device
|
||||
* NFC tag being scanned
|
||||
* <pre class="prettyprint">
|
||||
* WiFi being enabled
|
||||
* WiFi connecting to a certain AP
|
||||
* Bluetooth connecting to a certain device
|
||||
* Bluetooth disconnecting to a certain device
|
||||
* NFC tag being scanned
|
||||
* </pre>
|
||||
*
|
||||
* <p>
|
||||
* Depending on these triggers, you can override connection settings, lockscreen modes, media
|
||||
* stream volumes and various other settings.
|
||||
*<p>
|
||||
*
|
||||
* <p>
|
||||
* To get the instance of this class, utilize ProfileManager#getInstance(Context context)
|
||||
*
|
||||
* This manager requires the {@link cyanogenmod.platform.Manifest.permission.MODIFY_PROFILES}
|
||||
* permission.
|
||||
* <p>
|
||||
* This manager requires the MODIFY_PROFILES permission.
|
||||
*
|
||||
* @see cyanogenmod.app.Profile
|
||||
* @see cyanogenmod.app.ProfileGroup
|
||||
|
|
|
@ -30,8 +30,10 @@ import java.util.List;
|
|||
/**
|
||||
* Manages access to CyanogenMod hardware extensions
|
||||
*
|
||||
* <p>
|
||||
* This manager requires the HARDWARE_ABSTRACTION_ACCESS permission.
|
||||
* <p>
|
||||
* To get the instance of this class, utilize CMHardwareManager#getInstance(Context context)
|
||||
*
|
||||
*/
|
||||
public final class CMHardwareManager {
|
||||
private static final String TAG = "CMHardwareManager";
|
||||
|
|
|
@ -88,7 +88,21 @@ public class Build {
|
|||
public static final int APRICOT = 1;
|
||||
|
||||
/**
|
||||
* July 2015 - ?: The second version of the platform sdk for CyanogenMod
|
||||
* September 2015: The second version of the platform sdk for CyanogenMod
|
||||
*
|
||||
* <p>Applications targeting this or a later release will get these
|
||||
* new features:</p>
|
||||
* <ul>
|
||||
* <li>Profiles API via {@link cyanogenmod.app.ProfileManager}
|
||||
* <li>New Expanded Styles for Custom Tiles via
|
||||
* {@link cyanogenmod.app.CustomTile.RemoteExpandedStyle}
|
||||
* <li>Hardware Abstraction Framework Access via
|
||||
* {@link cyanogenmod.hardware.CMHardwareManager} (Not for use by 3rd parties)
|
||||
* <li>MSIM API via {@link cyanogenmod.app.CMTelephonyManager}
|
||||
* <li>Settings interface for partners via {@link cyanogenmod.app.SettingsManager}
|
||||
* <li>Introductory Settings Provider {@link cyanogenmod.providers.CMSettings}
|
||||
* <li>AlarmClock API via {@link cyanogenmod.alarmclock.CyanogenModAlarmClock}
|
||||
* </ul>
|
||||
*/
|
||||
public static final int BOYSENBERRY = 2;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue