<?xml version="1.0" encoding="utf-8"?>
<manifest
    xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.tristanwaddington.gravitycontrols"
    android:versionCode="1"
    android:versionName="1.0.0">
    
    <uses-sdk android:minSdkVersion="5" />
    
    <!-- Permissions -->
    <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
    
    <application
        android:icon="@drawable/icon"
        android:label="@string/app_name">
        <!-- Activities -->
        <activity
            android:name=".GravityControlsLauncherActivity"
            android:label="@string/app_name">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
        <activity android:name=".GravityControlsSettingsActivity" />
        
        <!-- Services -->
        <service
            android:name=".service.GravityControlsService"
            android:exported="false" />
        
        <!-- Receivers -->
        <receiver
            android:name=".receiver.GravityControlsBroadcastReceiver"
            android:exported="false"
            android:enabled="true">
            <intent-filter>
                <action android:name="android.intent.action.BOOT_COMPLETED" />
            </intent-filter>
        </receiver>
    </application>
</manifest> 

<?xml version="1.0" encoding="utf-8"?>
<manifest
    xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.tristanwaddington.gravitycontrols"
    android:versionCode="1"
    android:versionName="1.0.0">
    
    <uses-sdk android:minSdkVersion="5" android:targetSdkVersion="14" />
    
    <!-- Permissions -->
    <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
    
    <!-- Features -->
    <uses-feature
        android:name="android.hardware.sensor.accelerometer"
        android:required="true" />
    
    <application
        android:icon="@drawable/icon"
        android:label="@string/app_name">
        <!-- Activities -->
        <activity
            android:name=".GravityControlsLauncherActivity"
            android:label="@string/app_name"
            android:launchMode="singleTop">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
        <activity android:name=".GravityControlsSettingsActivity" />
        
        <!-- Services -->
        <service
            android:name=".service.GravityControlsService"
            android:exported="false" />
        
        <!-- Receivers -->
        <receiver
            android:name=".receiver.GravityControlsBroadcastReceiver"
            android:exported="false"
            android:enabled="true">
            <intent-filter>
                <action android:name="android.intent.action.BOOT_COMPLETED" />
            </intent-filter>
        </receiver>
    </application>
</manifest> 

Update the manifest to target ICS and indicate that this application uses the accelerometer. Chang the launch mode of the main activity to singleTop.
Update the manifest to target ICS and indicate that this application uses the accelerometer. Chang the launch mode of the main activity to singleTop.
