[opt 3.0]
[Change] [1、增加多屏宣传视频播放功能] Signed-off-by: donghongyu <donghongyu@zhidaoauto.com>
This commit is contained in:
@@ -56,6 +56,7 @@ dependencies {
|
||||
|
||||
implementation rootProject.ext.dependencies.rxandroid
|
||||
implementation rootProject.ext.dependencies.mogoaicloudtrafficlive
|
||||
implementation 'com.google.android.material:material:1.4.+'
|
||||
|
||||
kapt rootProject.ext.dependencies.androidxroomcompiler
|
||||
implementation rootProject.ext.dependencies.androidxroomruntime
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
|
||||
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
|
||||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
||||
<uses-permission android:name="android.permission.WRITE_INTERNAL_STORAGE"/>
|
||||
<uses-permission android:name="android.permission.WRITE_INTERNAL_STORAGE" />
|
||||
<uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE" />
|
||||
<uses-permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS" />
|
||||
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
|
||||
@@ -70,13 +70,13 @@
|
||||
android:clearTaskOnLaunch="${ACTIVITY_ROOT}"
|
||||
android:configChanges="mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|screenLayout|fontScale|uiMode|orientation|screenSize|smallestScreenSize"
|
||||
android:enabled="true"
|
||||
android:exported="true"
|
||||
android:process=":passenger"
|
||||
android:resizeableActivity="false"
|
||||
android:resumeWhilePausing="true"
|
||||
android:screenOrientation="landscape"
|
||||
android:stateNotNeeded="true"
|
||||
android:theme="@style/Main"
|
||||
android:exported="true"
|
||||
android:process=":passenger"
|
||||
android:windowSoftInputMode="adjustPan|stateHidden">
|
||||
<!--<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
@@ -97,6 +97,30 @@
|
||||
</intent-filter>
|
||||
</activity>
|
||||
|
||||
<activity
|
||||
android:name="com.mogo.eagle.core.function.main.VideoAdAtc"
|
||||
android:clearTaskOnLaunch="${ACTIVITY_ROOT}"
|
||||
android:configChanges="mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|screenLayout|fontScale|uiMode|orientation|screenSize|smallestScreenSize"
|
||||
android:enabled="true"
|
||||
android:exported="true"
|
||||
android:process=":video_ad"
|
||||
android:resizeableActivity="false"
|
||||
android:resumeWhilePausing="true"
|
||||
android:screenOrientation="landscape"
|
||||
android:stateNotNeeded="true"
|
||||
android:theme="@style/Main"
|
||||
android:windowSoftInputMode="adjustPan|stateHidden">
|
||||
<intent-filter>
|
||||
<data
|
||||
android:host="launcher"
|
||||
android:path="/main/switch2"
|
||||
android:scheme="mogo" />
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
<category android:name="android.intent.category.BROWSABLE" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
|
||||
<meta-data
|
||||
android:name="MAP_SDK_VERSION111111"
|
||||
android:value="${MAP_SDK_VERSION}" />
|
||||
|
||||
@@ -5,6 +5,7 @@ import static com.mogo.eagle.core.data.deva.chain.ChainConstant.CHAIN_LINK_INIT;
|
||||
import static com.mogo.eagle.core.data.deva.chain.ChainConstant.CHAIN_LINK_LOG_CONNECT_STATUS;
|
||||
import static com.mogo.eagle.core.utilcode.mogo.logger.scene.SceneConstant.M_F;
|
||||
import static com.mogo.eagle.core.utilcode.mogo.logger.scene.SceneConstant.M_HMI;
|
||||
|
||||
import android.content.Intent;
|
||||
import android.os.Bundle;
|
||||
import android.os.Handler;
|
||||
@@ -160,13 +161,21 @@ public class MainLauncherActivity extends MainActivity implements IMogoIntentLis
|
||||
ochProvider = (IMoGoFunctionProvider) ARouter.getInstance()
|
||||
.build("/driver/api")
|
||||
.navigation(getContext());
|
||||
//
|
||||
// // 启动乘客端Act
|
||||
// if (AppIdentityModeUtils.isBus(FunctionBuildConfig.appIdentityMode) ||
|
||||
// AppIdentityModeUtils.isTaxi(FunctionBuildConfig.appIdentityMode)) {
|
||||
// MultiDisplayUtils.INSTANCE.startActWithSecond(
|
||||
// this,
|
||||
// PassengerLauncherActivity.class);
|
||||
// }
|
||||
|
||||
// 启动乘客端Act
|
||||
// 启动广告视频Atc
|
||||
if (AppIdentityModeUtils.isBus(FunctionBuildConfig.appIdentityMode) ||
|
||||
AppIdentityModeUtils.isTaxi(FunctionBuildConfig.appIdentityMode)) {
|
||||
MultiDisplayUtils.INSTANCE.startActWithSecond(
|
||||
this,
|
||||
PassengerLauncherActivity.class);
|
||||
VideoAdAtc.class);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -230,17 +239,17 @@ public class MainLauncherActivity extends MainActivity implements IMogoIntentLis
|
||||
*/
|
||||
@Override
|
||||
public boolean dispatchKeyEvent(KeyEvent event) {
|
||||
CallerLogger.INSTANCE.d(M_F + "MoFangManager", "dispatchKeyEvent code = " + event.getKeyCode() + "--action = " + event.getAction() + "----" + event);
|
||||
CallerLogger.INSTANCE.d(M_F + "MoFangManager", "dispatchKeyEvent code = " + event.getKeyCode() + "--action = " + event.getAction() + "----" + event);
|
||||
String bluetoothName = SharedPrefsMgr.getInstance(getContext()).getString(MfConstants.BLUETOOTH_NAME);
|
||||
if (!isPressEnd) {
|
||||
CallerLogger.INSTANCE.d(M_F + "MoFangManager","dispatchKeyEvent ---1--- bluetoothName = " + bluetoothName);
|
||||
CallerLogger.INSTANCE.d(M_F + "MoFangManager", "dispatchKeyEvent ---1--- bluetoothName = " + bluetoothName);
|
||||
}
|
||||
if (bluetoothName.equals("MINI_KEYBOARD")) {
|
||||
if (!isPressEnd) {
|
||||
isPressEnd = true;
|
||||
startPressTime = System.currentTimeMillis();
|
||||
}
|
||||
CallerLogger.INSTANCE.d(M_F + "MoFangManager","dispatchKeyEvent ---2--- bluetoothName = " + bluetoothName + "--- code = " + event.getKeyCode() + "--action = " + event.getAction());
|
||||
CallerLogger.INSTANCE.d(M_F + "MoFangManager", "dispatchKeyEvent ---2--- bluetoothName = " + bluetoothName + "--- code = " + event.getKeyCode() + "--action = " + event.getAction());
|
||||
if (event.getKeyCode() == KeyEvent.KEYCODE_A) { //单击 -1,长按无操作,AB组合-2
|
||||
if (event.getAction() == KeyEvent.ACTION_DOWN) {
|
||||
pressADownTime = System.currentTimeMillis();
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
package com.mogo.eagle.core.function.main
|
||||
|
||||
import android.os.Bundle
|
||||
import androidx.appcompat.app.AppCompatActivity
|
||||
import com.mogo.eagle.core.function.hmi.R
|
||||
import com.mogo.eagle.core.utilcode.util.BarUtils
|
||||
import com.mogo.eagle.core.widget.TextureVideoView
|
||||
|
||||
/**
|
||||
* 视频广告
|
||||
*/
|
||||
class VideoAdAtc : AppCompatActivity() {
|
||||
|
||||
private lateinit var svpFrame: TextureVideoView
|
||||
|
||||
override fun onCreate(savedInstanceState: Bundle?) {
|
||||
super.onCreate(savedInstanceState)
|
||||
setContentView(R.layout.activity_video_ad_atc)
|
||||
|
||||
svpFrame = findViewById(R.id.svp_frame)
|
||||
|
||||
val url = "android.resource://" + packageName + "/" + R.raw.mogo_ad
|
||||
svpFrame.videoPath = url
|
||||
svpFrame.start()
|
||||
|
||||
BarUtils.hideStatusBarAndSticky(this.window)
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@drawable/road_video_bg"
|
||||
tools:context="com.mogo.eagle.core.function.main.VideoAdAtc">
|
||||
|
||||
<com.mogo.eagle.core.widget.TextureVideoView
|
||||
android:id="@+id/svp_frame"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
Binary file not shown.
@@ -1,18 +0,0 @@
|
||||
/**
|
||||
* Automatically generated file. DO NOT MODIFY
|
||||
*/
|
||||
package com.mogo.eagle.core.function.msgbox;
|
||||
|
||||
public final class BuildConfig {
|
||||
public static final boolean DEBUG = Boolean.parseBoolean("true");
|
||||
public static final String LIBRARY_PACKAGE_NAME = "com.mogo.eagle.core.function.msgbox";
|
||||
/**
|
||||
* @deprecated APPLICATION_ID is misleading in libraries. For the library package name use LIBRARY_PACKAGE_NAME
|
||||
*/
|
||||
@Deprecated
|
||||
public static final String APPLICATION_ID = "com.mogo.eagle.core.function.msgbox";
|
||||
public static final String BUILD_TYPE = "debug";
|
||||
public static final String FLAVOR = "";
|
||||
public static final int VERSION_CODE = 1;
|
||||
public static final String VERSION_NAME = "";
|
||||
}
|
||||
@@ -1,19 +0,0 @@
|
||||
package com.alibaba.android.arouter.routes;
|
||||
|
||||
import com.alibaba.android.arouter.facade.enums.RouteType;
|
||||
import com.alibaba.android.arouter.facade.model.RouteMeta;
|
||||
import com.alibaba.android.arouter.facade.template.IRouteGroup;
|
||||
import com.mogo.eagle.core.function.msgbox.MsgBoxProvider;
|
||||
import java.lang.Override;
|
||||
import java.lang.String;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* DO NOT EDIT THIS FILE!!! IT WAS GENERATED BY AROUTER.
|
||||
*/
|
||||
public class ARouter$$Group$$msg_box implements IRouteGroup {
|
||||
@Override
|
||||
public void loadInto(Map<String, RouteMeta> atlas) {
|
||||
atlas.put("/msg_box/api", RouteMeta.build(RouteType.PROVIDER, MsgBoxProvider.class, "/msg_box/api", "msg_box", null, -1, -2147483648));
|
||||
}
|
||||
}
|
||||
@@ -1,19 +0,0 @@
|
||||
package com.alibaba.android.arouter.routes;
|
||||
|
||||
import com.alibaba.android.arouter.facade.enums.RouteType;
|
||||
import com.alibaba.android.arouter.facade.model.RouteMeta;
|
||||
import com.alibaba.android.arouter.facade.template.IProviderGroup;
|
||||
import com.mogo.eagle.core.function.msgbox.MsgBoxProvider;
|
||||
import java.lang.Override;
|
||||
import java.lang.String;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* DO NOT EDIT THIS FILE!!! IT WAS GENERATED BY AROUTER.
|
||||
*/
|
||||
public class ARouter$$Providers$$mogocorefunctionmsgbox implements IProviderGroup {
|
||||
@Override
|
||||
public void loadInto(Map<String, RouteMeta> providers) {
|
||||
providers.put("com.mogo.eagle.core.function.api.msgbox.IMsgBoxProvider", RouteMeta.build(RouteType.PROVIDER, MsgBoxProvider.class, "/msg_box/api", "msg_box", null, -1, -2147483648));
|
||||
}
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
package com.alibaba.android.arouter.routes;
|
||||
|
||||
import com.alibaba.android.arouter.facade.template.IRouteGroup;
|
||||
import com.alibaba.android.arouter.facade.template.IRouteRoot;
|
||||
import java.lang.Class;
|
||||
import java.lang.Override;
|
||||
import java.lang.String;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* DO NOT EDIT THIS FILE!!! IT WAS GENERATED BY AROUTER.
|
||||
*/
|
||||
public class ARouter$$Root$$mogocorefunctionmsgbox implements IRouteRoot {
|
||||
@Override
|
||||
public void loadInto(Map<String, Class<? extends IRouteGroup>> routes) {
|
||||
routes.put("msg_box", ARouter$$Group$$msg_box.class);
|
||||
}
|
||||
}
|
||||
@@ -1,146 +0,0 @@
|
||||
package com.mogo.eagle.core.function.msgbox.db;
|
||||
|
||||
import android.database.Cursor;
|
||||
import androidx.room.CoroutinesRoom;
|
||||
import androidx.room.EntityDeletionOrUpdateAdapter;
|
||||
import androidx.room.EntityInsertionAdapter;
|
||||
import androidx.room.RoomDatabase;
|
||||
import androidx.room.RoomSQLiteQuery;
|
||||
import androidx.room.util.CursorUtil;
|
||||
import androidx.room.util.DBUtil;
|
||||
import androidx.sqlite.db.SupportSQLiteStatement;
|
||||
import java.lang.Class;
|
||||
import java.lang.Exception;
|
||||
import java.lang.Object;
|
||||
import java.lang.Override;
|
||||
import java.lang.String;
|
||||
import java.lang.SuppressWarnings;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
import java.util.concurrent.Callable;
|
||||
import kotlin.Unit;
|
||||
import kotlin.coroutines.Continuation;
|
||||
|
||||
@SuppressWarnings({"unchecked", "deprecation"})
|
||||
public final class MsgBoxDao_Impl implements MsgBoxDao {
|
||||
private final RoomDatabase __db;
|
||||
|
||||
private final EntityInsertionAdapter<MsgBoxInfo> __insertionAdapterOfMsgBoxInfo;
|
||||
|
||||
private final EntityDeletionOrUpdateAdapter<MsgBoxInfo> __deletionAdapterOfMsgBoxInfo;
|
||||
|
||||
public MsgBoxDao_Impl(RoomDatabase __db) {
|
||||
this.__db = __db;
|
||||
this.__insertionAdapterOfMsgBoxInfo = new EntityInsertionAdapter<MsgBoxInfo>(__db) {
|
||||
@Override
|
||||
public String createQuery() {
|
||||
return "INSERT OR REPLACE INTO `t_msg_box` (`obj_json`,`json_obj_type`,`time_stamp`) VALUES (?,?,?)";
|
||||
}
|
||||
|
||||
@Override
|
||||
public void bind(SupportSQLiteStatement stmt, MsgBoxInfo value) {
|
||||
if (value.getBean2Json() == null) {
|
||||
stmt.bindNull(1);
|
||||
} else {
|
||||
stmt.bindString(1, value.getBean2Json());
|
||||
}
|
||||
stmt.bindLong(2, value.getObj2JsonType());
|
||||
stmt.bindLong(3, value.getTimeStamp());
|
||||
}
|
||||
};
|
||||
this.__deletionAdapterOfMsgBoxInfo = new EntityDeletionOrUpdateAdapter<MsgBoxInfo>(__db) {
|
||||
@Override
|
||||
public String createQuery() {
|
||||
return "DELETE FROM `t_msg_box` WHERE `obj_json` = ?";
|
||||
}
|
||||
|
||||
@Override
|
||||
public void bind(SupportSQLiteStatement stmt, MsgBoxInfo value) {
|
||||
if (value.getBean2Json() == null) {
|
||||
stmt.bindNull(1);
|
||||
} else {
|
||||
stmt.bindString(1, value.getBean2Json());
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
@Override
|
||||
public void insertMessage(final MsgBoxInfo info) {
|
||||
__db.assertNotSuspendingTransaction();
|
||||
__db.beginTransaction();
|
||||
try {
|
||||
__insertionAdapterOfMsgBoxInfo.insert(info);
|
||||
__db.setTransactionSuccessful();
|
||||
} finally {
|
||||
__db.endTransaction();
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void insertMessages(final MsgBoxInfo... info) {
|
||||
__db.assertNotSuspendingTransaction();
|
||||
__db.beginTransaction();
|
||||
try {
|
||||
__insertionAdapterOfMsgBoxInfo.insert(info);
|
||||
__db.setTransactionSuccessful();
|
||||
} finally {
|
||||
__db.endTransaction();
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public Object deleteMsg(final MsgBoxInfo info, final Continuation<? super Unit> continuation) {
|
||||
return CoroutinesRoom.execute(__db, true, new Callable<Unit>() {
|
||||
@Override
|
||||
public Unit call() throws Exception {
|
||||
__db.beginTransaction();
|
||||
try {
|
||||
__deletionAdapterOfMsgBoxInfo.handle(info);
|
||||
__db.setTransactionSuccessful();
|
||||
return Unit.INSTANCE;
|
||||
} finally {
|
||||
__db.endTransaction();
|
||||
}
|
||||
}
|
||||
}, continuation);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<MsgBoxInfo> getAllCachedMessages() {
|
||||
final String _sql = "SELECT * FROM t_msg_box";
|
||||
final RoomSQLiteQuery _statement = RoomSQLiteQuery.acquire(_sql, 0);
|
||||
__db.assertNotSuspendingTransaction();
|
||||
final Cursor _cursor = DBUtil.query(__db, _statement, false, null);
|
||||
try {
|
||||
final int _cursorIndexOfBean2Json = CursorUtil.getColumnIndexOrThrow(_cursor, "obj_json");
|
||||
final int _cursorIndexOfObj2JsonType = CursorUtil.getColumnIndexOrThrow(_cursor, "json_obj_type");
|
||||
final int _cursorIndexOfTimeStamp = CursorUtil.getColumnIndexOrThrow(_cursor, "time_stamp");
|
||||
final List<MsgBoxInfo> _result = new ArrayList<MsgBoxInfo>(_cursor.getCount());
|
||||
while(_cursor.moveToNext()) {
|
||||
final MsgBoxInfo _item;
|
||||
final String _tmpBean2Json;
|
||||
if (_cursor.isNull(_cursorIndexOfBean2Json)) {
|
||||
_tmpBean2Json = null;
|
||||
} else {
|
||||
_tmpBean2Json = _cursor.getString(_cursorIndexOfBean2Json);
|
||||
}
|
||||
final int _tmpObj2JsonType;
|
||||
_tmpObj2JsonType = _cursor.getInt(_cursorIndexOfObj2JsonType);
|
||||
final long _tmpTimeStamp;
|
||||
_tmpTimeStamp = _cursor.getLong(_cursorIndexOfTimeStamp);
|
||||
_item = new MsgBoxInfo(_tmpBean2Json,_tmpObj2JsonType,_tmpTimeStamp);
|
||||
_result.add(_item);
|
||||
}
|
||||
return _result;
|
||||
} finally {
|
||||
_cursor.close();
|
||||
_statement.release();
|
||||
}
|
||||
}
|
||||
|
||||
public static List<Class<?>> getRequiredConverters() {
|
||||
return Collections.emptyList();
|
||||
}
|
||||
}
|
||||
@@ -1,166 +0,0 @@
|
||||
package com.mogo.eagle.core.function.msgbox.db;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.room.DatabaseConfiguration;
|
||||
import androidx.room.InvalidationTracker;
|
||||
import androidx.room.RoomOpenHelper;
|
||||
import androidx.room.RoomOpenHelper.Delegate;
|
||||
import androidx.room.RoomOpenHelper.ValidationResult;
|
||||
import androidx.room.migration.AutoMigrationSpec;
|
||||
import androidx.room.migration.Migration;
|
||||
import androidx.room.util.DBUtil;
|
||||
import androidx.room.util.TableInfo;
|
||||
import androidx.room.util.TableInfo.Column;
|
||||
import androidx.room.util.TableInfo.ForeignKey;
|
||||
import androidx.room.util.TableInfo.Index;
|
||||
import androidx.sqlite.db.SupportSQLiteDatabase;
|
||||
import androidx.sqlite.db.SupportSQLiteOpenHelper;
|
||||
import androidx.sqlite.db.SupportSQLiteOpenHelper.Callback;
|
||||
import androidx.sqlite.db.SupportSQLiteOpenHelper.Configuration;
|
||||
import java.lang.Class;
|
||||
import java.lang.Override;
|
||||
import java.lang.String;
|
||||
import java.lang.SuppressWarnings;
|
||||
import java.util.Arrays;
|
||||
import java.util.HashMap;
|
||||
import java.util.HashSet;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
@SuppressWarnings({"unchecked", "deprecation"})
|
||||
public final class MsgBoxDb_Impl extends MsgBoxDb {
|
||||
private volatile MsgBoxDao _msgBoxDao;
|
||||
|
||||
@Override
|
||||
protected SupportSQLiteOpenHelper createOpenHelper(DatabaseConfiguration configuration) {
|
||||
final SupportSQLiteOpenHelper.Callback _openCallback = new RoomOpenHelper(configuration, new RoomOpenHelper.Delegate(1) {
|
||||
@Override
|
||||
public void createAllTables(SupportSQLiteDatabase _db) {
|
||||
_db.execSQL("CREATE TABLE IF NOT EXISTS `t_msg_box` (`obj_json` TEXT NOT NULL, `json_obj_type` INTEGER NOT NULL, `time_stamp` INTEGER NOT NULL, PRIMARY KEY(`obj_json`))");
|
||||
_db.execSQL("CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)");
|
||||
_db.execSQL("INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, 'e3b1c5d5d688059898caf243cb07d34c')");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void dropAllTables(SupportSQLiteDatabase _db) {
|
||||
_db.execSQL("DROP TABLE IF EXISTS `t_msg_box`");
|
||||
if (mCallbacks != null) {
|
||||
for (int _i = 0, _size = mCallbacks.size(); _i < _size; _i++) {
|
||||
mCallbacks.get(_i).onDestructiveMigration(_db);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onCreate(SupportSQLiteDatabase _db) {
|
||||
if (mCallbacks != null) {
|
||||
for (int _i = 0, _size = mCallbacks.size(); _i < _size; _i++) {
|
||||
mCallbacks.get(_i).onCreate(_db);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onOpen(SupportSQLiteDatabase _db) {
|
||||
mDatabase = _db;
|
||||
internalInitInvalidationTracker(_db);
|
||||
if (mCallbacks != null) {
|
||||
for (int _i = 0, _size = mCallbacks.size(); _i < _size; _i++) {
|
||||
mCallbacks.get(_i).onOpen(_db);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onPreMigrate(SupportSQLiteDatabase _db) {
|
||||
DBUtil.dropFtsSyncTriggers(_db);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onPostMigrate(SupportSQLiteDatabase _db) {
|
||||
}
|
||||
|
||||
@Override
|
||||
protected RoomOpenHelper.ValidationResult onValidateSchema(SupportSQLiteDatabase _db) {
|
||||
final HashMap<String, TableInfo.Column> _columnsTMsgBox = new HashMap<String, TableInfo.Column>(3);
|
||||
_columnsTMsgBox.put("obj_json", new TableInfo.Column("obj_json", "TEXT", true, 1, null, TableInfo.CREATED_FROM_ENTITY));
|
||||
_columnsTMsgBox.put("json_obj_type", new TableInfo.Column("json_obj_type", "INTEGER", true, 0, null, TableInfo.CREATED_FROM_ENTITY));
|
||||
_columnsTMsgBox.put("time_stamp", new TableInfo.Column("time_stamp", "INTEGER", true, 0, null, TableInfo.CREATED_FROM_ENTITY));
|
||||
final HashSet<TableInfo.ForeignKey> _foreignKeysTMsgBox = new HashSet<TableInfo.ForeignKey>(0);
|
||||
final HashSet<TableInfo.Index> _indicesTMsgBox = new HashSet<TableInfo.Index>(0);
|
||||
final TableInfo _infoTMsgBox = new TableInfo("t_msg_box", _columnsTMsgBox, _foreignKeysTMsgBox, _indicesTMsgBox);
|
||||
final TableInfo _existingTMsgBox = TableInfo.read(_db, "t_msg_box");
|
||||
if (! _infoTMsgBox.equals(_existingTMsgBox)) {
|
||||
return new RoomOpenHelper.ValidationResult(false, "t_msg_box(com.mogo.eagle.core.function.msgbox.db.MsgBoxInfo).\n"
|
||||
+ " Expected:\n" + _infoTMsgBox + "\n"
|
||||
+ " Found:\n" + _existingTMsgBox);
|
||||
}
|
||||
return new RoomOpenHelper.ValidationResult(true, null);
|
||||
}
|
||||
}, "e3b1c5d5d688059898caf243cb07d34c", "b378eb20a36b24560e715c71bdca2117");
|
||||
final SupportSQLiteOpenHelper.Configuration _sqliteConfig = SupportSQLiteOpenHelper.Configuration.builder(configuration.context)
|
||||
.name(configuration.name)
|
||||
.callback(_openCallback)
|
||||
.build();
|
||||
final SupportSQLiteOpenHelper _helper = configuration.sqliteOpenHelperFactory.create(_sqliteConfig);
|
||||
return _helper;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected InvalidationTracker createInvalidationTracker() {
|
||||
final HashMap<String, String> _shadowTablesMap = new HashMap<String, String>(0);
|
||||
HashMap<String, Set<String>> _viewTables = new HashMap<String, Set<String>>(0);
|
||||
return new InvalidationTracker(this, _shadowTablesMap, _viewTables, "t_msg_box");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void clearAllTables() {
|
||||
super.assertNotMainThread();
|
||||
final SupportSQLiteDatabase _db = super.getOpenHelper().getWritableDatabase();
|
||||
try {
|
||||
super.beginTransaction();
|
||||
_db.execSQL("DELETE FROM `t_msg_box`");
|
||||
super.setTransactionSuccessful();
|
||||
} finally {
|
||||
super.endTransaction();
|
||||
_db.query("PRAGMA wal_checkpoint(FULL)").close();
|
||||
if (!_db.inTransaction()) {
|
||||
_db.execSQL("VACUUM");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Map<Class<?>, List<Class<?>>> getRequiredTypeConverters() {
|
||||
final HashMap<Class<?>, List<Class<?>>> _typeConvertersMap = new HashMap<Class<?>, List<Class<?>>>();
|
||||
_typeConvertersMap.put(MsgBoxDao.class, MsgBoxDao_Impl.getRequiredConverters());
|
||||
return _typeConvertersMap;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Set<Class<? extends AutoMigrationSpec>> getRequiredAutoMigrationSpecs() {
|
||||
final HashSet<Class<? extends AutoMigrationSpec>> _autoMigrationSpecsSet = new HashSet<Class<? extends AutoMigrationSpec>>();
|
||||
return _autoMigrationSpecsSet;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<Migration> getAutoMigrations(
|
||||
@NonNull Map<Class<? extends AutoMigrationSpec>, AutoMigrationSpec> autoMigrationSpecsMap) {
|
||||
return Arrays.asList();
|
||||
}
|
||||
|
||||
@Override
|
||||
public MsgBoxDao monitorDao() {
|
||||
if (_msgBoxDao != null) {
|
||||
return _msgBoxDao;
|
||||
} else {
|
||||
synchronized(this) {
|
||||
if(_msgBoxDao == null) {
|
||||
_msgBoxDao = new MsgBoxDao_Impl(this);
|
||||
}
|
||||
return _msgBoxDao;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.mogo.eagle.core.function.msgbox"
|
||||
android:versionCode="1" >
|
||||
|
||||
<uses-sdk
|
||||
android:minSdkVersion="21"
|
||||
android:targetSdkVersion="21" />
|
||||
|
||||
<application>
|
||||
</application>
|
||||
|
||||
</manifest>
|
||||
@@ -1 +0,0 @@
|
||||
[{"outputType":{"type":"AAPT_FRIENDLY_MERGED_MANIFESTS"},"apkData":{"type":"MAIN","splits":[],"versionCode":1,"versionName":"","enabled":true,"outputFile":"mogo-core-function-msgbox-debug.aar","fullName":"debug","baseName":"debug"},"path":"AndroidManifest.xml","properties":{"packageId":"com.mogo.eagle.core.function.msgbox","split":""}}]
|
||||
@@ -1 +0,0 @@
|
||||
{}
|
||||
Binary file not shown.
Binary file not shown.
@@ -1,2 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<merger version="3"><dataSet config="main" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/arrowem/Documents/androidProject/Launcher/core/mogo-core-function-call/src/main/jniLibs"/></dataSet><dataSet config="debug" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/arrowem/Documents/androidProject/Launcher/core/mogo-core-function-call/src/debug/jniLibs"/></dataSet></merger>
|
||||
@@ -1,2 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<merger version="3"><dataSet config="main" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/arrowem/Documents/androidProject/Launcher/core/mogo-core-function-call/src/main/shaders"/></dataSet><dataSet config="debug" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/arrowem/Documents/androidProject/Launcher/core/mogo-core-function-call/src/debug/shaders"/></dataSet></merger>
|
||||
@@ -1,2 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<merger version="3"><dataSet config="main" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/arrowem/Documents/androidProject/Launcher/core/mogo-core-function-api/src/main/assets"/><source path="/Users/arrowem/Documents/androidProject/Launcher/core/mogo-core-function-api/build/intermediates/shader_assets/debug/compileDebugShaders/out"/></dataSet><dataSet config="debug" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/arrowem/Documents/androidProject/Launcher/core/mogo-core-function-api/src/debug/assets"/></dataSet></merger>
|
||||
@@ -1 +0,0 @@
|
||||
#Fri Oct 28 11:24:33 CST 2022
|
||||
@@ -1,2 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<merger version="3"><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="main$Generated" generated="true" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/arrowem/Documents/androidProject/Launcher/core/mogo-core-function-call/src/main/res"/><source path="/Users/arrowem/Documents/androidProject/Launcher/core/mogo-core-function-call/build/generated/res/rs/debug"/><source path="/Users/arrowem/Documents/androidProject/Launcher/core/mogo-core-function-call/build/generated/res/resValues/debug"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="main" generated-set="main$Generated" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/arrowem/Documents/androidProject/Launcher/core/mogo-core-function-call/src/main/res"/><source path="/Users/arrowem/Documents/androidProject/Launcher/core/mogo-core-function-call/build/generated/res/rs/debug"/><source path="/Users/arrowem/Documents/androidProject/Launcher/core/mogo-core-function-call/build/generated/res/resValues/debug"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="debug$Generated" generated="true" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/arrowem/Documents/androidProject/Launcher/core/mogo-core-function-call/src/debug/res"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="debug" generated-set="debug$Generated" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/arrowem/Documents/androidProject/Launcher/core/mogo-core-function-call/src/debug/res"/></dataSet><mergedItems/></merger>
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,13 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.mogo.eagle.core.function.msgbox"
|
||||
android:versionCode="1" >
|
||||
|
||||
<uses-sdk
|
||||
android:minSdkVersion="21"
|
||||
android:targetSdkVersion="21" />
|
||||
|
||||
<application>
|
||||
</application>
|
||||
|
||||
</manifest>
|
||||
@@ -1,2 +0,0 @@
|
||||
R_DEF: Internal format may change without notice
|
||||
local
|
||||
@@ -1,16 +0,0 @@
|
||||
1<?xml version="1.0" encoding="utf-8"?>
|
||||
2<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
3 package="com.mogo.eagle.core.function.msgbox"
|
||||
4 android:versionCode="1" >
|
||||
5
|
||||
6 <uses-sdk
|
||||
7 android:minSdkVersion="21"
|
||||
7-->/Users/arrowem/Documents/androidProject/Launcher/core/function-impl/mogo-core-function-msgbox/src/main/AndroidManifest.xml
|
||||
8 android:targetSdkVersion="21" />
|
||||
8-->/Users/arrowem/Documents/androidProject/Launcher/core/function-impl/mogo-core-function-msgbox/src/main/AndroidManifest.xml
|
||||
9
|
||||
10 <application>
|
||||
10-->/Users/arrowem/Documents/androidProject/Launcher/core/function-impl/mogo-core-function-msgbox/src/main/AndroidManifest.xml:4:5-5:19
|
||||
11 </application>
|
||||
12
|
||||
13</manifest>
|
||||
@@ -1 +0,0 @@
|
||||
[{"outputType":{"type":"MERGED_MANIFESTS"},"apkData":{"type":"MAIN","splits":[],"versionCode":1,"versionName":"","enabled":true,"outputFile":"mogo-core-function-msgbox-debug.aar","fullName":"debug","baseName":"debug"},"path":"../../library_manifest/debug/AndroidManifest.xml","properties":{"packageId":"com.mogo.eagle.core.function.msgbox","split":""}}]
|
||||
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@@ -1,33 +0,0 @@
|
||||
-- Merging decision tree log ---
|
||||
manifest
|
||||
ADDED from /Users/arrowem/Documents/androidProject/Launcher/core/function-impl/mogo-core-function-msgbox/src/main/AndroidManifest.xml:2:1-6:12
|
||||
INJECTED from /Users/arrowem/Documents/androidProject/Launcher/core/function-impl/mogo-core-function-msgbox/src/main/AndroidManifest.xml:2:1-6:12
|
||||
INJECTED from /Users/arrowem/Documents/androidProject/Launcher/core/function-impl/mogo-core-function-msgbox/src/main/AndroidManifest.xml:2:1-6:12
|
||||
INJECTED from /Users/arrowem/Documents/androidProject/Launcher/core/function-impl/mogo-core-function-msgbox/src/main/AndroidManifest.xml:2:1-6:12
|
||||
INJECTED from /Users/arrowem/Documents/androidProject/Launcher/core/function-impl/mogo-core-function-msgbox/src/main/AndroidManifest.xml:2:1-6:12
|
||||
package
|
||||
ADDED from /Users/arrowem/Documents/androidProject/Launcher/core/function-impl/mogo-core-function-msgbox/src/main/AndroidManifest.xml:3:5-50
|
||||
INJECTED from /Users/arrowem/Documents/androidProject/Launcher/core/function-impl/mogo-core-function-msgbox/src/main/AndroidManifest.xml
|
||||
INJECTED from /Users/arrowem/Documents/androidProject/Launcher/core/function-impl/mogo-core-function-msgbox/src/main/AndroidManifest.xml
|
||||
android:versionCode
|
||||
INJECTED from /Users/arrowem/Documents/androidProject/Launcher/core/function-impl/mogo-core-function-msgbox/src/main/AndroidManifest.xml
|
||||
ADDED from /Users/arrowem/Documents/androidProject/Launcher/core/function-impl/mogo-core-function-msgbox/src/main/AndroidManifest.xml:2:1-6:12
|
||||
INJECTED from /Users/arrowem/Documents/androidProject/Launcher/core/function-impl/mogo-core-function-msgbox/src/main/AndroidManifest.xml
|
||||
xmlns:android
|
||||
ADDED from /Users/arrowem/Documents/androidProject/Launcher/core/function-impl/mogo-core-function-msgbox/src/main/AndroidManifest.xml:2:11-69
|
||||
application
|
||||
ADDED from /Users/arrowem/Documents/androidProject/Launcher/core/function-impl/mogo-core-function-msgbox/src/main/AndroidManifest.xml:4:5-5:19
|
||||
uses-sdk
|
||||
INJECTED from /Users/arrowem/Documents/androidProject/Launcher/core/function-impl/mogo-core-function-msgbox/src/main/AndroidManifest.xml reason: use-sdk injection requested
|
||||
INJECTED from /Users/arrowem/Documents/androidProject/Launcher/core/function-impl/mogo-core-function-msgbox/src/main/AndroidManifest.xml
|
||||
INJECTED from /Users/arrowem/Documents/androidProject/Launcher/core/function-impl/mogo-core-function-msgbox/src/main/AndroidManifest.xml
|
||||
INJECTED from /Users/arrowem/Documents/androidProject/Launcher/core/function-impl/mogo-core-function-msgbox/src/main/AndroidManifest.xml
|
||||
INJECTED from /Users/arrowem/Documents/androidProject/Launcher/core/function-impl/mogo-core-function-msgbox/src/main/AndroidManifest.xml
|
||||
android:targetSdkVersion
|
||||
INJECTED from /Users/arrowem/Documents/androidProject/Launcher/core/function-impl/mogo-core-function-msgbox/src/main/AndroidManifest.xml
|
||||
ADDED from /Users/arrowem/Documents/androidProject/Launcher/core/function-impl/mogo-core-function-msgbox/src/main/AndroidManifest.xml
|
||||
INJECTED from /Users/arrowem/Documents/androidProject/Launcher/core/function-impl/mogo-core-function-msgbox/src/main/AndroidManifest.xml
|
||||
android:minSdkVersion
|
||||
INJECTED from /Users/arrowem/Documents/androidProject/Launcher/core/function-impl/mogo-core-function-msgbox/src/main/AndroidManifest.xml
|
||||
ADDED from /Users/arrowem/Documents/androidProject/Launcher/core/function-impl/mogo-core-function-msgbox/src/main/AndroidManifest.xml
|
||||
INJECTED from /Users/arrowem/Documents/androidProject/Launcher/core/function-impl/mogo-core-function-msgbox/src/main/AndroidManifest.xml
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,147 +0,0 @@
|
||||
package com.mogo.eagle.core.function.msgbox;
|
||||
|
||||
import java.lang.System;
|
||||
|
||||
@kotlin.Metadata(mv = {1, 5, 1}, k = 1, d1 = {"\u0000H\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\t\n\u0000\n\u0002\u0010!\n\u0002\u0018\u0002\n\u0002\b\u0011\n\u0002\u0018\u0002\n\u0002\u0010\u000e\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\b\u0007\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010 \n\u0002\b\u000f\b\u00c6\u0002\u0018\u00002\u00020\u0001B\u0007\b\u0002\u00a2\u0006\u0002\u0010\u0002J\u0016\u0010&\u001a\u00020\'2\u0006\u0010(\u001a\u00020)2\u0006\u0010*\u001a\u00020\u0007J\u001f\u0010+\u001a\b\u0012\u0004\u0012\u00020\u00070,2\u0006\u0010(\u001a\u00020)H\u0082@\u00f8\u0001\u0000\u00a2\u0006\u0002\u0010-J\f\u0010.\u001a\b\u0012\u0004\u0012\u00020\u00070,J\f\u0010/\u001a\b\u0012\u0004\u0012\u00020\u00070,J\f\u00100\u001a\b\u0012\u0004\u0012\u00020\u00070,J\b\u00101\u001a\u00020\'H\u0002J\u000e\u00102\u001a\u00020\'2\u0006\u0010(\u001a\u00020)J\u0010\u00103\u001a\u00020\'2\u0006\u00104\u001a\u00020\u0007H\u0002J\u0016\u00105\u001a\u00020\'2\u0006\u00106\u001a\u00020\u001a2\u0006\u00107\u001a\u00020\u0001J\u000e\u00108\u001a\u00020\'2\u0006\u0010(\u001a\u00020)J\u000e\u00109\u001a\u00020\'2\u0006\u0010:\u001a\u00020\u0007R\u000e\u0010\u0003\u001a\u00020\u0004X\u0086T\u00a2\u0006\u0002\n\u0000R!\u0010\u0005\u001a\b\u0012\u0004\u0012\u00020\u00070\u00068BX\u0082\u0084\u0002\u00a2\u0006\f\n\u0004\b\n\u0010\u000b\u001a\u0004\b\b\u0010\tR!\u0010\f\u001a\b\u0012\u0004\u0012\u00020\u00070\u00068BX\u0082\u0084\u0002\u00a2\u0006\f\n\u0004\b\u000e\u0010\u000b\u001a\u0004\b\r\u0010\tR!\u0010\u000f\u001a\b\u0012\u0004\u0012\u00020\u00070\u00068BX\u0082\u0084\u0002\u00a2\u0006\f\n\u0004\b\u0011\u0010\u000b\u001a\u0004\b\u0010\u0010\tR!\u0010\u0012\u001a\b\u0012\u0004\u0012\u00020\u00070\u00068BX\u0082\u0084\u0002\u00a2\u0006\f\n\u0004\b\u0014\u0010\u000b\u001a\u0004\b\u0013\u0010\tR!\u0010\u0015\u001a\b\u0012\u0004\u0012\u00020\u00070\u00068BX\u0082\u0084\u0002\u00a2\u0006\f\n\u0004\b\u0017\u0010\u000b\u001a\u0004\b\u0016\u0010\tR\'\u0010\u0018\u001a\u000e\u0012\u0004\u0012\u00020\u001a\u0012\u0004\u0012\u00020\u00010\u00198BX\u0082\u0084\u0002\u00a2\u0006\f\n\u0004\b\u001d\u0010\u000b\u001a\u0004\b\u001b\u0010\u001cR\u001b\u0010\u001e\u001a\u00020\u001f8BX\u0082\u0084\u0002\u00a2\u0006\f\n\u0004\b\"\u0010\u000b\u001a\u0004\b \u0010!R!\u0010#\u001a\b\u0012\u0004\u0012\u00020\u00070\u00068BX\u0082\u0084\u0002\u00a2\u0006\f\n\u0004\b%\u0010\u000b\u001a\u0004\b$\u0010\t\u0082\u0002\u0004\n\u0002\b\u0019\u00a8\u0006;"}, d2 = {"Lcom/mogo/eagle/core/function/msgbox/DataManager;", "", "()V", "DISMISS_TIME", "", "cacheNotifyList", "", "Lcom/mogo/eagle/core/data/msgbox/MsgBoxBean;", "getCacheNotifyList", "()Ljava/util/List;", "cacheNotifyList$delegate", "Lkotlin/Lazy;", "cacheRecordList", "getCacheRecordList", "cacheRecordList$delegate", "cacheSysInfoList", "getCacheSysInfoList", "cacheSysInfoList$delegate", "notifyList", "getNotifyList", "notifyList$delegate", "recordBagList", "getRecordBagList", "recordBagList$delegate", "removedRecordMap", "Ljava/util/HashMap;", "", "getRemovedRecordMap", "()Ljava/util/HashMap;", "removedRecordMap$delegate", "scope", "Landroidx/lifecycle/LifecycleCoroutineScope;", "getScope", "()Landroidx/lifecycle/LifecycleCoroutineScope;", "scope$delegate", "sysInfoList", "getSysInfoList", "sysInfoList$delegate", "delMsgBoxBean", "", "context", "Landroid/content/Context;", "msgBoxBean", "getCacheMessages", "", "(Landroid/content/Context;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "getNotifyData", "getRecordBagData", "getSysInfoData", "initCache", "queryAllMessages", "realSaveMsg", "msg", "removeRecordInfo", "key", "value", "saveAllMessages2Disk", "saveMsg", "bean", "mogo-core-function-msgbox_debug"})
|
||||
public final class DataManager {
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static final com.mogo.eagle.core.function.msgbox.DataManager INSTANCE = null;
|
||||
public static final long DISMISS_TIME = 5000L;
|
||||
private static final kotlin.Lazy notifyList$delegate = null;
|
||||
|
||||
/**
|
||||
* 当天缓存的通知消息
|
||||
*/
|
||||
private static final kotlin.Lazy cacheNotifyList$delegate = null;
|
||||
private static final kotlin.Lazy sysInfoList$delegate = null;
|
||||
|
||||
/**
|
||||
* 当天缓存的系统消息
|
||||
*/
|
||||
private static final kotlin.Lazy cacheSysInfoList$delegate = null;
|
||||
private static final kotlin.Lazy recordBagList$delegate = null;
|
||||
|
||||
/**
|
||||
* 当天缓存的录包消息
|
||||
*/
|
||||
private static final kotlin.Lazy cacheRecordList$delegate = null;
|
||||
private static final kotlin.Lazy scope$delegate = null;
|
||||
|
||||
/**
|
||||
* 用户取消给录制的Bag包打标签
|
||||
*/
|
||||
private static final kotlin.Lazy removedRecordMap$delegate = null;
|
||||
|
||||
private DataManager() {
|
||||
super();
|
||||
}
|
||||
|
||||
private final java.util.List<com.mogo.eagle.core.data.msgbox.MsgBoxBean> getNotifyList() {
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* 当天缓存的通知消息
|
||||
*/
|
||||
private final java.util.List<com.mogo.eagle.core.data.msgbox.MsgBoxBean> getCacheNotifyList() {
|
||||
return null;
|
||||
}
|
||||
|
||||
private final java.util.List<com.mogo.eagle.core.data.msgbox.MsgBoxBean> getSysInfoList() {
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* 当天缓存的系统消息
|
||||
*/
|
||||
private final java.util.List<com.mogo.eagle.core.data.msgbox.MsgBoxBean> getCacheSysInfoList() {
|
||||
return null;
|
||||
}
|
||||
|
||||
private final java.util.List<com.mogo.eagle.core.data.msgbox.MsgBoxBean> getRecordBagList() {
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* 当天缓存的录包消息
|
||||
*/
|
||||
private final java.util.List<com.mogo.eagle.core.data.msgbox.MsgBoxBean> getCacheRecordList() {
|
||||
return null;
|
||||
}
|
||||
|
||||
private final androidx.lifecycle.LifecycleCoroutineScope getScope() {
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* 用户取消给录制的Bag包打标签
|
||||
*/
|
||||
private final java.util.HashMap<java.lang.String, java.lang.Object> getRemovedRecordMap() {
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* 存储时保证按时序排列
|
||||
*/
|
||||
public final void saveMsg(@org.jetbrains.annotations.NotNull()
|
||||
com.mogo.eagle.core.data.msgbox.MsgBoxBean bean) {
|
||||
}
|
||||
|
||||
private final void realSaveMsg(com.mogo.eagle.core.data.msgbox.MsgBoxBean msg) {
|
||||
}
|
||||
|
||||
/**
|
||||
* 通知消息:V2X、云公告、运营信息
|
||||
*/
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final java.util.List<com.mogo.eagle.core.data.msgbox.MsgBoxBean> getNotifyData() {
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* 工控机Report信息
|
||||
*/
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final java.util.List<com.mogo.eagle.core.data.msgbox.MsgBoxBean> getSysInfoData() {
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* 录包信息
|
||||
*/
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final java.util.List<com.mogo.eagle.core.data.msgbox.MsgBoxBean> getRecordBagData() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public final void removeRecordInfo(@org.jetbrains.annotations.NotNull()
|
||||
java.lang.String key, @org.jetbrains.annotations.NotNull()
|
||||
java.lang.Object value) {
|
||||
}
|
||||
|
||||
/**
|
||||
* 从本地数据库中查询数据
|
||||
*/
|
||||
public final void queryAllMessages(@org.jetbrains.annotations.NotNull()
|
||||
android.content.Context context) {
|
||||
}
|
||||
|
||||
private final void initCache() {
|
||||
}
|
||||
|
||||
private final java.lang.Object getCacheMessages(android.content.Context context, kotlin.coroutines.Continuation<? super java.util.List<com.mogo.eagle.core.data.msgbox.MsgBoxBean>> continuation) {
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* 存储到本地数据库
|
||||
*/
|
||||
public final void saveAllMessages2Disk(@org.jetbrains.annotations.NotNull()
|
||||
android.content.Context context) {
|
||||
}
|
||||
|
||||
public final void delMsgBoxBean(@org.jetbrains.annotations.NotNull()
|
||||
android.content.Context context, @org.jetbrains.annotations.NotNull()
|
||||
com.mogo.eagle.core.data.msgbox.MsgBoxBean msgBoxBean) {
|
||||
}
|
||||
}
|
||||
Binary file not shown.
@@ -1,49 +0,0 @@
|
||||
package com.mogo.eagle.core.function.msgbox;
|
||||
|
||||
import java.lang.System;
|
||||
|
||||
/**
|
||||
* @author XuXinChao
|
||||
* @description 消息盒子配置
|
||||
* @since: 2022/12/1
|
||||
*/
|
||||
@kotlin.Metadata(mv = {1, 5, 1}, k = 1, d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0003\u0018\u0000 \u00032\u00020\u0001:\u0001\u0003B\u0005\u00a2\u0006\u0002\u0010\u0002\u00a8\u0006\u0004"}, d2 = {"Lcom/mogo/eagle/core/function/msgbox/MsgBoxConfig;", "", "()V", "Companion", "mogo-core-function-msgbox_debug"})
|
||||
public final class MsgBoxConfig {
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static final com.mogo.eagle.core.function.msgbox.MsgBoxConfig.Companion Companion = null;
|
||||
private static final java.lang.String userRecord = "USER_RECORD";
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
@kotlin.jvm.JvmField()
|
||||
public static java.util.ArrayList<com.mogo.eagle.core.data.msgbox.MsgBoxBean> noticeList;
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
@kotlin.jvm.JvmField()
|
||||
public static java.util.ArrayList<com.mogo.eagle.core.data.msgbox.MsgBoxBean> systemInfoList;
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
@kotlin.jvm.JvmField()
|
||||
public static java.util.ArrayList<com.mogo.eagle.core.data.msgbox.MsgBoxBean> recordBagList;
|
||||
|
||||
public MsgBoxConfig() {
|
||||
super();
|
||||
}
|
||||
|
||||
@kotlin.Metadata(mv = {1, 5, 1}, k = 1, d1 = {"\u00000\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0002\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002\u00a2\u0006\u0002\u0010\u0002J\u0006\u0010\u000b\u001a\u00020\fJ\u000e\u0010\r\u001a\u00020\u000e2\u0006\u0010\u000f\u001a\u00020\fR\"\u0010\u0003\u001a\u0012\u0012\u0004\u0012\u00020\u00050\u0004j\b\u0012\u0004\u0012\u00020\u0005`\u00068\u0006@\u0006X\u0087\u000e\u00a2\u0006\u0002\n\u0000R\"\u0010\u0007\u001a\u0012\u0012\u0004\u0012\u00020\u00050\u0004j\b\u0012\u0004\u0012\u00020\u0005`\u00068\u0006@\u0006X\u0087\u000e\u00a2\u0006\u0002\n\u0000R\"\u0010\b\u001a\u0012\u0012\u0004\u0012\u00020\u00050\u0004j\b\u0012\u0004\u0012\u00020\u0005`\u00068\u0006@\u0006X\u0087\u000e\u00a2\u0006\u0002\n\u0000R\u000e\u0010\t\u001a\u00020\nX\u0082T\u00a2\u0006\u0002\n\u0000\u00a8\u0006\u0010"}, d2 = {"Lcom/mogo/eagle/core/function/msgbox/MsgBoxConfig$Companion;", "", "()V", "noticeList", "Ljava/util/ArrayList;", "Lcom/mogo/eagle/core/data/msgbox/MsgBoxBean;", "Lkotlin/collections/ArrayList;", "recordBagList", "systemInfoList", "userRecord", "", "getUserRecord", "", "setUserRecord", "", "record", "mogo-core-function-msgbox_debug"})
|
||||
public static final class Companion {
|
||||
|
||||
private Companion() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取当前用户Tab选择记录
|
||||
*/
|
||||
public final int getUserRecord() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置当前用户Tab选择记录
|
||||
*/
|
||||
public final void setUserRecord(int record) {
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
@@ -1,67 +0,0 @@
|
||||
package com.mogo.eagle.core.function.msgbox;
|
||||
|
||||
import java.lang.System;
|
||||
|
||||
@com.alibaba.android.arouter.facade.annotation.Route(path = "/msg_box/api")
|
||||
@kotlin.Metadata(mv = {1, 5, 1}, k = 1, d1 = {"\u00004\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0002\b\u0003\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\t\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\b\b\u0007\u0018\u00002\u00020\u0001B\u0005\u00a2\u0006\u0002\u0010\u0002J\u000e\u0010\u0007\u001a\b\u0012\u0004\u0012\u00020\t0\bH\u0016J\u000e\u0010\n\u001a\b\u0012\u0004\u0012\u00020\t0\bH\u0016J\u000e\u0010\u000b\u001a\b\u0012\u0004\u0012\u00020\t0\bH\u0016J\b\u0010\f\u001a\u00020\rH\u0016J\u0010\u0010\u000e\u001a\u00020\u000f2\u0006\u0010\u0010\u001a\u00020\u0011H\u0016J\b\u0010\u0012\u001a\u00020\u000fH\u0016J\u0010\u0010\u0013\u001a\u00020\u000f2\u0006\u0010\u0010\u001a\u00020\u0011H\u0016J \u0010\u0014\u001a\u00020\u000f2\u0006\u0010\u0010\u001a\u00020\u00112\u0006\u0010\u0015\u001a\u00020\t2\u0006\u0010\u0016\u001a\u00020\u0004H\u0016J\u0010\u0010\u0017\u001a\u00020\u000f2\u0006\u0010\u0018\u001a\u00020\tH\u0016R\u0014\u0010\u0003\u001a\u00020\u00048VX\u0096\u0004\u00a2\u0006\u0006\u001a\u0004\b\u0005\u0010\u0006\u00a8\u0006\u0019"}, d2 = {"Lcom/mogo/eagle/core/function/msgbox/MsgBoxProvider;", "Lcom/mogo/eagle/core/function/api/msgbox/IMsgBoxProvider;", "()V", "functionName", "", "getFunctionName", "()Ljava/lang/String;", "getCachedNotifyData", "", "Lcom/mogo/eagle/core/data/msgbox/MsgBoxBean;", "getCachedRecordBagData", "getCachedSysInfoData", "getDismissTime", "", "init", "", "context", "Landroid/content/Context;", "onDestroy", "queryAllMessages", "removeRecordInfo", "msgBoxBean", "key", "saveMsg", "bean", "mogo-core-function-msgbox_debug"})
|
||||
public final class MsgBoxProvider implements com.mogo.eagle.core.function.api.msgbox.IMsgBoxProvider {
|
||||
|
||||
public MsgBoxProvider() {
|
||||
super();
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
@java.lang.Override()
|
||||
public java.lang.String getFunctionName() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@java.lang.Override()
|
||||
public void init(@org.jetbrains.annotations.NotNull()
|
||||
android.content.Context context) {
|
||||
}
|
||||
|
||||
@java.lang.Override()
|
||||
public void queryAllMessages(@org.jetbrains.annotations.NotNull()
|
||||
android.content.Context context) {
|
||||
}
|
||||
|
||||
@java.lang.Override()
|
||||
public void saveMsg(@org.jetbrains.annotations.NotNull()
|
||||
com.mogo.eagle.core.data.msgbox.MsgBoxBean bean) {
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
@java.lang.Override()
|
||||
public java.util.List<com.mogo.eagle.core.data.msgbox.MsgBoxBean> getCachedNotifyData() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
@java.lang.Override()
|
||||
public java.util.List<com.mogo.eagle.core.data.msgbox.MsgBoxBean> getCachedSysInfoData() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
@java.lang.Override()
|
||||
public java.util.List<com.mogo.eagle.core.data.msgbox.MsgBoxBean> getCachedRecordBagData() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@java.lang.Override()
|
||||
public void removeRecordInfo(@org.jetbrains.annotations.NotNull()
|
||||
android.content.Context context, @org.jetbrains.annotations.NotNull()
|
||||
com.mogo.eagle.core.data.msgbox.MsgBoxBean msgBoxBean, @org.jetbrains.annotations.NotNull()
|
||||
java.lang.String key) {
|
||||
}
|
||||
|
||||
@java.lang.Override()
|
||||
public long getDismissTime() {
|
||||
return 0L;
|
||||
}
|
||||
|
||||
@java.lang.Override()
|
||||
public void onDestroy() {
|
||||
}
|
||||
}
|
||||
Binary file not shown.
@@ -1,26 +0,0 @@
|
||||
package com.mogo.eagle.core.function.msgbox.db;
|
||||
|
||||
import java.lang.System;
|
||||
|
||||
@androidx.room.Dao()
|
||||
@kotlin.Metadata(mv = {1, 5, 1}, k = 1, d1 = {"\u0000(\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010 \n\u0002\b\u0002\n\u0002\u0010\u0011\n\u0002\b\u0002\bg\u0018\u00002\u00020\u0001J\u0019\u0010\u0002\u001a\u00020\u00032\u0006\u0010\u0004\u001a\u00020\u0005H\u00a7@\u00f8\u0001\u0000\u00a2\u0006\u0002\u0010\u0006J\u000e\u0010\u0007\u001a\b\u0012\u0004\u0012\u00020\u00050\bH\'J\u0010\u0010\t\u001a\u00020\u00032\u0006\u0010\u0004\u001a\u00020\u0005H\'J!\u0010\n\u001a\u00020\u00032\u0012\u0010\u0004\u001a\n\u0012\u0006\b\u0001\u0012\u00020\u00050\u000b\"\u00020\u0005H\'\u00a2\u0006\u0002\u0010\f\u0082\u0002\u0004\n\u0002\b\u0019\u00a8\u0006\r"}, d2 = {"Lcom/mogo/eagle/core/function/msgbox/db/MsgBoxDao;", "", "deleteMsg", "", "info", "Lcom/mogo/eagle/core/function/msgbox/db/MsgBoxInfo;", "(Lcom/mogo/eagle/core/function/msgbox/db/MsgBoxInfo;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "getAllCachedMessages", "", "insertMessage", "insertMessages", "", "([Lcom/mogo/eagle/core/function/msgbox/db/MsgBoxInfo;)V", "mogo-core-function-msgbox_debug"})
|
||||
public abstract interface MsgBoxDao {
|
||||
|
||||
@androidx.room.Insert(onConflict = androidx.room.OnConflictStrategy.REPLACE)
|
||||
public abstract void insertMessage(@org.jetbrains.annotations.NotNull()
|
||||
com.mogo.eagle.core.function.msgbox.db.MsgBoxInfo info);
|
||||
|
||||
@androidx.room.Insert(onConflict = androidx.room.OnConflictStrategy.REPLACE)
|
||||
public abstract void insertMessages(@org.jetbrains.annotations.NotNull()
|
||||
com.mogo.eagle.core.function.msgbox.db.MsgBoxInfo... info);
|
||||
|
||||
@org.jetbrains.annotations.Nullable()
|
||||
@androidx.room.Delete()
|
||||
public abstract java.lang.Object deleteMsg(@org.jetbrains.annotations.NotNull()
|
||||
com.mogo.eagle.core.function.msgbox.db.MsgBoxInfo info, @org.jetbrains.annotations.NotNull()
|
||||
kotlin.coroutines.Continuation<? super kotlin.Unit> continuation);
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
@androidx.room.Query(value = "SELECT * FROM t_msg_box")
|
||||
public abstract java.util.List<com.mogo.eagle.core.function.msgbox.db.MsgBoxInfo> getAllCachedMessages();
|
||||
}
|
||||
Binary file not shown.
@@ -1,42 +0,0 @@
|
||||
package com.mogo.eagle.core.function.msgbox.db;
|
||||
|
||||
import java.lang.System;
|
||||
|
||||
@androidx.room.Database(entities = {com.mogo.eagle.core.function.msgbox.db.MsgBoxInfo.class}, version = 1, exportSchema = false)
|
||||
@kotlin.Metadata(mv = {1, 5, 1}, k = 1, d1 = {"\u0000\u0014\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\b\'\u0018\u0000 \u00052\u00020\u0001:\u0001\u0005B\u0005\u00a2\u0006\u0002\u0010\u0002J\b\u0010\u0003\u001a\u00020\u0004H&\u00a8\u0006\u0006"}, d2 = {"Lcom/mogo/eagle/core/function/msgbox/db/MsgBoxDb;", "Landroidx/room/RoomDatabase;", "()V", "monitorDao", "Lcom/mogo/eagle/core/function/msgbox/db/MsgBoxDao;", "Companion", "mogo-core-function-msgbox_debug"})
|
||||
public abstract class MsgBoxDb extends androidx.room.RoomDatabase {
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static final com.mogo.eagle.core.function.msgbox.db.MsgBoxDb.Companion Companion = null;
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static final java.lang.String INTERNAL_DB_NAME = "msg_box.db";
|
||||
private static com.mogo.eagle.core.function.msgbox.db.MsgBoxDb db;
|
||||
|
||||
public MsgBoxDb() {
|
||||
super();
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public abstract com.mogo.eagle.core.function.msgbox.db.MsgBoxDao monitorDao();
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
@kotlin.jvm.JvmStatic()
|
||||
public static final com.mogo.eagle.core.function.msgbox.db.MsgBoxDb getDb(@org.jetbrains.annotations.NotNull()
|
||||
android.content.Context context) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@kotlin.Metadata(mv = {1, 5, 1}, k = 1, d1 = {"\u0000 \n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002\u00a2\u0006\u0002\u0010\u0002J\u0010\u0010\u0007\u001a\u00020\u00062\u0006\u0010\b\u001a\u00020\tH\u0007R\u000e\u0010\u0003\u001a\u00020\u0004X\u0086T\u00a2\u0006\u0002\n\u0000R\u0010\u0010\u0005\u001a\u0004\u0018\u00010\u0006X\u0082\u000e\u00a2\u0006\u0002\n\u0000\u00a8\u0006\n"}, d2 = {"Lcom/mogo/eagle/core/function/msgbox/db/MsgBoxDb$Companion;", "", "()V", "INTERNAL_DB_NAME", "", "db", "Lcom/mogo/eagle/core/function/msgbox/db/MsgBoxDb;", "getDb", "context", "Landroid/content/Context;", "mogo-core-function-msgbox_debug"})
|
||||
public static final class Companion {
|
||||
|
||||
private Companion() {
|
||||
super();
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
@kotlin.jvm.JvmStatic()
|
||||
public final com.mogo.eagle.core.function.msgbox.db.MsgBoxDb getDb(@org.jetbrains.annotations.NotNull()
|
||||
android.content.Context context) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
@@ -1,70 +0,0 @@
|
||||
package com.mogo.eagle.core.function.msgbox.db;
|
||||
|
||||
import java.lang.System;
|
||||
|
||||
@androidx.room.Entity(tableName = "t_msg_box")
|
||||
@kotlin.Metadata(mv = {1, 5, 1}, k = 1, d1 = {"\u0000&\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0010\t\n\u0002\b\f\n\u0002\u0010\u000b\n\u0002\b\u0004\b\u0087\b\u0018\u00002\u00020\u0001B!\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\b\b\u0002\u0010\u0004\u001a\u00020\u0005\u0012\b\b\u0002\u0010\u0006\u001a\u00020\u0007\u00a2\u0006\u0002\u0010\bJ\t\u0010\u000f\u001a\u00020\u0003H\u00c6\u0003J\t\u0010\u0010\u001a\u00020\u0005H\u00c6\u0003J\t\u0010\u0011\u001a\u00020\u0007H\u00c6\u0003J\'\u0010\u0012\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u00052\b\b\u0002\u0010\u0006\u001a\u00020\u0007H\u00c6\u0001J\u0013\u0010\u0013\u001a\u00020\u00142\b\u0010\u0015\u001a\u0004\u0018\u00010\u0001H\u00d6\u0003J\t\u0010\u0016\u001a\u00020\u0005H\u00d6\u0001J\t\u0010\u0017\u001a\u00020\u0003H\u00d6\u0001R\u0016\u0010\u0002\u001a\u00020\u00038\u0006X\u0087\u0004\u00a2\u0006\b\n\u0000\u001a\u0004\b\t\u0010\nR\u0016\u0010\u0004\u001a\u00020\u00058\u0006X\u0087\u0004\u00a2\u0006\b\n\u0000\u001a\u0004\b\u000b\u0010\fR\u0016\u0010\u0006\u001a\u00020\u00078\u0006X\u0087\u0004\u00a2\u0006\b\n\u0000\u001a\u0004\b\r\u0010\u000e\u00a8\u0006\u0018"}, d2 = {"Lcom/mogo/eagle/core/function/msgbox/db/MsgBoxInfo;", "", "bean2Json", "", "obj2JsonType", "", "timeStamp", "", "(Ljava/lang/String;IJ)V", "getBean2Json", "()Ljava/lang/String;", "getObj2JsonType", "()I", "getTimeStamp", "()J", "component1", "component2", "component3", "copy", "equals", "", "other", "hashCode", "toString", "mogo-core-function-msgbox_debug"})
|
||||
public final class MsgBoxInfo {
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
@androidx.room.ColumnInfo(name = "obj_json")
|
||||
@androidx.room.PrimaryKey()
|
||||
private final java.lang.String bean2Json = null;
|
||||
@androidx.room.ColumnInfo(name = "json_obj_type")
|
||||
private final int obj2JsonType = 0;
|
||||
@androidx.room.ColumnInfo(name = "time_stamp")
|
||||
private final long timeStamp = 0L;
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final com.mogo.eagle.core.function.msgbox.db.MsgBoxInfo copy(@org.jetbrains.annotations.NotNull()
|
||||
java.lang.String bean2Json, int obj2JsonType, long timeStamp) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@java.lang.Override()
|
||||
public boolean equals(@org.jetbrains.annotations.Nullable()
|
||||
java.lang.Object other) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@java.lang.Override()
|
||||
public int hashCode() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
@java.lang.Override()
|
||||
public java.lang.String toString() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public MsgBoxInfo(@org.jetbrains.annotations.NotNull()
|
||||
java.lang.String bean2Json, int obj2JsonType, long timeStamp) {
|
||||
super();
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final java.lang.String component1() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final java.lang.String getBean2Json() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public final int component2() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
public final int getObj2JsonType() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
public final long component3() {
|
||||
return 0L;
|
||||
}
|
||||
|
||||
public final long getTimeStamp() {
|
||||
return 0L;
|
||||
}
|
||||
}
|
||||
Binary file not shown.
@@ -1,4 +0,0 @@
|
||||
package error;
|
||||
|
||||
public final class NonExistentClass {
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -47,7 +47,7 @@ import java.util.Map;
|
||||
* provides various display options such as scaling and tinting.
|
||||
*/
|
||||
public class TextureVideoView extends TextureView implements MediaPlayerControl {
|
||||
private String TAG = "V2XModuleProvider";
|
||||
private String TAG = "TextureVideoView";
|
||||
|
||||
public static final int STATE_ERROR = -1;
|
||||
public static final int STATE_IDLE = 0;
|
||||
@@ -185,6 +185,7 @@ public class TextureVideoView extends TextureView implements MediaPlayerControl
|
||||
mMediaPlayer.setOnBufferingUpdateListener(mBufferingUpdateListener);
|
||||
mMediaPlayer.setOnSeekCompleteListener(mSeekCompleteListener);
|
||||
mMediaPlayer.setOnInfoListener(mInfoListener);
|
||||
mMediaPlayer.setLooping(true);
|
||||
mCurrentBufferPercentage = 0;
|
||||
mMediaPlayer.setDataSource(getContext(), mUri, mHeaders);
|
||||
if (mSurface != null) {
|
||||
@@ -242,11 +243,11 @@ public class TextureVideoView extends TextureView implements MediaPlayerControl
|
||||
if (mOnPreparedListener != null) {
|
||||
mOnPreparedListener.onPrepared(mMediaPlayer);
|
||||
}
|
||||
mp.setOnInfoListener((mp1, what, extra) -> {
|
||||
if (what == MediaPlayer.MEDIA_INFO_VIDEO_RENDERING_START)
|
||||
setBackgroundColor(Color.TRANSPARENT);
|
||||
return true;
|
||||
});
|
||||
// mp.setOnInfoListener((mp1, what, extra) -> {
|
||||
// if (what == MediaPlayer.MEDIA_INFO_VIDEO_RENDERING_START)
|
||||
// setBackgroundColor(Color.TRANSPARENT);
|
||||
// return true;
|
||||
// });
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
package com.mogo.commons.mvp;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.res.Configuration;
|
||||
import android.content.res.Resources;
|
||||
import android.os.Bundle;
|
||||
import android.os.Looper;
|
||||
import android.view.MotionEvent;
|
||||
import android.view.WindowManager;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
@@ -15,7 +15,6 @@ import com.mogo.eagle.core.utilcode.util.BarUtils;
|
||||
import com.mogo.eagle.core.utilcode.util.SoftKeyBoardJobber;
|
||||
|
||||
import me.jessyan.autosize.AutoSizeCompat;
|
||||
import me.jessyan.autosize.internal.CancelAdapt;
|
||||
|
||||
/**
|
||||
* @author congtaowang
|
||||
@@ -32,6 +31,8 @@ public abstract class MvpActivity<V extends IView, P extends Presenter<V>> exten
|
||||
@Override
|
||||
protected void onCreate(@Nullable Bundle savedInstanceState) {
|
||||
BarUtils.hideStatusBarAndSticky(this.getWindow());
|
||||
getWindow().setFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON,
|
||||
WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
|
||||
super.onCreate(savedInstanceState);
|
||||
setContentView(getLayoutId());
|
||||
initViews();
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user