mirror of
https://github.com/nix-community/nix-on-droid-app.git
synced 2025-11-08 19:46:10 +01:00
18 lines
399 B
Java
18 lines
399 B
Java
package com.termux.window;
|
|
|
|
import android.app.Activity;
|
|
import android.content.Intent;
|
|
|
|
/**
|
|
* Simple activity which immediately launches {@link TermuxFloatService} and exits.
|
|
*/
|
|
public class TermuxFloatActivity extends Activity {
|
|
|
|
@Override
|
|
protected void onResume() {
|
|
super.onResume();
|
|
startService(new Intent(this, TermuxFloatService.class));
|
|
finish();
|
|
}
|
|
|
|
}
|