Commit 712fe09c authored by Your Name's avatar Your Name

.

parent 68c89ab7
Pipeline #1420 failed with stages
...@@ -7,7 +7,7 @@ public class Global { ...@@ -7,7 +7,7 @@ public class Global {
public static String FUNCTION_APP_MANAGER = "function_app_manager"; public static String FUNCTION_APP_MANAGER = "function_app_manager";
public static String FUNCTION_WHATS_APP = "function_whats_app"; public static String FUNCTION_WHATS_APP = "function_whats_app";
public static String FUNCTION_APP_PROCESS = "function_app_process"; public static String FUNCTION_APP_PROCESS = "function_app_process";
public static String FUNCTION_SIMILAR_PHOTOS = "function_similar_photos"; // public static String FUNCTION_SIMILAR_PHOTOS = "function_similar_photos";
public static String FUNCTION_SCREENSHOT = "function_screenshot"; public static String FUNCTION_SCREENSHOT = "function_screenshot";
......
...@@ -6,7 +6,7 @@ import static com.swiftcleaner.chovey.model.bean.Global.FUNCTION_BATTERY; ...@@ -6,7 +6,7 @@ import static com.swiftcleaner.chovey.model.bean.Global.FUNCTION_BATTERY;
import static com.swiftcleaner.chovey.model.bean.Global.FUNCTION_CLEAN; import static com.swiftcleaner.chovey.model.bean.Global.FUNCTION_CLEAN;
import static com.swiftcleaner.chovey.model.bean.Global.FUNCTION_LARGE_FILE; import static com.swiftcleaner.chovey.model.bean.Global.FUNCTION_LARGE_FILE;
import static com.swiftcleaner.chovey.model.bean.Global.FUNCTION_SCREENSHOT; import static com.swiftcleaner.chovey.model.bean.Global.FUNCTION_SCREENSHOT;
import static com.swiftcleaner.chovey.model.bean.Global.FUNCTION_SIMILAR_PHOTOS; //import static com.swiftcleaner.chovey.model.bean.Global.FUNCTION_SIMILAR_PHOTOS;
import static com.swiftcleaner.chovey.model.bean.Global.FUNCTION_WHATS_APP; import static com.swiftcleaner.chovey.model.bean.Global.FUNCTION_WHATS_APP;
import static com.swiftcleaner.chovey.model.bean.Global.OpenLoadTime; import static com.swiftcleaner.chovey.model.bean.Global.OpenLoadTime;
...@@ -281,11 +281,11 @@ public class StartActivity extends AppCompatActivity { ...@@ -281,11 +281,11 @@ public class StartActivity extends AppCompatActivity {
finish(); finish();
return; return;
} }
if (Objects.equals(actionId, FUNCTION_SIMILAR_PHOTOS)) { // if (Objects.equals(actionId, FUNCTION_SIMILAR_PHOTOS)) {
startActivity(new Intent(this, SimilarPhotosActivity.class)); // startActivity(new Intent(this, SimilarPhotosActivity.class));
finish(); // finish();
return; // return;
} // }
if (Objects.equals(actionId, FUNCTION_SCREENSHOT)) { if (Objects.equals(actionId, FUNCTION_SCREENSHOT)) {
startActivity(new Intent(this, ScreenShotActivity.class)); startActivity(new Intent(this, ScreenShotActivity.class));
finish(); finish();
......
...@@ -21,7 +21,7 @@ import com.swiftcleaner.chovey.model.bean.Global.FUNCTION_BATTERY ...@@ -21,7 +21,7 @@ import com.swiftcleaner.chovey.model.bean.Global.FUNCTION_BATTERY
import com.swiftcleaner.chovey.model.bean.Global.FUNCTION_CLEAN import com.swiftcleaner.chovey.model.bean.Global.FUNCTION_CLEAN
import com.swiftcleaner.chovey.model.bean.Global.FUNCTION_LARGE_FILE import com.swiftcleaner.chovey.model.bean.Global.FUNCTION_LARGE_FILE
import com.swiftcleaner.chovey.model.bean.Global.FUNCTION_SCREENSHOT import com.swiftcleaner.chovey.model.bean.Global.FUNCTION_SCREENSHOT
import com.swiftcleaner.chovey.model.bean.Global.FUNCTION_SIMILAR_PHOTOS //import com.swiftcleaner.chovey.model.bean.Global.FUNCTION_SIMILAR_PHOTOS
import com.swiftcleaner.chovey.model.bean.Global.FUNCTION_WHATS_APP import com.swiftcleaner.chovey.model.bean.Global.FUNCTION_WHATS_APP
import com.swiftcleaner.chovey.model.bean.Global.NotificationInterval import com.swiftcleaner.chovey.model.bean.Global.NotificationInterval
import com.swiftcleaner.chovey.model.bean.Global.NotificationStayCount import com.swiftcleaner.chovey.model.bean.Global.NotificationStayCount
...@@ -44,7 +44,7 @@ object NotificationUtils { ...@@ -44,7 +44,7 @@ object NotificationUtils {
FUNCTION_LARGE_FILE, FUNCTION_LARGE_FILE,
FUNCTION_WHATS_APP, FUNCTION_WHATS_APP,
FUNCTION_APP_PROCESS, FUNCTION_APP_PROCESS,
FUNCTION_SIMILAR_PHOTOS, // FUNCTION_SIMILAR_PHOTOS,
FUNCTION_SCREENSHOT FUNCTION_SCREENSHOT
) )
...@@ -147,7 +147,7 @@ object NotificationUtils { ...@@ -147,7 +147,7 @@ object NotificationUtils {
bigRemoteViews.setImageViewResource(R.id.iv_icon, R.mipmap.h_appmanager) bigRemoteViews.setImageViewResource(R.id.iv_icon, R.mipmap.h_appmanager)
smallRemoteViews.setImageViewResource(R.id.iv_icon, R.mipmap.h_appmanager) smallRemoteViews.setImageViewResource(R.id.iv_icon, R.mipmap.h_appmanager)
val desc = "Manage apps easily with [APP Name]." val desc = "Manage apps easily with Swift Cleaner - Phone Helper"
smallRemoteViews.setImageViewResource(R.id.iv_icon, R.mipmap.logox) smallRemoteViews.setImageViewResource(R.id.iv_icon, R.mipmap.logox)
bigRemoteViews.setTextViewText(R.id.tv_desc, desc) bigRemoteViews.setTextViewText(R.id.tv_desc, desc)
smallRemoteViews.setTextViewText(R.id.tv_desc, desc) smallRemoteViews.setTextViewText(R.id.tv_desc, desc)
...@@ -193,15 +193,15 @@ object NotificationUtils { ...@@ -193,15 +193,15 @@ object NotificationUtils {
smallRemoteViews.setTextViewText(R.id.tv_desc, desc) smallRemoteViews.setTextViewText(R.id.tv_desc, desc)
} }
FUNCTION_SIMILAR_PHOTOS -> { // FUNCTION_SIMILAR_PHOTOS -> {
bigRemoteViews.setImageViewResource(R.id.iv_icon, R.mipmap.h_simiar) // bigRemoteViews.setImageViewResource(R.id.iv_icon, R.mipmap.h_simiar)
smallRemoteViews.setImageViewResource(R.id.iv_icon, R.mipmap.h_simiar) // smallRemoteViews.setImageViewResource(R.id.iv_icon, R.mipmap.h_simiar)
//
val desc = "Similar pics? Clear for space" // val desc = "Similar pics? Clear for space"
smallRemoteViews.setImageViewResource(R.id.iv_icon, R.mipmap.logox) // smallRemoteViews.setImageViewResource(R.id.iv_icon, R.mipmap.logox)
bigRemoteViews.setTextViewText(R.id.tv_desc, desc) // bigRemoteViews.setTextViewText(R.id.tv_desc, desc)
smallRemoteViews.setTextViewText(R.id.tv_desc, desc) // smallRemoteViews.setTextViewText(R.id.tv_desc, desc)
} // }
FUNCTION_SCREENSHOT -> { FUNCTION_SCREENSHOT -> {
bigRemoteViews.setImageViewResource(R.id.iv_icon, R.mipmap.h_screenshot) bigRemoteViews.setImageViewResource(R.id.iv_icon, R.mipmap.h_screenshot)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment