Skip to content

Commit

Permalink
replaced deprecated call
Browse files Browse the repository at this point in the history
  • Loading branch information
commonsguy committed Mar 27, 2014
1 parent a9ec47e commit a5b9130
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions AppWidget/LoremWidget/AndroidManifest.xml
Expand Up @@ -5,8 +5,8 @@
android:versionName="1.0">

<uses-sdk
android:minSdkVersion="11"
android:targetSdkVersion="11"/>
android:minSdkVersion="14"
android:targetSdkVersion="19"/>

<uses-feature
android:name="android.software.app_widgets"
Expand Down
2 changes: 1 addition & 1 deletion AppWidget/LoremWidget/project.properties
Expand Up @@ -8,4 +8,4 @@
# project structure.

# Project target.
target=android-12
target=android-15
Expand Up @@ -38,8 +38,7 @@ public void onUpdate(Context ctxt, AppWidgetManager appWidgetManager,
RemoteViews widget=new RemoteViews(ctxt.getPackageName(),
R.layout.widget);

widget.setRemoteAdapter(appWidgetIds[i], R.id.words,
svcIntent);
widget.setRemoteAdapter(R.id.words, svcIntent);

Intent clickIntent=new Intent(ctxt, LoremActivity.class);
PendingIntent clickPI=PendingIntent
Expand Down

0 comments on commit a5b9130

Please sign in to comment.