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.content.pm.PackageManager
     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">24</td>
     50       </tr>
     51       <tr>
     52         <td class="diffspec">From Level:</td>
     53         <td class="diffvalueold">23</td>
     54       </tr>
     55       <tr>
     56         <td class="diffspec">Generated</td>
     57         <td class="diffvalue">2016.06.13 13:31</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.content.pm.<A HREF="../../../../reference/android/content/pm/PackageManager.html" target="_top"><font size="+2"><code>PackageManager</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.content.pm.PackageManager.getPackageGids_added(java.lang.String, int)"></A>
     87   <nobr><code>int[]</code>&nbsp;<A HREF="../../../../reference/android/content/pm/PackageManager.html#getPackageGids(java.lang.String, int)" target="_top"><code>getPackageGids</code></A>(<code>String,</nobr> int<nobr><nobr></code>)</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.content.pm.PackageManager.getPackageUid_added(java.lang.String, int)"></A>
     94   <nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/content/pm/PackageManager.html#getPackageUid(java.lang.String, int)" target="_top"><code>getPackageUid</code></A>(<code>String,</nobr> int<nobr><nobr></code>)</nobr>
     95   </TD>
     96   <TD>&nbsp;</TD>
     97 </TR>
     98 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
     99   <TD VALIGN="TOP" WIDTH="25%">
    100   <A NAME="android.content.pm.PackageManager.hasSystemFeature_added(java.lang.String, int)"></A>
    101   <nobr><code>boolean</code>&nbsp;<A HREF="../../../../reference/android/content/pm/PackageManager.html#hasSystemFeature(java.lang.String, int)" target="_top"><code>hasSystemFeature</code></A>(<code>String,</nobr> int<nobr><nobr></code>)</nobr>
    102   </TD>
    103   <TD>&nbsp;</TD>
    104 </TR>
    105 </TABLE>
    106 &nbsp;
    107 <a NAME="fields"></a>
    108 <p>
    109 <a NAME="Added"></a>
    110 <TABLE summary="Added Fields" WIDTH="100%">
    111 <TR>
    112   <TH VALIGN="TOP" COLSPAN=2>Added Fields</FONT></TD>
    113 </TH>
    114 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    115   <TD VALIGN="TOP" WIDTH="25%">
    116   <A NAME="android.content.pm.PackageManager.FEATURE_ETHERNET"></A>
    117   <nobr><code>String</code>&nbsp;<A HREF="../../../../reference/android/content/pm/PackageManager.html#FEATURE_ETHERNET" target="_top"><code>FEATURE_ETHERNET</code></A></nobr>
    118   </TD>
    119   <TD>&nbsp;</TD>
    120 </TR>
    121 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    122   <TD VALIGN="TOP" WIDTH="25%">
    123   <A NAME="android.content.pm.PackageManager.FEATURE_FREEFORM_WINDOW_MANAGEMENT"></A>
    124   <nobr><code>String</code>&nbsp;<A HREF="../../../../reference/android/content/pm/PackageManager.html#FEATURE_FREEFORM_WINDOW_MANAGEMENT" target="_top"><code>FEATURE_FREEFORM_WINDOW_MANAGEMENT</code></A></nobr>
    125   </TD>
    126   <TD>&nbsp;</TD>
    127 </TR>
    128 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    129   <TD VALIGN="TOP" WIDTH="25%">
    130   <A NAME="android.content.pm.PackageManager.FEATURE_NFC_HOST_CARD_EMULATION_NFCF"></A>
    131   <nobr><code>String</code>&nbsp;<A HREF="../../../../reference/android/content/pm/PackageManager.html#FEATURE_NFC_HOST_CARD_EMULATION_NFCF" target="_top"><code>FEATURE_NFC_HOST_CARD_EMULATION_NFCF</code></A></nobr>
    132   </TD>
    133   <TD>&nbsp;</TD>
    134 </TR>
    135 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    136   <TD VALIGN="TOP" WIDTH="25%">
    137   <A NAME="android.content.pm.PackageManager.FEATURE_PICTURE_IN_PICTURE"></A>
    138   <nobr><code>String</code>&nbsp;<A HREF="../../../../reference/android/content/pm/PackageManager.html#FEATURE_PICTURE_IN_PICTURE" target="_top"><code>FEATURE_PICTURE_IN_PICTURE</code></A></nobr>
    139   </TD>
    140   <TD>&nbsp;</TD>
    141 </TR>
    142 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    143   <TD VALIGN="TOP" WIDTH="25%">
    144   <A NAME="android.content.pm.PackageManager.FEATURE_VR_MODE"></A>
    145   <nobr><code>String</code>&nbsp;<A HREF="../../../../reference/android/content/pm/PackageManager.html#FEATURE_VR_MODE" target="_top"><code>FEATURE_VR_MODE</code></A></nobr>
    146   </TD>
    147   <TD>&nbsp;</TD>
    148 </TR>
    149 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    150   <TD VALIGN="TOP" WIDTH="25%">
    151   <A NAME="android.content.pm.PackageManager.FEATURE_VR_MODE_HIGH_PERFORMANCE"></A>
    152   <nobr><code>String</code>&nbsp;<A HREF="../../../../reference/android/content/pm/PackageManager.html#FEATURE_VR_MODE_HIGH_PERFORMANCE" target="_top"><code>FEATURE_VR_MODE_HIGH_PERFORMANCE</code></A></nobr>
    153   </TD>
    154   <TD>&nbsp;</TD>
    155 </TR>
    156 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    157   <TD VALIGN="TOP" WIDTH="25%">
    158   <A NAME="android.content.pm.PackageManager.FEATURE_VULKAN_HARDWARE_LEVEL"></A>
    159   <nobr><code>String</code>&nbsp;<A HREF="../../../../reference/android/content/pm/PackageManager.html#FEATURE_VULKAN_HARDWARE_LEVEL" target="_top"><code>FEATURE_VULKAN_HARDWARE_LEVEL</code></A></nobr>
    160   </TD>
    161   <TD>&nbsp;</TD>
    162 </TR>
    163 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    164   <TD VALIGN="TOP" WIDTH="25%">
    165   <A NAME="android.content.pm.PackageManager.FEATURE_VULKAN_HARDWARE_VERSION"></A>
    166   <nobr><code>String</code>&nbsp;<A HREF="../../../../reference/android/content/pm/PackageManager.html#FEATURE_VULKAN_HARDWARE_VERSION" target="_top"><code>FEATURE_VULKAN_HARDWARE_VERSION</code></A></nobr>
    167   </TD>
    168   <TD>&nbsp;</TD>
    169 </TR>
    170 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    171   <TD VALIGN="TOP" WIDTH="25%">
    172   <A NAME="android.content.pm.PackageManager.MATCH_DIRECT_BOOT_AWARE"></A>
    173   <nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/content/pm/PackageManager.html#MATCH_DIRECT_BOOT_AWARE" target="_top"><code>MATCH_DIRECT_BOOT_AWARE</code></A></nobr>
    174   </TD>
    175   <TD>&nbsp;</TD>
    176 </TR>
    177 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    178   <TD VALIGN="TOP" WIDTH="25%">
    179   <A NAME="android.content.pm.PackageManager.MATCH_DIRECT_BOOT_UNAWARE"></A>
    180   <nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/content/pm/PackageManager.html#MATCH_DIRECT_BOOT_UNAWARE" target="_top"><code>MATCH_DIRECT_BOOT_UNAWARE</code></A></nobr>
    181   </TD>
    182   <TD>&nbsp;</TD>
    183 </TR>
    184 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    185   <TD VALIGN="TOP" WIDTH="25%">
    186   <A NAME="android.content.pm.PackageManager.MATCH_DISABLED_COMPONENTS"></A>
    187   <nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/content/pm/PackageManager.html#MATCH_DISABLED_COMPONENTS" target="_top"><code>MATCH_DISABLED_COMPONENTS</code></A></nobr>
    188   </TD>
    189   <TD>&nbsp;</TD>
    190 </TR>
    191 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    192   <TD VALIGN="TOP" WIDTH="25%">
    193   <A NAME="android.content.pm.PackageManager.MATCH_DISABLED_UNTIL_USED_COMPONENTS"></A>
    194   <nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/content/pm/PackageManager.html#MATCH_DISABLED_UNTIL_USED_COMPONENTS" target="_top"><code>MATCH_DISABLED_UNTIL_USED_COMPONENTS</code></A></nobr>
    195   </TD>
    196   <TD>&nbsp;</TD>
    197 </TR>
    198 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    199   <TD VALIGN="TOP" WIDTH="25%">
    200   <A NAME="android.content.pm.PackageManager.MATCH_SYSTEM_ONLY"></A>
    201   <nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/content/pm/PackageManager.html#MATCH_SYSTEM_ONLY" target="_top"><code>MATCH_SYSTEM_ONLY</code></A></nobr>
    202   </TD>
    203   <TD>&nbsp;</TD>
    204 </TR>
    205 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    206   <TD VALIGN="TOP" WIDTH="25%">
    207   <A NAME="android.content.pm.PackageManager.MATCH_UNINSTALLED_PACKAGES"></A>
    208   <nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/content/pm/PackageManager.html#MATCH_UNINSTALLED_PACKAGES" target="_top"><code>MATCH_UNINSTALLED_PACKAGES</code></A></nobr>
    209   </TD>
    210   <TD>&nbsp;</TD>
    211 </TR>
    212 </TABLE>
    213 &nbsp;
    214 <p>
    215 <a NAME="Changed"></a>
    216 <TABLE summary="Changed Fields" WIDTH="100%">
    217 <TR>
    218   <TH VALIGN="TOP" COLSPAN=3>Changed Fields</FONT></TD>
    219 </TH>
    220 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    221   <TD VALIGN="TOP" WIDTH="25%">
    222   <A NAME="android.content.pm.PackageManager.GET_DISABLED_COMPONENTS"></A>
    223   <nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/content/pm/PackageManager.html#GET_DISABLED_COMPONENTS" target="_top"><code>GET_DISABLED_COMPONENTS</code></font></A></nobr>  </TD>
    224   <TD VALIGN="TOP" WIDTH="30%">
    225 <b>Now deprecated</b>.<br>
    226   </TD>
    227   <TD>&nbsp;</TD>
    228 </TR>
    229 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    230   <TD VALIGN="TOP" WIDTH="25%">
    231   <A NAME="android.content.pm.PackageManager.GET_DISABLED_UNTIL_USED_COMPONENTS"></A>
    232   <nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/content/pm/PackageManager.html#GET_DISABLED_UNTIL_USED_COMPONENTS" target="_top"><code>GET_DISABLED_UNTIL_USED_COMPONENTS</code></font></A></nobr>  </TD>
    233   <TD VALIGN="TOP" WIDTH="30%">
    234 <b>Now deprecated</b>.<br>
    235   </TD>
    236   <TD>&nbsp;</TD>
    237 </TR>
    238 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    239   <TD VALIGN="TOP" WIDTH="25%">
    240   <A NAME="android.content.pm.PackageManager.GET_UNINSTALLED_PACKAGES"></A>
    241   <nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/content/pm/PackageManager.html#GET_UNINSTALLED_PACKAGES" target="_top"><code>GET_UNINSTALLED_PACKAGES</code></font></A></nobr>  </TD>
    242   <TD VALIGN="TOP" WIDTH="30%">
    243 <b>Now deprecated</b>.<br>
    244   </TD>
    245   <TD>&nbsp;</TD>
    246 </TR>
    247 </TABLE>
    248 &nbsp;
    249       </div>	
    250       <div id="footer">
    251         <div id="copyright">
    252         Except as noted, this content is licensed under 
    253         <a href="//creativecommons.org/licenses/by/2.5/"> Creative Commons Attribution 2.5</a>.
    254         For details and restrictions, see the <a href="/license.html">Content License</a>.
    255         </div>
    256       <div id="footerlinks">
    257       <p>
    258         <a href="//www.android.com/terms.html">Site Terms of Service</a> -
    259         <a href="//www.android.com/privacy.html">Privacy Policy</a> -
    260         <a href="//www.android.com/branding.html">Brand Guidelines</a>
    261       </p>
    262     </div>
    263     </div> <!-- end footer -->
    264     </div><!-- end doc-content -->
    265     </div> <!-- end body-content --> 
    266 <script src="//www.google-analytics.com/ga.js" type="text/javascript">
    267 </script>
    268 <script type="text/javascript">
    269   try {
    270     var pageTracker = _gat._getTracker("UA-5831155-1");
    271     pageTracker._setAllowAnchor(true);
    272     pageTracker._initData();
    273     pageTracker._trackPageview();
    274   } catch(e) {}
    275 </script>
    276 </BODY>
    277 </HTML>
    278