title: What is best fix for 5.0 licensing bug?
body: <p>So all of my apps are getting this exception when they run on 5.0. . .</p>
  
  <p>java.lang.IllegalArgumentException: Service Intent must be explicit: Intent { act=com.android.vending.licensing.ILicensingService }</p>
  
  <p>After googling around I find that this is caused by a bug in Google Licensing code in LicenseChecker.java but the suggested changes are all a little different so I'm not sure what to do.  And it blows me away that we are supposed to make mods to Googles code.</p>
  
  <p>The suspect code in my LicenseChecker.java is ...</p>
  
  <pre><code>        Log.i(TAG, "Binding to licensing service.");
          try {
              boolean bindResult = mContext
                      .bindService(
                              new Intent(
                                      new String(
                                              Base64.decode("Y29tLmFuZHJvaWQudmVuZGluZy5saWNlbnNpbmcuSUxpY2Vuc2luZ1NlcnZpY2U="))),
                              this, // ServiceConnection.
                              Context.BIND_AUTO_CREATE);
  </code></pre>
  
  <p>We are supposed to add</p>
  
  <pre><code>serviceIntent.setPackage("com.android.vending");
  </code></pre>
  
  <p>somewhere in that code.</p>
  
  <p>So my questions are (1) is this really the fix? and (2) if so, what exactly should the modified code look like?
  Thanks,
  Dean</p>