fix(libgpsrelaysentinel): 修复LocationPoint无法通过Intent传递的编译错误
LocationPoint类实现Serializable接口,解决 GpsSubscribeReceiverService中使用putExtra()传递对象时的类型不匹配问题。
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
#Created by .winboll/winboll_app_build.gradle
|
#Created by .winboll/winboll_app_build.gradle
|
||||||
#Thu May 07 02:57:52 CST 2026
|
#Thu May 07 10:59:47 CST 2026
|
||||||
stageCount=27
|
stageCount=27
|
||||||
libraryProject=
|
libraryProject=
|
||||||
baseVersion=15.11
|
baseVersion=15.11
|
||||||
publishVersion=15.11.26
|
publishVersion=15.11.26
|
||||||
buildCount=30
|
buildCount=31
|
||||||
baseBetaVersion=15.11.27
|
baseBetaVersion=15.11.27
|
||||||
|
|||||||
@@ -1,12 +1,16 @@
|
|||||||
package cc.winboll.studio.libgpsrelaysentinel.model;
|
package cc.winboll.studio.libgpsrelaysentinel.model;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Author 豆包&ZhanGSKen<zhangsken@qq.com>
|
* @Author 豆包&ZhanGSKen<zhangsken@qq.com>
|
||||||
* @Date 2026/05/07 10:23
|
* @Date 2026/05/07 10:23
|
||||||
* 订阅者基准定点坐标
|
* 订阅者基准定点坐标
|
||||||
* 每次推送成功自动更新
|
* 每次推送成功自动更新
|
||||||
*/
|
*/
|
||||||
public final class LocationPoint {
|
public final class LocationPoint implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
private final double latitude;
|
private final double latitude;
|
||||||
private final double longitude;
|
private final double longitude;
|
||||||
|
|||||||
Reference in New Issue
Block a user