Files
pipelines/android/app/src/main/AndroidManifest.xml
T
alan 910a7aa798 Merge lane-app2: the chat experience and its multi-conversation state
Integrates eight commits of reviewed chat work: the Chat destination with
several conversations, markdown transcripts, tool-call chips with an expandable
INPUT/OUTPUT panel, edit diff cards, the composer's stop control, and approval
cards. The automated resolver failed on this merge repeatedly (its own stages kept
dying on the malformed-result defect), so it was integrated by hand.

Integration decisions:
- Pill geometry: main's tokens win. lane-app2 carried private duplicates of
  DESTINATION_ITEM_SIZE/GAP and a private DESTINATION_PILL_RESERVE, added before the
  geometry-token migration; those duplicates are dropped in favour of the theme
  tokens main already exports.
- IME mode: kept lane-app2's adjustResize for the window, because the chat composer
  and the search field both raise the keyboard and the chat UI was reviewed with it.
- Protocol and view-model constants: both sides' independent additions are kept.
- ChatScreen now passes the compactLabel main's SlidingPaneStack gained, and the
  literals lane-app2 introduced before the token discipline are converted to five
  new named tokens (HAIRLINE_DP, ICON_BUTTON_SMALL_DP, TOOL_PANEL_MAX_WIDTH_DP,
  CHAT_TITLE_MAX_WIDTH_DP, CHAT_BUBBLE_MAX_WIDTH_DP) rather than allow-listed.

Verified: assembleDebug plus the full Android unit suite (409 tests) pass,
including the geometry enforcement test.
2026-10-16 22:27:30 +01:00

61 lines
2.7 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<application
android:allowBackup="true"
android:enableOnBackInvokedCallback="true"
android:name=".PipelinesApplication"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/Theme.Pipelines"
android:usesCleartextTraffic="true">
<!--
usesCleartextTraffic is required because the Pipelines server speaks
unencrypted ws:// on a trusted LAN/VPN. It is deliberately broad because
the user types an arbitrary host. Do not expose the server to the internet.
-->
<!--
adjustNothing: the app reads the IME from the Compose window insets
(paneSafeArea / WindowInsets.safeDrawing) everywhere, so the window
must not also be resized or panned for the soft input. The default
(adjustUnspecified) resized the window on the Pixel 10 Pro Fold for
the omni-search field, which is not inside a scrollable parent, and
the field then cleared the IME twice (once by the window resize, once
by the Compose inset) and floated above the keyboard.
-->
<activity
android:name=".MainActivity"
android:exported="true"
android:label="@string/app_name"
android:theme="@style/Theme.Pipelines"
android:windowSoftInputMode="adjustResize">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<!--
The only exported-URI surface: fetched artifacts are shared out of
the app cache through ACTION_SEND. The provider is not exported
and grants read access per-uri (FLAG_GRANT_READ_URI_PERMISSION), and
file_paths.xml scopes it to the single `shared-artifacts` cache
subdirectory. No other app-visible file path is exposed.
-->
<provider
android:name="androidx.core.content.FileProvider"
android:authorities="${applicationId}.fileprovider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/file_paths" />
</provider>
</application>
</manifest>