Home | History | Annotate | Download | only in changes
      1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "//www.w3.org/TR/html4/strict.dtd">
      2 <HTML style="overflow:auto;">
      3 <HEAD>
      4 <meta name="generator" content="JDiff v1.1.0">
      5 <!-- Generated by the JDiff Javadoc doclet -->
      6 <!-- (http://www.jdiff.org) -->
      7 <meta name="description" content="JDiff is a Javadoc doclet which generates an HTML report of all the packages, classes, constructors, methods, and fields which have been removed, added or changed in any way, including their documentation, when two APIs are compared.">
      8 <meta name="keywords" content="diff, jdiff, javadiff, java diff, java difference, API difference, difference between two APIs, API diff, Javadoc, doclet">
      9 <TITLE>
     10 android.os.UserManager
     11 </TITLE>
     12 <link href="../../../../assets/android-developer-docs.css" rel="stylesheet" type="text/css" />
     13 <link href="../stylesheet-jdiff.css" rel="stylesheet" type="text/css" />
     14 <noscript>
     15 <style type="text/css">
     16 body{overflow:auto;}
     17 #body-content{position:relative; top:0;}
     18 #doc-content{overflow:visible;border-left:3px solid #666;}
     19 #side-nav{padding:0;}
     20 #side-nav .toggle-list ul {display:block;}
     21 #resize-packages-nav{border-bottom:3px solid #666;}
     22 </style>
     23 </noscript>
     24 <style type="text/css">
     25 </style>
     26 </HEAD>
     27 <BODY>
     28 <!-- Start of nav bar -->
     29 <a name="top"></a>
     30 <div id="header" style="margin-bottom:0;padding-bottom:0;">
     31 <div id="headerLeft">
     32 <a href="../../../../index.html" tabindex="-1" target="_top"><img src="../../../../assets/images/bg_logo.png" alt="Android Developers" /></a>
     33 </div>
     34   <div id="headerRight">
     35   <div id="headerLinks">
     36 <!-- <img src="/assets/images/icon_world.jpg" alt="" /> -->
     37 <span class="text">
     38 <!-- &nbsp;<a href="#">English</a> | -->
     39 <nobr><a href="//developer.android.com" target="_top">Android Developers</a> | <a href="//www.android.com" target="_top">Android.com</a></nobr>
     40 </span>
     41 </div>
     42   <div class="and-diff-id" style="margin-top:6px;margin-right:8px;">
     43     <table class="diffspectable">
     44       <tr>
     45         <td colspan="2" class="diffspechead">API Diff Specification</td>
     46       </tr>
     47       <tr>
     48         <td class="diffspec" style="padding-top:.25em">To Level:</td>
     49         <td class="diffvaluenew" style="padding-top:.25em">21</td>
     50       </tr>
     51       <tr>
     52         <td class="diffspec">From Level:</td>
     53         <td class="diffvalueold">20</td>
     54       </tr>
     55       <tr>
     56         <td class="diffspec">Generated</td>
     57         <td class="diffvalue">2014.10.15 15:01</td>
     58       </tr>
     59     </table>
     60     </div><!-- End and-diff-id -->
     61   <div class="and-diff-id" style="margin-right:8px;">
     62     <table class="diffspectable">
     63       <tr>
     64         <td class="diffspec" colspan="2"><a href="jdiff_statistics.html">Statistics</a>
     65       </tr>
     66     </table>
     67   </div> <!-- End and-diff-id -->
     68   </div> <!-- End headerRight -->
     69   </div> <!-- End header -->
     70 <div id="body-content" xstyle="padding:12px;padding-right:18px;">
     71 <div id="doc-content" style="position:relative;">
     72 <div id="mainBodyFluid">
     73 <H2>
     74 Class android.os.<A HREF="../../../../reference/android/os/UserManager.html" target="_top"><font size="+2"><code>UserManager</code></font></A>
     75 </H2>
     76 <a NAME="constructors"></a>
     77 <a NAME="methods"></a>
     78 <p>
     79 <a NAME="Added"></a>
     80 <TABLE summary="Added Methods" WIDTH="100%">
     81 <TR>
     82   <TH VALIGN="TOP" COLSPAN=2>Added Methods</FONT></TD>
     83 </TH>
     84 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
     85   <TD VALIGN="TOP" WIDTH="25%">
     86   <A NAME="android.os.UserManager.getUserProfiles_added()"></A>
     87   <nobr><code>List&lt;UserHandle&gt;</code>&nbsp;<A HREF="../../../../reference/android/os/UserManager.html#getUserProfiles()" target="_top"><code>getUserProfiles</code></A>()</nobr>
     88   </TD>
     89   <TD>&nbsp;</TD>
     90 </TR>
     91 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
     92   <TD VALIGN="TOP" WIDTH="25%">
     93   <A NAME="android.os.UserManager.hasUserRestriction_added(java.lang.String)"></A>
     94   <nobr><code>boolean</code>&nbsp;<A HREF="../../../../reference/android/os/UserManager.html#hasUserRestriction(java.lang.String)" target="_top"><code>hasUserRestriction</code></A>(<code>String</code>)</nobr>
     95   </TD>
     96   <TD>&nbsp;</TD>
     97 </TR>
     98 </TABLE>
     99 &nbsp;
    100 <p>
    101 <a NAME="Changed"></a>
    102 <TABLE summary="Changed Methods" WIDTH="100%">
    103 <TR>
    104   <TH VALIGN="TOP" COLSPAN=3>Changed Methods</FONT></TD>
    105 </TH>
    106 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    107   <TD VALIGN="TOP" WIDTH="25%">
    108   <A NAME="android.os.UserManager.setUserRestriction_changed(java.lang.String, boolean)"></A>
    109   <nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/os/UserManager.html#setUserRestriction(java.lang.String, boolean)" target="_top"><code>setUserRestriction</code></A>(<code>String,</nobr> boolean<nobr><nobr></code>)  </nobr>
    110   </TD>
    111   <TD VALIGN="TOP" WIDTH="30%">
    112 <b>Now deprecated</b>.<br>
    113   </TD>
    114   <TD>&nbsp;</TD>
    115 </TR>
    116 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    117   <TD VALIGN="TOP" WIDTH="25%">
    118   <A NAME="android.os.UserManager.setUserRestrictions_changed(android.os.Bundle)"></A>
    119   <nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/os/UserManager.html#setUserRestrictions(android.os.Bundle)" target="_top"><code>setUserRestrictions</code></A>(<code>Bundle</code>)  </nobr>
    120   </TD>
    121   <TD VALIGN="TOP" WIDTH="30%">
    122 <b>Now deprecated</b>.<br>
    123   </TD>
    124   <TD>&nbsp;</TD>
    125 </TR>
    126 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    127   <TD VALIGN="TOP" WIDTH="25%">
    128   <A NAME="android.os.UserManager.setUserRestrictions_changed(android.os.Bundle, android.os.UserHandle)"></A>
    129   <nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/os/UserManager.html#setUserRestrictions(android.os.Bundle, android.os.UserHandle)" target="_top"><code>setUserRestrictions</code></A>(<code>Bundle,</nobr> UserHandle<nobr><nobr></code>)  </nobr>
    130   </TD>
    131   <TD VALIGN="TOP" WIDTH="30%">
    132 <b>Now deprecated</b>.<br>
    133   </TD>
    134   <TD>&nbsp;</TD>
    135 </TR>
    136 </TABLE>
    137 &nbsp;
    138 <a NAME="fields"></a>
    139 <p>
    140 <a NAME="Added"></a>
    141 <TABLE summary="Added Fields" WIDTH="100%">
    142 <TR>
    143   <TH VALIGN="TOP" COLSPAN=2>Added Fields</FONT></TD>
    144 </TH>
    145 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    146   <TD VALIGN="TOP" WIDTH="25%">
    147   <A NAME="android.os.UserManager.DISALLOW_ADD_USER"></A>
    148   <nobr><code>String</code>&nbsp;<A HREF="../../../../reference/android/os/UserManager.html#DISALLOW_ADD_USER" target="_top"><code>DISALLOW_ADD_USER</code></A></nobr>
    149   </TD>
    150   <TD>&nbsp;</TD>
    151 </TR>
    152 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    153   <TD VALIGN="TOP" WIDTH="25%">
    154   <A NAME="android.os.UserManager.DISALLOW_ADJUST_VOLUME"></A>
    155   <nobr><code>String</code>&nbsp;<A HREF="../../../../reference/android/os/UserManager.html#DISALLOW_ADJUST_VOLUME" target="_top"><code>DISALLOW_ADJUST_VOLUME</code></A></nobr>
    156   </TD>
    157   <TD>&nbsp;</TD>
    158 </TR>
    159 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    160   <TD VALIGN="TOP" WIDTH="25%">
    161   <A NAME="android.os.UserManager.DISALLOW_APPS_CONTROL"></A>
    162   <nobr><code>String</code>&nbsp;<A HREF="../../../../reference/android/os/UserManager.html#DISALLOW_APPS_CONTROL" target="_top"><code>DISALLOW_APPS_CONTROL</code></A></nobr>
    163   </TD>
    164   <TD>&nbsp;</TD>
    165 </TR>
    166 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    167   <TD VALIGN="TOP" WIDTH="25%">
    168   <A NAME="android.os.UserManager.DISALLOW_CONFIG_CELL_BROADCASTS"></A>
    169   <nobr><code>String</code>&nbsp;<A HREF="../../../../reference/android/os/UserManager.html#DISALLOW_CONFIG_CELL_BROADCASTS" target="_top"><code>DISALLOW_CONFIG_CELL_BROADCASTS</code></A></nobr>
    170   </TD>
    171   <TD>&nbsp;</TD>
    172 </TR>
    173 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    174   <TD VALIGN="TOP" WIDTH="25%">
    175   <A NAME="android.os.UserManager.DISALLOW_CONFIG_MOBILE_NETWORKS"></A>
    176   <nobr><code>String</code>&nbsp;<A HREF="../../../../reference/android/os/UserManager.html#DISALLOW_CONFIG_MOBILE_NETWORKS" target="_top"><code>DISALLOW_CONFIG_MOBILE_NETWORKS</code></A></nobr>
    177   </TD>
    178   <TD>&nbsp;</TD>
    179 </TR>
    180 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    181   <TD VALIGN="TOP" WIDTH="25%">
    182   <A NAME="android.os.UserManager.DISALLOW_CONFIG_TETHERING"></A>
    183   <nobr><code>String</code>&nbsp;<A HREF="../../../../reference/android/os/UserManager.html#DISALLOW_CONFIG_TETHERING" target="_top"><code>DISALLOW_CONFIG_TETHERING</code></A></nobr>
    184   </TD>
    185   <TD>&nbsp;</TD>
    186 </TR>
    187 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    188   <TD VALIGN="TOP" WIDTH="25%">
    189   <A NAME="android.os.UserManager.DISALLOW_CONFIG_VPN"></A>
    190   <nobr><code>String</code>&nbsp;<A HREF="../../../../reference/android/os/UserManager.html#DISALLOW_CONFIG_VPN" target="_top"><code>DISALLOW_CONFIG_VPN</code></A></nobr>
    191   </TD>
    192   <TD>&nbsp;</TD>
    193 </TR>
    194 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    195   <TD VALIGN="TOP" WIDTH="25%">
    196   <A NAME="android.os.UserManager.DISALLOW_CREATE_WINDOWS"></A>
    197   <nobr><code>String</code>&nbsp;<A HREF="../../../../reference/android/os/UserManager.html#DISALLOW_CREATE_WINDOWS" target="_top"><code>DISALLOW_CREATE_WINDOWS</code></A></nobr>
    198   </TD>
    199   <TD>&nbsp;</TD>
    200 </TR>
    201 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    202   <TD VALIGN="TOP" WIDTH="25%">
    203   <A NAME="android.os.UserManager.DISALLOW_CROSS_PROFILE_COPY_PASTE"></A>
    204   <nobr><code>String</code>&nbsp;<A HREF="../../../../reference/android/os/UserManager.html#DISALLOW_CROSS_PROFILE_COPY_PASTE" target="_top"><code>DISALLOW_CROSS_PROFILE_COPY_PASTE</code></A></nobr>
    205   </TD>
    206   <TD>&nbsp;</TD>
    207 </TR>
    208 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    209   <TD VALIGN="TOP" WIDTH="25%">
    210   <A NAME="android.os.UserManager.DISALLOW_DEBUGGING_FEATURES"></A>
    211   <nobr><code>String</code>&nbsp;<A HREF="../../../../reference/android/os/UserManager.html#DISALLOW_DEBUGGING_FEATURES" target="_top"><code>DISALLOW_DEBUGGING_FEATURES</code></A></nobr>
    212   </TD>
    213   <TD>&nbsp;</TD>
    214 </TR>
    215 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    216   <TD VALIGN="TOP" WIDTH="25%">
    217   <A NAME="android.os.UserManager.DISALLOW_FACTORY_RESET"></A>
    218   <nobr><code>String</code>&nbsp;<A HREF="../../../../reference/android/os/UserManager.html#DISALLOW_FACTORY_RESET" target="_top"><code>DISALLOW_FACTORY_RESET</code></A></nobr>
    219   </TD>
    220   <TD>&nbsp;</TD>
    221 </TR>
    222 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    223   <TD VALIGN="TOP" WIDTH="25%">
    224   <A NAME="android.os.UserManager.DISALLOW_MOUNT_PHYSICAL_MEDIA"></A>
    225   <nobr><code>String</code>&nbsp;<A HREF="../../../../reference/android/os/UserManager.html#DISALLOW_MOUNT_PHYSICAL_MEDIA" target="_top"><code>DISALLOW_MOUNT_PHYSICAL_MEDIA</code></A></nobr>
    226   </TD>
    227   <TD>&nbsp;</TD>
    228 </TR>
    229 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    230   <TD VALIGN="TOP" WIDTH="25%">
    231   <A NAME="android.os.UserManager.DISALLOW_OUTGOING_CALLS"></A>
    232   <nobr><code>String</code>&nbsp;<A HREF="../../../../reference/android/os/UserManager.html#DISALLOW_OUTGOING_CALLS" target="_top"><code>DISALLOW_OUTGOING_CALLS</code></A></nobr>
    233   </TD>
    234   <TD>&nbsp;</TD>
    235 </TR>
    236 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    237   <TD VALIGN="TOP" WIDTH="25%">
    238   <A NAME="android.os.UserManager.DISALLOW_SMS"></A>
    239   <nobr><code>String</code>&nbsp;<A HREF="../../../../reference/android/os/UserManager.html#DISALLOW_SMS" target="_top"><code>DISALLOW_SMS</code></A></nobr>
    240   </TD>
    241   <TD>&nbsp;</TD>
    242 </TR>
    243 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    244   <TD VALIGN="TOP" WIDTH="25%">
    245   <A NAME="android.os.UserManager.DISALLOW_UNMUTE_MICROPHONE"></A>
    246   <nobr><code>String</code>&nbsp;<A HREF="../../../../reference/android/os/UserManager.html#DISALLOW_UNMUTE_MICROPHONE" target="_top"><code>DISALLOW_UNMUTE_MICROPHONE</code></A></nobr>
    247   </TD>
    248   <TD>&nbsp;</TD>
    249 </TR>
    250 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    251   <TD VALIGN="TOP" WIDTH="25%">
    252   <A NAME="android.os.UserManager.ENSURE_VERIFY_APPS"></A>
    253   <nobr><code>String</code>&nbsp;<A HREF="../../../../reference/android/os/UserManager.html#ENSURE_VERIFY_APPS" target="_top"><code>ENSURE_VERIFY_APPS</code></A></nobr>
    254   </TD>
    255   <TD>&nbsp;</TD>
    256 </TR>
    257 </TABLE>
    258 &nbsp;
    259       </div>	
    260       <div id="footer">
    261         <div id="copyright">
    262         Except as noted, this content is licensed under 
    263         <a href="//creativecommons.org/licenses/by/2.5/"> Creative Commons Attribution 2.5</a>.
    264         For details and restrictions, see the <a href="/license.html">Content License</a>.
    265         </div>
    266       <div id="footerlinks">
    267       <p>
    268         <a href="//www.android.com/terms.html">Site Terms of Service</a> -
    269         <a href="//www.android.com/privacy.html">Privacy Policy</a> -
    270         <a href="//www.android.com/branding.html">Brand Guidelines</a>
    271       </p>
    272     </div>
    273     </div> <!-- end footer -->
    274     </div><!-- end doc-content -->
    275     </div> <!-- end body-content --> 
    276 <script src="//www.google-analytics.com/ga.js" type="text/javascript">
    277 </script>
    278 <script type="text/javascript">
    279   try {
    280     var pageTracker = _gat._getTracker("UA-5831155-1");
    281     pageTracker._setAllowAnchor(true);
    282     pageTracker._initData();
    283     pageTracker._trackPageview();
    284   } catch(e) {}
    285 </script>
    286 </BODY>
    287 </HTML>
    288