Added permission WAKE_LOCK, now problems on Droids
<p>I have an existing app that was working just fine on all phones.<br>
I added the permission WAKE_LOCK so I could control when the app goes
to sleep.<br>
It worked fine on my HTC Hero, so I published the new update. I
immediately started getting emails from Droid users that the app would
not launch anymore on their phones after they udpated. They get "could
not launch requested activity" when the try to start the app, but it
will allow them to run the app once if they run it from the App Store
button.<br>
I removed the permission, and now Droid users can run the app
normally.<br>
Here is my manifest xml:  </p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
     package="com.krugism.EntitySensor"
     android:versionName="2.8" android:versionCode="12"&gt;
   &lt;application android:icon="@drawable/icon"
       android:label="@string/app_name" android:debuggable="false"
       android:permission="android.permission.WAKE_LOCK"&gt;
       &lt;activity android:name=".EntitySensor"
                 android:label="@string/app_name"
                 android:screenOrientation="portrait"
                 android:permission="android.permission.WAKE_LOCK"&gt;
           &lt;intent-filter&gt;
               &lt;action android:name="android.intent.action.MAIN" /&gt;
               &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
           &lt;/intent-filter&gt;
       &lt;/activity&gt;
       &lt;activity android:name=".SettingsPref" android:label="@string/app_name"&gt;
       &lt;/activity&gt;
   &lt;/application&gt;
       &lt;uses-sdk android:minSdkVersion="3"     /&gt;
       &lt;uses-permission android:name="android.permission.WAKE_LOCK" /&gt;
&lt;/manifest&gt;
</code></pre>

<p>Any ideas why this would be a problem on Droid phones? I have not heard of any other phones having this problem.<br>
Thanks,
Scott</p>
