On android 4.4.2 when my app starts its launcher icon appears in the status bar and remains there for the duration of the main activity, that is until finish() is not called. Is there a way not to have it appeared in the status bar? (I am using GCM notifications and one arrives having two nearly identical icons next to each other is quite confusing, needless to say that it takes unnecessary space). Note it does not happen in the previous android versions. Below is my AndroidManifest.xml.
Thanks for any advice.
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.twentydeka.itrash.android"
android:versionCode="0"
android:versionName="0" >
<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="9" />
<supports-screens android:anyDensity="true"/>
<!-- The RedLaser SDK requires that these permissions be set -->
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<!-- Additional permission required by GCM and OAuth -->
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
<uses-permission android:name="android.permission.USE_CREDENTIALS" />
<permission android:name="com.twentydeka.itrash.android.permission.C2D_MESSAGE"
android:protectionLevel="signature" />
<uses-permission android:name="com.twentydeka.itrash.android.permission.C2D_MESSAGE" />
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="20deka"
android:name="com.twentydeka.itrash.android.app.ItrashApplication"
android:theme="@style/itrash_theme" >
<!-- activities -->
<activity
android:name="com.twentydeka.itrash.android.activity.MainActivity"
android:label="@string/app_name"
android:windowSoftInputMode="adjustPan|stateHidden" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.SEARCH" />
</intent-filter>
<meta-data android:name="android.app.searchable"
android:resource="@xml/searchable"/>
</activity>
<activity
android:name="com.twentydeka.itrash.android.activity.product.BarcodeScannerActivity"
android:label="@string/app_name"
android:configChanges="keyboardHidden|orientation" >
</activity>
<activity android:name="org.acra.CrashReportDialog"
android:theme="@android:style/Theme.Dialog"
android:launchMode="singleInstance"
android:excludeFromRecents="true"
android:finishOnTaskLaunch="true" >
</activity>
<!-- services -->
<service android:name="com.twentydeka.itrash.android.service.ItrashHttpClientService"
android:exported="false" >
</service>
<service android:name="com.twentydeka.itrash.android.service.ItrashGCMSyncService"
android:exported="false" >
</service>
<service android:name="com.twentydeka.itrash.android.service.ProductSyncService"
android:exported="false" >
</service>
<service android:name="com.twentydeka.itrash.android.service.ConsumerHealthCheckService"
android:exported="false" >
</service>
<!-- providers -->
<provider android:name="com.twentydeka.itrash.android.contentprovider.ItrashContentProvider"
android:authorities="com.twentydeka.itrash.android.contentprovider"
android:exported="false" >
</provider>
<!-- receivers -->
<receiver android:name="com.twentydeka.itrash.android.receiver.GCMSyncBroadcastReceiver"
android:permission="com.google.android.c2dm.permission.SEND" >
<intent-filter>
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
<category android:name="com.twentydeka.itrash.android" />
</intent-filter>
</receiver>
<receiver android:name="com.twentydeka.itrash.android.receiver.ConsumerHealthCheckBroadcastReceiver" />
</application>
</manifest>