Files
codex/android/app/src/main/AndroidManifest.xml
Iliyan Malchev a20dc55cfc Distinguish the Session Manager launcher icon
Give the manager launcher entry its own Settings-wheel Codex icon and rename it to Session Manager so it is visually distinct from the Codex session launcher.

Co-authored-by: Codex <noreply@openai.com>
2026-04-08 10:11:46 -07:00

125 lines
5.0 KiB
XML

<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
<uses-permission android:name="android.permission.DUMP" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_DATA_SYNC" />
<uses-permission android:name="android.permission.MANAGE_AGENTS" />
<uses-permission android:name="android.permission.START_AGENT_REQUESTS" />
<uses-permission android:name="android.permission.START_GENIE_EXECUTION" />
<uses-permission android:name="android.permission.OBSERVE_AGENT_SESSIONS" />
<queries>
<intent>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent>
</queries>
<application
android:label="@string/app_name"
android:allowBackup="false"
android:extractNativeLibs="true"
android:icon="@mipmap/ic_launcher"
android:roundIcon="@mipmap/ic_launcher_round">
<service
android:name=".CodexAgentService"
android:exported="true"
android:permission="android.permission.BIND_AGENT_SERVICE">
<intent-filter>
<action android:name="android.app.agent.AgentService" />
</intent-filter>
</service>
<service
android:name=".DesktopAttachKeepAliveService"
android:exported="false"
android:foregroundServiceType="dataSync" />
<activity
android:name=".MainActivity"
android:exported="true"
android:icon="@mipmap/ic_session_manager"
android:label="@string/app_name_manager"
android:launchMode="singleTop"
android:roundIcon="@mipmap/ic_session_manager_round">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity-alias
android:name=".CodexSessionLauncherActivity"
android:exported="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:targetActivity=".CreateSessionActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity-alias>
<activity
android:name=".CreateSessionActivity"
android:documentLaunchMode="always"
android:exported="true"
android:excludeFromRecents="true"
android:launchMode="standard"
android:taskAffinity="com.openai.codex.agent.create"
android:theme="@style/CodexCreateSessionTheme">
<intent-filter>
<action android:name="com.openai.codex.agent.action.CREATE_SESSION" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity
android:name=".SessionRouterActivity"
android:exported="true"
android:excludeFromRecents="true"
android:launchMode="singleTask"
android:noHistory="true"
android:taskAffinity="com.openai.codex.agent.router"
android:theme="@style/CodexSessionRouterTheme">
<intent-filter>
<action android:name="android.app.agent.action.HANDLE_SESSION" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
<intent-filter>
<action android:name="android.app.agent.action.HANDLE_HOME_SESSION" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity
android:name=".SessionDetailActivity"
android:exported="false"
android:launchMode="singleTop" />
<activity
android:name=".SessionPopupActivity"
android:documentLaunchMode="always"
android:exported="false"
android:excludeFromRecents="true"
android:launchMode="standard"
android:taskAffinity="com.openai.codex.agent.popup"
android:theme="@style/CodexSessionPopupTheme" />
<receiver
android:name=".DesktopBridgeBootstrapReceiver"
android:exported="true">
<intent-filter>
<action android:name="com.openai.codex.agent.action.BOOTSTRAP_DESKTOP_BRIDGE" />
</intent-filter>
</receiver>
<receiver
android:name=".AgentNotificationReplyReceiver"
android:exported="false" />
</application>
</manifest>