You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
add option to install desktop entry with dynamic launcher portal
A desktop entry is needed to have window icons on Wayland.
This commit is contained in:
@@ -20,6 +20,11 @@ public class Application extends ContextWrapper {
|
||||
return app_icon_path;
|
||||
}
|
||||
|
||||
private String get_app_label() {
|
||||
int app_label_resid = manifest.getApplicationElement().searchAttributeByResourceId(AndroidManifestBlock.ID_label).getData();
|
||||
return getResources().getString(app_label_resid);
|
||||
}
|
||||
|
||||
public interface ActivityLifecycleCallbacks {
|
||||
void onActivityCreated(Activity activity, Bundle savedInstanceState);
|
||||
void onActivityStarted(Activity activity);
|
||||
|
||||
Reference in New Issue
Block a user