title: Live Wallpaper "set wallpaper" not working
body: <p>I have problem with my Lv. I create launcher activity to it, using this code:</p>
  
  <p><code>Toast toast = Toast.makeText(this, "Choose Photo Live Wallpaper from the list to start the Live Wallpaper.",Toast.LENGTH_LONG);
          toast.show();
          Intent intent = new Intent();
          intent.setAction(WallpaperManager.ACTION_LIVE_WALLPAPER_CHOOSER);
          startActivity(intent);
          finish();</code></p>
  
  <p>in my manifest I declare it using this:</p>
  
  <pre><code>&lt;activity android:name=".Launcher" android:label="@string/app_name"
      android:screenOrientation="portrait" 
      android:icon="@drawable/iconn"&gt;
      &lt;intent-filter&gt;
           &lt;action android:name="android.intent.action.MAIN" /&gt;
  
          &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
            &lt;action android:name="android.intent.action.CREATE_SHORTCUT" /&gt;
      &lt;/intent-filter&gt;
  &lt;/activity&gt;
  </code></pre>
  
  <p>and it is working but when i click on set wallpaper launcher activity is starting again and i dont know why. Logcat give me this error:</p>
  
  <pre><code>chanel '4143dd60 org.me.project.serviceLv (client) ~ Publisher close input chanell or an error ocured event=0x8
  </code></pre>
  
  <p>Thanks for any help</p>
  
  <p>This is my manifest file:</p>
  
  <pre><code>&lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
  package="org.gp.project.photogallerylivewallpaper"
  android:versionCode="2"
  android:versionName="1.1" &gt;
  
  &lt;uses-sdk
      android:minSdkVersion="14"
      android:targetSdkVersion="14" /&gt;
  
  &lt;uses-feature android:name="android.software.live_wallpaper" /&gt;
  
  &lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /&gt;
  
  &lt;application&gt;
      &lt;service
          android:name=".GalleryWallpaper2"
          android:label="Photo LiveWallpaper"
          android:permission="android.permission.BIND_WALLPAPER" &gt;
          &lt;intent-filter android:priority="1" &gt;
              &lt;action android:name="android.service.wallpaper.WallpaperService" /&gt;
          &lt;/intent-filter&gt;
  
          &lt;meta-data
              android:name="android.service.wallpaper"
              android:resource="@xml/wallpaper" /&gt;
      &lt;/service&gt;
  
      &lt;activity
          android:name=".Settings"
          android:exported="true"
          android:launchMode="singleTask"
          android:theme="@android:style/Theme.Light.NoTitleBar" /&gt;
      &lt;activity
          android:name=".Launcher"
          android:icon="@drawable/iconn"
          android:label="@string/app_name"
          android:screenOrientation="portrait" &gt;
          &lt;intent-filter&gt;
              &lt;action android:name="android.intent.action.MAIN" /&gt;
  
              &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
  
              &lt;action android:name="android.intent.action.CREATE_SHORTCUT" /&gt;
          &lt;/intent-filter&gt;
      &lt;/activity&gt;
  &lt;/application&gt;
  </code></pre>
  
  <p></p>