From 409c13d0886117d5ee4ff42186d90b19a692b804 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期二, 21 二月 2023 14:06:36 +0800
Subject: [PATCH] 增加品牌认证

---
 AndroidOpenDemo/DeviceAddModule/src/main/java/com/mm/android/deviceaddmodule/LCDeviceEngine.java |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/AndroidOpenDemo/DeviceAddModule/src/main/java/com/mm/android/deviceaddmodule/LCDeviceEngine.java b/AndroidOpenDemo/DeviceAddModule/src/main/java/com/mm/android/deviceaddmodule/LCDeviceEngine.java
index b8053a0..929a4fb 100644
--- a/AndroidOpenDemo/DeviceAddModule/src/main/java/com/mm/android/deviceaddmodule/LCDeviceEngine.java
+++ b/AndroidOpenDemo/DeviceAddModule/src/main/java/com/mm/android/deviceaddmodule/LCDeviceEngine.java
@@ -1,6 +1,7 @@
 package com.mm.android.deviceaddmodule;
 
 import android.app.Activity;
+import android.app.Application;
 import android.content.Context;
 import android.content.Intent;
 import android.os.Bundle;
@@ -40,6 +41,16 @@
     public CommonParam commonParam;
     public String userId = "";
     private String homeId;
+    private String productBrandldentity;
+
+    private Application context;
+    public Application getContext() {
+        return context;
+    }
+
+    public void setContext(Application context) {
+        this.context = context;
+    }
 
     public static LCDeviceEngine newInstance() {
         if (lcDeviceEngine == null) {
@@ -57,6 +68,7 @@
         this.accessToken = "St_0000c3e2e772d5f74bfca2d86eaa18a6";//涓轰簡浣庡眰绌哄垽鏂紝褰撳墠token鏃犳晥
         this.userId = "";
         this.sdkHasInit = false;
+        this.context = commonParam.getContext();
         if (commonParam == null) {
             throw new Exception("commonParam must not null");
         }
@@ -156,4 +168,10 @@
     public void setHomeId(String homeId) {
         this.homeId = homeId;
     }
+
+    public String getProductBrandldentity() { return productBrandldentity == null ? "" : productBrandldentity;}
+
+    public void setProductBrandldentity(String productBrandldentity){
+        this.productBrandldentity = productBrandldentity;
+    }
 }

--
Gitblit v1.8.0