title: Android Widget does not update
body: <p>I have a simple android widget with a single text view. 
  I extend <strong>AppWidgetProvider</strong> class, widget information xml - appwidget-provider..., also updated my manifest file as per document provided on android website. 
  I also set a<code>ndroid:updatePeriodMillis to 1800020 (~30 minutes).</code></p>
  
  <p>When I place widget on screen all the code under <strong>onUpdate</strong> method fires for the first time. But after <strong>1800020 milliseconds</strong>, the onUpdate doesn't called again. My widget does not update afterwards. Am I missing something with it?</p>
  
  <p>I extend AppWidgetProvider as follow,</p>
  
  <pre><code>public class Testwidget extends AppWidgetProvider {
  int COUNT = 0;
  
  @Override
  public void onUpdate(Context context, AppWidgetManager appWidgetManager,
          int[] appWidgetIds) {
  
      Log.d("WIDGET", "====================== UPDATED ======================");
      super.onUpdate(context, appWidgetManager, appWidgetIds);
  
      for(int _i=0; _i&lt;appWidgetIds.length; _i++){
          int _widId = appWidgetIds[_i];
  
          COUNT+=1;
  
          RemoteViews _views = new RemoteViews(context.getPackageName(), R.layout.widgetlayout);
          _views.setTextViewText(R.id.tvCount,String.valueOf(COUNT));
  
          appWidgetManager.updateAppWidget(_widId, _views);
      }
  }
  }
  </code></pre>
  
  <p>My Manifest</p>
  
  <pre><code>&lt;receiver android:name="Testwidget"&gt;
          &lt;intent-filter&gt;
              &lt;action android:name="android.appwidget.action.APPWIDGET_UPDATE"&gt;&lt;/action&gt;
          &lt;/intent-filter&gt;
          &lt;meta-data android:name="android.appwidget.provider"
              android:resource="@xml/widgetinfo"&gt;&lt;/meta-data&gt;
      &lt;/receiver&gt;
  </code></pre>
  
  <p>Appwidget Provider</p>
  
  <pre><code>&lt;appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
  android:minWidth="272dp" android:minHeight="72dp"
  android:updatePeriodMillis="1800020" android:initialLayout="@layout/widgetlayout"&gt;
  
  &lt;/appwidget-provider&gt;
  </code></pre>