mirror of
https://github.com/TrianguloY/LightningLauncher.git
synced 2025-01-29 20:34:55 +01:00
fix parcel
This commit is contained in:
parent
6191ae9f0f
commit
a445a97608
1 changed files with 3 additions and 1 deletions
|
@ -1,12 +1,13 @@
|
|||
package net.pierrox.lightning_launcher.api;
|
||||
|
||||
import org.parceler.Parcel;
|
||||
import org.parceler.ParcelConstructor;
|
||||
|
||||
/**
|
||||
* @author lukas
|
||||
* @since 08.02.19
|
||||
*/
|
||||
@Parcel
|
||||
@Parcel(Parcel.Serialization.BEAN)
|
||||
public class Script {
|
||||
public static final int NO_ID = -1;
|
||||
public static final int FLAG_ALL = 0;
|
||||
|
@ -27,6 +28,7 @@ public class Script {
|
|||
this.flags = flags;
|
||||
}
|
||||
|
||||
@ParcelConstructor
|
||||
public Script(int id, String text, String name, String path, int flags) {
|
||||
this.id = id;
|
||||
this.text = text;
|
||||
|
|
Loading…
Add table
Reference in a new issue