On Android 17 an app that targets it may not connect to devices on the local network without the new ACCESS_LOCAL_NETWORK permission; a blocked connection is dropped and ends as a timeout. At the owner's home the update server's name leads to its address on the home network, so the check for updates failed there with "did not answer" while the same server answered every other device. The updater now recognises this case before it connects (Android 17, permission not granted, server address inside one of the phone's own network ranges) and says so at once. A tap on that message asks for the permission and runs the check again; a refusal that Android no longer asks about leads to the app's page in the phone's settings. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
50 lines
2.2 KiB
XML
50 lines
2.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Flexera Launcher manifest overrides. Attached to the debug and release build types in build.gradle,
|
|
which outrank Lawnchair's flavor manifests and every library manifest during the merge.
|
|
|
|
Network access: the INTERNET permission comes from Lawnchair's manifest and is kept for one purpose,
|
|
the app's own update check (app.flexera.update.FlexeraUpdater). Lawnchair's online features stay
|
|
switched off in code; see app.flexera.FlexeraNetwork.
|
|
-->
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
|
<!-- Lets the app hand a downloaded update to Android's installer. The owner still confirms each install. -->
|
|
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />
|
|
|
|
<!--
|
|
Since Android 17 an app needs this to reach a device on the network the phone itself is on.
|
|
The update server can be such a device: at the owner's home its name leads to its address
|
|
on the home network. Asked for only when a check for updates is stopped by it (About screen).
|
|
-->
|
|
<uses-permission android:name="android.permission.ACCESS_LOCAL_NETWORK" />
|
|
|
|
<application>
|
|
|
|
<!--
|
|
The picture widget that comes with the launcher. Not exported: only this launcher can
|
|
place it, and only this launcher knows how to draw it.
|
|
-->
|
|
<receiver
|
|
android:name="app.flexera.widget.PictureWidgetProvider"
|
|
android:exported="false"
|
|
android:label="@string/flexera_picture_widget">
|
|
<intent-filter>
|
|
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
|
|
</intent-filter>
|
|
<meta-data
|
|
android:name="android.appwidget.provider"
|
|
android:resource="@xml/flexera_picture_widget_info" />
|
|
</receiver>
|
|
|
|
<!-- Opens Android's photo picker for the picture widget; it has no screen of its own. -->
|
|
<activity
|
|
android:name="app.flexera.widget.PictureWidgetConfigActivity"
|
|
android:excludeFromRecents="true"
|
|
android:exported="false"
|
|
android:theme="@style/Theme.Transparent" />
|
|
|
|
</application>
|
|
|
|
</manifest>
|