1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://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> 10android.content.ContextWrapper 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"> 16body{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<!-- <a href="#">English</a> | --> 39<nobr><a href="http://developer.android.com" target="_top">Android Developers</a> | <a href="http://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">23</td> 50 </tr> 51 <tr> 52 <td class="diffspec">From Level:</td> 53 <td class="diffvalueold">22</td> 54 </tr> 55 <tr> 56 <td class="diffspec">Generated</td> 57 <td class="diffvalue">2015.08.14 14:28</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> 74Class android.content.<A HREF="../../../../reference/android/content/ContextWrapper.html" target="_top"><font size="+2"><code>ContextWrapper</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.ContextWrapper.checkSelfPermission_added(java.lang.String)"></A> 87 <nobr><code>int</code> <A HREF="../../../../reference/android/content/ContextWrapper.html#checkSelfPermission(java.lang.String)" target="_top"><code>checkSelfPermission</code></A>(<code>String</code>)</nobr> 88 </TD> 89 <TD> </TD> 90</TR> 91<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 92 <TD VALIGN="TOP" WIDTH="25%"> 93 <A NAME="android.content.ContextWrapper.getSystemServiceName_added(java.lang.Class<?>)"></A> 94 <nobr><code>String</code> <A HREF="../../../../reference/android/content/ContextWrapper.html#getSystemServiceName(java.lang.Class<?>)" target="_top"><code>getSystemServiceName</code></A>(<code>Class<?></code>)</nobr> 95 </TD> 96 <TD> </TD> 97</TR> 98</TABLE> 99 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.content.ContextWrapper.clearWallpaper_changed()"></A> 109 <nobr><code>void</code> <A HREF="../../../../reference/android/content/ContextWrapper.html#clearWallpaper()" target="_top"><code>clearWallpaper</code></A>() </nobr> 110 </TD> 111 <TD VALIGN="TOP" WIDTH="30%"> 112<b>Now deprecated</b>.<br> 113 </TD> 114 <TD> </TD> 115</TR> 116<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 117 <TD VALIGN="TOP" WIDTH="25%"> 118 <A NAME="android.content.ContextWrapper.getWallpaper_changed()"></A> 119 <nobr><code>Drawable</code> <A HREF="../../../../reference/android/content/ContextWrapper.html#getWallpaper()" target="_top"><code>getWallpaper</code></A>() </nobr> 120 </TD> 121 <TD VALIGN="TOP" WIDTH="30%"> 122<b>Now deprecated</b>.<br> 123 </TD> 124 <TD> </TD> 125</TR> 126<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 127 <TD VALIGN="TOP" WIDTH="25%"> 128 <A NAME="android.content.ContextWrapper.getWallpaperDesiredMinimumHeight_changed()"></A> 129 <nobr><code>int</code> <A HREF="../../../../reference/android/content/ContextWrapper.html#getWallpaperDesiredMinimumHeight()" target="_top"><code>getWallpaperDesiredMinimumHeight</code></A>() </nobr> 130 </TD> 131 <TD VALIGN="TOP" WIDTH="30%"> 132<b>Now deprecated</b>.<br> 133 </TD> 134 <TD> </TD> 135</TR> 136<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 137 <TD VALIGN="TOP" WIDTH="25%"> 138 <A NAME="android.content.ContextWrapper.getWallpaperDesiredMinimumWidth_changed()"></A> 139 <nobr><code>int</code> <A HREF="../../../../reference/android/content/ContextWrapper.html#getWallpaperDesiredMinimumWidth()" target="_top"><code>getWallpaperDesiredMinimumWidth</code></A>() </nobr> 140 </TD> 141 <TD VALIGN="TOP" WIDTH="30%"> 142<b>Now deprecated</b>.<br> 143 </TD> 144 <TD> </TD> 145</TR> 146<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 147 <TD VALIGN="TOP" WIDTH="25%"> 148 <A NAME="android.content.ContextWrapper.peekWallpaper_changed()"></A> 149 <nobr><code>Drawable</code> <A HREF="../../../../reference/android/content/ContextWrapper.html#peekWallpaper()" target="_top"><code>peekWallpaper</code></A>() </nobr> 150 </TD> 151 <TD VALIGN="TOP" WIDTH="30%"> 152<b>Now deprecated</b>.<br> 153 </TD> 154 <TD> </TD> 155</TR> 156<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 157 <TD VALIGN="TOP" WIDTH="25%"> 158 <A NAME="android.content.ContextWrapper.removeStickyBroadcast_changed(android.content.Intent)"></A> 159 <nobr><code>void</code> <A HREF="../../../../reference/android/content/ContextWrapper.html#removeStickyBroadcast(android.content.Intent)" target="_top"><code>removeStickyBroadcast</code></A>(<code>Intent</code>) </nobr> 160 </TD> 161 <TD VALIGN="TOP" WIDTH="30%"> 162<b>Now deprecated</b>.<br> 163 </TD> 164 <TD> </TD> 165</TR> 166<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 167 <TD VALIGN="TOP" WIDTH="25%"> 168 <A NAME="android.content.ContextWrapper.removeStickyBroadcastAsUser_changed(android.content.Intent, android.os.UserHandle)"></A> 169 <nobr><code>void</code> <A HREF="../../../../reference/android/content/ContextWrapper.html#removeStickyBroadcastAsUser(android.content.Intent, android.os.UserHandle)" target="_top"><code>removeStickyBroadcastAsUser</code></A>(<code>Intent,</nobr> UserHandle<nobr><nobr></code>) </nobr> 170 </TD> 171 <TD VALIGN="TOP" WIDTH="30%"> 172<b>Now deprecated</b>.<br> 173 </TD> 174 <TD> </TD> 175</TR> 176<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 177 <TD VALIGN="TOP" WIDTH="25%"> 178 <A NAME="android.content.ContextWrapper.sendStickyBroadcast_changed(android.content.Intent)"></A> 179 <nobr><code>void</code> <A HREF="../../../../reference/android/content/ContextWrapper.html#sendStickyBroadcast(android.content.Intent)" target="_top"><code>sendStickyBroadcast</code></A>(<code>Intent</code>) </nobr> 180 </TD> 181 <TD VALIGN="TOP" WIDTH="30%"> 182<b>Now deprecated</b>.<br> 183 </TD> 184 <TD> </TD> 185</TR> 186<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 187 <TD VALIGN="TOP" WIDTH="25%"> 188 <A NAME="android.content.ContextWrapper.sendStickyBroadcastAsUser_changed(android.content.Intent, android.os.UserHandle)"></A> 189 <nobr><code>void</code> <A HREF="../../../../reference/android/content/ContextWrapper.html#sendStickyBroadcastAsUser(android.content.Intent, android.os.UserHandle)" target="_top"><code>sendStickyBroadcastAsUser</code></A>(<code>Intent,</nobr> UserHandle<nobr><nobr></code>) </nobr> 190 </TD> 191 <TD VALIGN="TOP" WIDTH="30%"> 192<b>Now deprecated</b>.<br> 193 </TD> 194 <TD> </TD> 195</TR> 196<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 197 <TD VALIGN="TOP" WIDTH="25%"> 198 <A NAME="android.content.ContextWrapper.sendStickyOrderedBroadcast_changed(android.content.Intent, android.content.BroadcastReceiver, android.os.Handler, int, java.lang.String, android.os.Bundle)"></A> 199 <nobr><code>void</code> <A HREF="../../../../reference/android/content/ContextWrapper.html#sendStickyOrderedBroadcast(android.content.Intent, android.content.BroadcastReceiver, android.os.Handler, int, java.lang.String, android.os.Bundle)" target="_top"><code>sendStickyOrderedBroadcast</code></A>(<code>Intent,</nobr> BroadcastReceiver<nobr>,</nobr> Handler<nobr>,</nobr> int<nobr>,</nobr> String<nobr>,</nobr> Bundle<nobr><nobr></code>) </nobr> 200 </TD> 201 <TD VALIGN="TOP" WIDTH="30%"> 202<b>Now deprecated</b>.<br> 203 </TD> 204 <TD> </TD> 205</TR> 206<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 207 <TD VALIGN="TOP" WIDTH="25%"> 208 <A NAME="android.content.ContextWrapper.sendStickyOrderedBroadcastAsUser_changed(android.content.Intent, android.os.UserHandle, android.content.BroadcastReceiver, android.os.Handler, int, java.lang.String, android.os.Bundle)"></A> 209 <nobr><code>void</code> <A HREF="../../../../reference/android/content/ContextWrapper.html#sendStickyOrderedBroadcastAsUser(android.content.Intent, android.os.UserHandle, android.content.BroadcastReceiver, android.os.Handler, int, java.lang.String, android.os.Bundle)" target="_top"><code>sendStickyOrderedBroadcastAsUser</code></A>(<code>Intent,</nobr> UserHandle<nobr>,</nobr> BroadcastReceiver<nobr>,</nobr> Handler<nobr>,</nobr> int<nobr>,</nobr> String<nobr>,</nobr> Bundle<nobr><nobr></code>) </nobr> 210 </TD> 211 <TD VALIGN="TOP" WIDTH="30%"> 212<b>Now deprecated</b>.<br> 213 </TD> 214 <TD> </TD> 215</TR> 216<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 217 <TD VALIGN="TOP" WIDTH="25%"> 218 <A NAME="android.content.ContextWrapper.setWallpaper_changed(android.graphics.Bitmap)"></A> 219 <nobr><code>void</code> <A HREF="../../../../reference/android/content/ContextWrapper.html#setWallpaper(android.graphics.Bitmap)" target="_top"><code>setWallpaper</code></A>(<code>Bitmap</code>) </nobr> 220 </TD> 221 <TD VALIGN="TOP" WIDTH="30%"> 222<b>Now deprecated</b>.<br> 223 </TD> 224 <TD> </TD> 225</TR> 226<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 227 <TD VALIGN="TOP" WIDTH="25%"> 228 <A NAME="android.content.ContextWrapper.setWallpaper_changed(java.io.InputStream)"></A> 229 <nobr><code>void</code> <A HREF="../../../../reference/android/content/ContextWrapper.html#setWallpaper(java.io.InputStream)" target="_top"><code>setWallpaper</code></A>(<code>InputStream</code>) </nobr> 230 </TD> 231 <TD VALIGN="TOP" WIDTH="30%"> 232<b>Now deprecated</b>.<br> 233 </TD> 234 <TD> </TD> 235</TR> 236</TABLE> 237 238<a NAME="fields"></a> 239 </div> 240 <div id="footer"> 241 <div id="copyright"> 242 Except as noted, this content is licensed under 243 <a href="http://creativecommons.org/licenses/by/2.5/"> Creative Commons Attribution 2.5</a>. 244 For details and restrictions, see the <a href="/license.html">Content License</a>. 245 </div> 246 <div id="footerlinks"> 247 <p> 248 <a href="http://www.android.com/terms.html">Site Terms of Service</a> - 249 <a href="http://www.android.com/privacy.html">Privacy Policy</a> - 250 <a href="http://www.android.com/branding.html">Brand Guidelines</a> 251 </p> 252 </div> 253 </div> <!-- end footer --> 254 </div><!-- end doc-content --> 255 </div> <!-- end body-content --> 256<script src="http://www.google-analytics.com/ga.js" type="text/javascript"> 257</script> 258<script type="text/javascript"> 259 try { 260 var pageTracker = _gat._getTracker("UA-5831155-1"); 261 pageTracker._setAllowAnchor(true); 262 pageTracker._initData(); 263 pageTracker._trackPageview(); 264 } catch(e) {} 265</script> 266</BODY> 267</HTML> 268