のねのBlog

パソコンの問題や、ソフトウェアの開発で起きた問題など書いていきます。よろしくお願いします^^。

onConfigurationChanged

   1628     @Override
   1629     public void onConfigurationChanged(final Configuration newConfig) {
   1630         if (checkNeedsPost()) {
   1631             mRunQueue.addTask(new Runnable() {
   1632                 @Override
   1633                 public void run() {
   1634                     onConfigurationChanged(newConfig);
   1635                 }
   1636             });
   1637             return;
   1638         }
   1639         mAwContents.onConfigurationChanged(newConfig);
   1640     }
    251     private void initForReal() {
    252         mAwContents = new AwContents(mFactory.getBrowserContext(), mWebView,
    253                 new InternalAccessAdapter(), mContentsClientAdapter, new AwLayoutSizer(),
    254                 mWebSettings.getAwSettings());
    255 
    256         if (mAppTargetSdkVersion >= Build.VERSION_CODES.KITKAT) {
    257             // On KK and above, favicons are automatically downloaded as the method
    258             // old apps use to enable that behavior is deprecated.
    259             AwContents.setShouldDownloadFavicons();
    260         }
    261     }