Geotag_geofence_checkout_profilemandate

This commit is contained in:
ravik
2025-08-04 17:09:08 +05:30
parent a263278382
commit fb03926973
508 changed files with 7229 additions and 1902 deletions
+10
View File
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ChatHistoryState">
<option name="serializedSessions">
<map>
<entry key="7bfaed3f-5bda-4fb0-8842-f9631da53961" value="{&quot;id&quot;:&quot;7bfaed3f-5bda-4fb0-8842-f9631da53961&quot;,&quot;name&quot;:&quot;Debuggable variant release issue&quot;,&quot;timestamp&quot;:1754294339464,&quot;messages&quot;:[{&quot;role&quot;:&quot;user&quot;,&quot;content&quot;:[{&quot;type&quot;:&quot;text&quot;,&quot;text&quot;:&quot;\u003cuser_query\u003e\nvariant release is debuggable so cannot be signed in\n\u003c/user_query\u003e&quot;}]},{&quot;role&quot;:&quot;assistant&quot;,&quot;content&quot;:[{&quot;type&quot;:&quot;text&quot;,&quot;text&quot;:&quot;It sounds like you\u0027re encountering an error similar to:\n\n\u003e Variant release is debuggable, so it cannot be signed\n\nThis happens in Android projects (Gradle-based, usually) when the `release` build variant is accidentally marked as `debuggable true`. For a proper release build, your app must **not** be debuggable, both for security reasons and to allow proper APK signing.\n\n### How to Fix\n\n1. **Check your `build.gradle` file(s), especially under `buildTypes`:**\n\nLook for something like:\n\n```groovy\nbuildTypes {\n release {\n debuggable true // \u003c-- Problem here!\n // ... other config\n }\n}\n```\n\n2. **Change it to:**\n\n```groovy\nbuildTypes {\n release {\n debuggable false // or remove this line, as \u0027false\u0027 is the default\n // ... other config\n }\n}\n```\n\n3. **Sync and Rebuild Your Project**\n\n- In Android Studio: File \u003e Sync Project with Gradle Files\n- Try building/releasing again.\n\n### Why This Happens\n\nThe release variant must be non-debuggable to ensure your app is secure and optimized for production. The signing process also enforces this.\n\n---\n\n**Let me know if you need help finding the relevant `build.gradle` or want me to help you fix it automatically!**&quot;}]}]}" />
</map>
</option>
</component>
</project>
-1
View File
@@ -1,4 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ExternalStorageConfigurationManager" enabled="true" />
<component name="ProjectRootManager" version="2" languageLevel="JDK_17" default="true" project-jdk-name="ms-17" project-jdk-type="JavaSDK">
+3 -3
View File
@@ -5,11 +5,11 @@ apply plugin: 'org.jetbrains.kotlin.android'
android {
namespace("com.cpm.lorealbaautomation")
namespace("com.cpm.lorealbaMabeline")
compileSdk(35)
defaultConfig {
minSdkVersion 29
applicationId "com.cpm.lorealbaautomation"
applicationId "com.cpm.lorealbaMabeline"
//noinspection OldTargetApi
targetSdk 34
versionCode 20
@@ -34,7 +34,7 @@ android {
buildTypes {
release {
buildConfigField "boolean", "LOG_ENABLED", "true"
debuggable true
debuggable false
minifyEnabled true
shrinkResources true
signingConfig signingConfigs.config
+1 -1
View File
@@ -2250,7 +2250,7 @@
"client_info": {
"mobilesdk_app_id": "1:629309347341:android:f9490de7c22042e2",
"android_client_info": {
"package_name": "com.cpm.lorealbaautomation"
"package_name": "com.cpm.lorealbaMabeline"
}
},
"oauth_client": [
+1 -1
View File
@@ -4,7 +4,7 @@
"type": "APK",
"kind": "Directory"
},
"applicationId": "com.cpm.lorealbaautomation",
"applicationId": "com.cpm.lorealbaMabeline",
"variantName": "release",
"elements": [
{
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation;
package com.cpm.lorealbaMabeline;
import android.content.Context;
import androidx.test.platform.app.InstrumentationRegistry;
@@ -21,6 +21,6 @@ public class ExampleInstrumentedTest {
// Context of the app under test.
Context appContext = InstrumentationRegistry.getInstrumentation().getContext();
assertEquals("com.cpm.lorealbaautomation", appContext.getPackageName());
assertEquals("com.cpm.lorealbaMabeline", appContext.getPackageName());
}
}
+90 -90
View File
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.cpm.lorealbaautomation">
package="com.cpm.lorealbaMabeline">
<permission
android:name="com.cpm.lorealbaautomation.android.permission.SET_TIME"
android:name="com.cpm.lorealbaMabeline.android.permission.SET_TIME"
android:protectionLevel="signature|system"
tools:ignore="ReservedSystemPermission" />
<supports-screens
@@ -33,7 +33,7 @@
android:required="true" />
<application
android:name=".LorealBa"
android:name="com.cpm.lorealbaMabeline.LorealBa"
android:hardwareAccelerated="true"
android:icon="@mipmap/app_icon_rec"
android:label="@string/app_name"
@@ -47,142 +47,142 @@
tools:ignore="DataExtractionRules">
<activity
android:name=".reports.PerformanceHistoryActivity"
android:name="com.cpm.lorealbaMabeline.reports.PerformanceHistoryActivity"
android:exported="false"
android:screenOrientation="portrait"
android:theme="@style/AppTheme.NoActionBar"
tools:ignore="DiscouragedApi,LockedOrientationActivity" />
<activity
android:name=".reports.MeSaleReport"
android:name="com.cpm.lorealbaMabeline.reports.MeSaleReport"
android:exported="false"
android:screenOrientation="portrait"
android:theme="@style/AppTheme.NoActionBar"
tools:ignore="DiscouragedApi,LockedOrientationActivity" />
<activity
android:name=".dailyactivity.RetailExcellenceActivity"
android:name="com.cpm.lorealbaMabeline.dailyactivity.RetailExcellenceActivity"
android:exported="false"
android:screenOrientation="portrait"
android:theme="@style/AppTheme.NoActionBar"
android:windowSoftInputMode="adjustPan"
tools:ignore="DiscouragedApi,LockedOrientationActivity" />
<activity
android:name=".makeupexpert.SalesActivity"
android:name="com.cpm.lorealbaMabeline.makeupexpert.SalesActivity"
android:exported="false"
android:screenOrientation="portrait"
android:theme="@style/AppTheme.NoActionBar"
android:windowSoftInputMode="adjustPan"
tools:ignore="DiscouragedApi,LockedOrientationActivity" />
<activity
android:name=".competitionoffer.CompetitionOfferActivity"
android:name="com.cpm.lorealbaMabeline.competitionoffer.CompetitionOfferActivity"
android:exported="false"
android:screenOrientation="portrait"
android:theme="@style/AppTheme.NoActionBar"
tools:ignore="DiscouragedApi,LockedOrientationActivity" />
<activity
android:name=".dailyactivity.SkinGeniusScreenshotActivity"
android:name="com.cpm.lorealbaMabeline.dailyactivity.SkinGeniusScreenshotActivity"
android:exported="false"
android:screenOrientation="portrait"
android:theme="@style/AppTheme.NoActionBar"
tools:ignore="DiscouragedApi,LockedOrientationActivity" />
<activity
android:name=".dailyactivity.SkinGeniusCategoryActivity"
android:name="com.cpm.lorealbaMabeline.dailyactivity.SkinGeniusCategoryActivity"
android:exported="false"
android:screenOrientation="portrait"
android:theme="@style/AppTheme.NoActionBar"
tools:ignore="DiscouragedApi,LockedOrientationActivity" />
<activity
android:name=".timer.TimerActivity"
android:name="com.cpm.lorealbaMabeline.timer.TimerActivity"
android:exported="false"
android:screenOrientation="portrait"
android:theme="@style/AppTheme.NoActionBar"
tools:ignore="DiscouragedApi,LockedOrientationActivity" />
<activity
android:name=".upload.UploadKeyData"
android:name="com.cpm.lorealbaMabeline.upload.UploadKeyData"
android:exported="false"
android:screenOrientation="portrait"
android:theme="@style/AppTheme.NoActionBar"
tools:ignore="DiscouragedApi,LockedOrientationActivity" />
<activity
android:name=".upload.ManualUploadActivity"
android:name="com.cpm.lorealbaMabeline.upload.ManualUploadActivity"
android:exported="false"
android:screenOrientation="portrait"
android:theme="@style/AppTheme.NoActionBar"
tools:ignore="DiscouragedApi,LockedOrientationActivity" />
<activity
android:name=".consumeractivity.ConsumerReturnReplaceProductActivity"
android:name="com.cpm.lorealbaMabeline.consumeractivity.ConsumerReturnReplaceProductActivity"
android:exported="false"
android:screenOrientation="portrait"
android:theme="@style/AppTheme.NoActionBar"
tools:ignore="DiscouragedApi,LockedOrientationActivity" />
<activity
android:name=".reports.SalesReportsActivity"
android:name="com.cpm.lorealbaMabeline.reports.SalesReportsActivity"
android:exported="false"
android:screenOrientation="portrait"
android:theme="@style/AppTheme.NoActionBar"
tools:ignore="DiscouragedApi,LockedOrientationActivity" />
<activity
android:name=".reports.ReportDayWiseActivity"
android:name="com.cpm.lorealbaMabeline.reports.ReportDayWiseActivity"
android:exported="false"
android:screenOrientation="portrait"
android:theme="@style/AppTheme.NoActionBar"
tools:ignore="DiscouragedApi,LockedOrientationActivity" />
<activity
android:name=".reports.ReportConsumerWiseActivity"
android:name="com.cpm.lorealbaMabeline.reports.ReportConsumerWiseActivity"
android:exported="false"
android:screenOrientation="portrait"
android:theme="@style/AppTheme.NoActionBar"
tools:ignore="DiscouragedApi,LockedOrientationActivity" />
<activity
android:name=".reports.ReportConsumerProductWiseActivity"
android:name="com.cpm.lorealbaMabeline.reports.ReportConsumerProductWiseActivity"
android:exported="false"
android:screenOrientation="portrait"
android:theme="@style/AppTheme.NoActionBar"
tools:ignore="DiscouragedApi,LockedOrientationActivity" />
<activity
android:name=".dailyactivity.FilledRegularStockDataActivity"
android:name="com.cpm.lorealbaMabeline.dailyactivity.FilledRegularStockDataActivity"
android:exported="false"
android:screenOrientation="portrait"
android:theme="@style/AppTheme.NoActionBar"
tools:ignore="DiscouragedApi,LockedOrientationActivity" />
<activity
android:name=".reports.TargetAchievementActivity"
android:name="com.cpm.lorealbaMabeline.reports.TargetAchievementActivity"
android:exported="false"
android:screenOrientation="portrait"
android:theme="@style/AppTheme.NoActionBar"
tools:ignore="DiscouragedApi,LockedOrientationActivity" />
<activity
android:name=".promooffer.PromoOffersActivity"
android:name="com.cpm.lorealbaMabeline.promooffer.PromoOffersActivity"
android:exported="false"
android:screenOrientation="portrait"
android:theme="@style/AppTheme.NoActionBar"
tools:ignore="DiscouragedApi,LockedOrientationActivity" />
<activity
android:name=".promooffer.PromoOfferDetailsActivity"
android:name="com.cpm.lorealbaMabeline.promooffer.PromoOfferDetailsActivity"
android:exported="false"
android:screenOrientation="portrait"
android:theme="@style/AppTheme.NoActionBar"
tools:ignore="DiscouragedApi,LockedOrientationActivity" />
<activity
android:name=".dailyactivity.MeQuizListActivity"
android:name="com.cpm.lorealbaMabeline.dailyactivity.MeQuizListActivity"
android:exported="false"
android:screenOrientation="portrait"
android:theme="@style/AppTheme.NoActionBar"
tools:ignore="DiscouragedApi,LockedOrientationActivity" />
<activity
android:name=".dailyactivity.DamagedCategoryActivity"
android:name="com.cpm.lorealbaMabeline.dailyactivity.DamagedCategoryActivity"
android:exported="false"
android:screenOrientation="portrait"
android:theme="@style/AppTheme.NoActionBar"
tools:ignore="DiscouragedApi,LockedOrientationActivity" />
<activity
android:name=".pinviewactivity.PinViewActivity"
android:name="com.cpm.lorealbaMabeline.pinviewactivity.PinViewActivity"
android:exported="false"
android:screenOrientation="portrait"
android:theme="@style/AppTheme.NoActionBar"
android:windowSoftInputMode="adjustPan"
tools:ignore="DiscouragedApi,LockedOrientationActivity" />
<activity
android:name=".dailyactivity.GWPActivity"
android:name="com.cpm.lorealbaMabeline.dailyactivity.GWPActivity"
android:exported="false"
android:label="@string/title_activity_gwp"
android:screenOrientation="portrait"
@@ -190,7 +190,7 @@
android:windowSoftInputMode="adjustPan"
tools:ignore="DiscouragedApi,LockedOrientationActivity" />
<activity
android:name=".dailyactivity.BAProfileActivity"
android:name="com.cpm.lorealbaMabeline.dailyactivity.BAProfileActivity"
android:exported="false"
android:label="@string/title_activity_baprofile"
android:screenOrientation="portrait"
@@ -198,7 +198,7 @@
android:windowSoftInputMode="adjustPan"
tools:ignore="DiscouragedApi,LockedOrientationActivity" />
<activity
android:name=".dailyactivity.VisibilityElimentsActivity"
android:name="com.cpm.lorealbaMabeline.dailyactivity.VisibilityElimentsActivity"
android:exported="false"
android:label="@string/title_activity_visibility_eliments"
android:screenOrientation="portrait"
@@ -206,7 +206,7 @@
android:windowSoftInputMode="adjustPan"
tools:ignore="DiscouragedApi,LockedOrientationActivity" />
<activity
android:name=".dailyactivity.CounterProfileActivity"
android:name="com.cpm.lorealbaMabeline.dailyactivity.CounterProfileActivity"
android:exported="false"
android:label="@string/title_activity_visibility_eliments"
android:screenOrientation="portrait"
@@ -214,7 +214,7 @@
android:windowSoftInputMode="adjustPan"
tools:ignore="DiscouragedApi,LockedOrientationActivity" />
<activity
android:name=".dailyactivity.StoreImageActivity"
android:name="com.cpm.lorealbaMabeline.dailyactivity.StoreImageActivity"
android:exported="false"
android:label="@string/title_activity_store_image"
android:screenOrientation="portrait"
@@ -222,7 +222,7 @@
android:windowSoftInputMode="adjustPan"
tools:ignore="DiscouragedApi,LockedOrientationActivity" />
<activity
android:name=".dailyactivity.SuggestedStockActivity"
android:name="com.cpm.lorealbaMabeline.dailyactivity.SuggestedStockActivity"
android:exported="false"
android:label="@string/title_activity_suggested_stock"
android:screenOrientation="portrait"
@@ -230,7 +230,7 @@
android:windowSoftInputMode="adjustPan"
tools:ignore="DiscouragedApi,LockedOrientationActivity" />
<activity
android:name=".dailyactivity.DamagedActivity"
android:name="com.cpm.lorealbaMabeline.dailyactivity.DamagedActivity"
android:exported="false"
android:label="@string/title_activity_damaged"
android:screenOrientation="portrait"
@@ -238,7 +238,7 @@
android:windowSoftInputMode="adjustPan"
tools:ignore="DiscouragedApi,LockedOrientationActivity" />
<activity
android:name=".dailyactivity.SampleStockActivity"
android:name="com.cpm.lorealbaMabeline.dailyactivity.SampleStockActivity"
android:exported="false"
android:label="@string/title_activity_sample_stock"
android:screenOrientation="portrait"
@@ -246,7 +246,7 @@
android:windowSoftInputMode="adjustPan"
tools:ignore="DiscouragedApi,LockedOrientationActivity" />
<activity
android:name=".dailyactivity.TesterStockActivity"
android:name="com.cpm.lorealbaMabeline.dailyactivity.TesterStockActivity"
android:exported="false"
android:label="@string/title_activity_tester_stock"
android:screenOrientation="portrait"
@@ -254,14 +254,14 @@
android:windowSoftInputMode="adjustPan"
tools:ignore="DiscouragedApi,LockedOrientationActivity" />
<activity
android:name=".dailyactivity.GroomedActivity"
android:name="com.cpm.lorealbaMabeline.dailyactivity.GroomedActivity"
android:exported="false"
android:screenOrientation="portrait"
android:theme="@style/AppTheme.NoActionBar"
android:windowSoftInputMode="stateHidden"
tools:ignore="DiscouragedApi,LockedOrientationActivity" />
<activity
android:name=".dailyactivity.TabLoginActivity"
android:name="com.cpm.lorealbaMabeline.dailyactivity.TabLoginActivity"
android:exported="false"
android:label="@string/title_activity_change_password"
android:screenOrientation="portrait"
@@ -269,7 +269,7 @@
android:windowSoftInputMode="adjustPan"
tools:ignore="DiscouragedApi,LockedOrientationActivity" />
<activity
android:name=".UserLoginActivity"
android:name="com.cpm.lorealbaMabeline.UserLoginActivity"
android:exported="false"
android:label="@string/title_activity_user_login"
android:screenOrientation="portrait"
@@ -278,7 +278,7 @@
tools:ignore="DiscouragedApi,LockedOrientationActivity" />
<activity
android:name=".password.MPinActivity"
android:name="com.cpm.lorealbaMabeline.password.MPinActivity"
android:exported="false"
android:label="@string/title_activity_mpin"
android:screenOrientation="portrait"
@@ -286,7 +286,7 @@
android:windowSoftInputMode="adjustPan"
tools:ignore="DiscouragedApi,LockedOrientationActivity" />
<activity
android:name=".password.ChangePasswordActivity"
android:name="com.cpm.lorealbaMabeline.password.ChangePasswordActivity"
android:exported="false"
android:label="@string/title_activity_change_password"
android:screenOrientation="portrait"
@@ -294,7 +294,7 @@
android:windowSoftInputMode="adjustPan"
tools:ignore="DiscouragedApi,LockedOrientationActivity" />
<activity
android:name=".AutoUpdateActivity"
android:name="com.cpm.lorealbaMabeline.AutoUpdateActivity"
android:exported="false"
android:label="@string/title_activity_auto_update"
android:screenOrientation="portrait"
@@ -302,21 +302,21 @@
android:windowSoftInputMode="stateHidden"
tools:ignore="DiscouragedApi,LockedOrientationActivity" />
<activity
android:name=".DealarBoardActivity"
android:name="com.cpm.lorealbaMabeline.DealarBoardActivity"
android:exported="false"
android:screenOrientation="portrait"
android:theme="@style/AppTheme.NoActionBar"
android:windowSoftInputMode="stateHidden"
tools:ignore="DiscouragedApi,LockedOrientationActivity" />
<activity
android:name=".dailyactivity.CounterImageActivity"
android:name="com.cpm.lorealbaMabeline.dailyactivity.CounterImageActivity"
android:exported="false"
android:screenOrientation="portrait"
android:theme="@style/AppTheme.NoActionBar"
android:windowSoftInputMode="stateHidden"
tools:ignore="DiscouragedApi,LockedOrientationActivity" />
<activity
android:name=".IMEILoginActivity"
android:name="com.cpm.lorealbaMabeline.IMEILoginActivity"
android:exported="true"
android:screenOrientation="portrait"
android:theme="@style/AppTheme.NoActionBar"
@@ -328,14 +328,14 @@
</intent-filter>
</activity>
<activity
android:name=".CounterLoginActivity"
android:name="com.cpm.lorealbaMabeline.CounterLoginActivity"
android:exported="false"
android:screenOrientation="portrait"
android:theme="@style/AppTheme.NoActionBar"
android:windowSoftInputMode="adjustPan"
tools:ignore="DiscouragedApi,LockedOrientationActivity" />
<activity
android:name=".download.DownloadActivity"
android:name="com.cpm.lorealbaMabeline.download.DownloadActivity"
android:exported="false"
android:screenOrientation="portrait"
android:theme="@style/AppTheme.NoActionBar"
@@ -354,46 +354,46 @@
android:theme="@style/ThemeFullscreen"
tools:ignore="DiscouragedApi,LockedOrientationActivity" /> <!-- for custom camera -->
<activity
android:name=".dailyactivity.ServiceActivity"
android:name="com.cpm.lorealbaMabeline.dailyactivity.ServiceActivity"
android:exported="false"
android:screenOrientation="portrait"
android:theme="@style/AppTheme.NoActionBar"
tools:ignore="DiscouragedApi,LockedOrientationActivity" />
<activity
android:name=".dailyactivity.ConsumerReturnActivity"
android:name="com.cpm.lorealbaMabeline.dailyactivity.ConsumerReturnActivity"
android:exported="false"
android:screenOrientation="portrait"
android:theme="@style/AppTheme.NoActionBar"
android:windowSoftInputMode="adjustPan"
tools:ignore="DiscouragedApi,LockedOrientationActivity" />
<activity
android:name=".dailyactivity.StockCheckActivity"
android:name="com.cpm.lorealbaMabeline.dailyactivity.StockCheckActivity"
android:screenOrientation="portrait"
android:exported="false"
android:theme="@style/AppTheme.NoActionBar"
android:windowSoftInputMode="adjustPan"
tools:ignore="DiscouragedApi,LockedOrientationActivity" />
<activity
android:name=".dailyactivity.NotificationDetailActivity"
android:name="com.cpm.lorealbaMabeline.dailyactivity.NotificationDetailActivity"
android:screenOrientation="portrait"
android:theme="@style/AppTheme.NoActionBar"
android:windowSoftInputMode="adjustPan"
tools:ignore="DiscouragedApi,LockedOrientationActivity" />
<activity
android:name=".dailyactivity.NotificationsActivity"
android:name="com.cpm.lorealbaMabeline.dailyactivity.NotificationsActivity"
android:screenOrientation="portrait"
android:theme="@style/AppTheme.NoActionBar"
android:windowSoftInputMode="adjustPan"
tools:ignore="DiscouragedApi,LockedOrientationActivity" />
<activity
android:name=".dailyactivity.InWardStockActivity"
android:name="com.cpm.lorealbaMabeline.dailyactivity.InWardStockActivity"
android:exported="false"
android:screenOrientation="portrait"
android:theme="@style/AppTheme.NoActionBar"
android:windowSoftInputMode="adjustPan"
tools:ignore="DiscouragedApi,LockedOrientationActivity" />
<activity
android:name=".dailyactivity.InwardStockDetailsActivity"
android:name="com.cpm.lorealbaMabeline.dailyactivity.InwardStockDetailsActivity"
android:label="@string/title_activity_suggested_stock"
android:screenOrientation="portrait"
android:exported="false"
@@ -401,21 +401,21 @@
android:windowSoftInputMode="adjustPan"
tools:ignore="DiscouragedApi,LockedOrientationActivity" />
<activity
android:name=".consumeractivity.InvoiceReportProformaActivity"
android:name="com.cpm.lorealbaMabeline.consumeractivity.InvoiceReportProformaActivity"
android:screenOrientation="portrait"
android:exported="false"
android:theme="@style/AppTheme.NoActionBar"
android:windowSoftInputMode="adjustPan"
tools:ignore="DiscouragedApi,LockedOrientationActivity" />
<activity
android:name=".consumeractivity.ConsumerUserDetailsActivity"
android:name="com.cpm.lorealbaMabeline.consumeractivity.ConsumerUserDetailsActivity"
android:screenOrientation="portrait"
android:exported="false"
android:theme="@style/AppTheme.NoActionBar"
android:windowSoftInputMode="adjustPan"
tools:ignore="DiscouragedApi,LockedOrientationActivity" />
<activity
android:name=".consumeractivity.ConsumerIntractionDetailActivity"
android:name="com.cpm.lorealbaMabeline.consumeractivity.ConsumerIntractionDetailActivity"
android:screenOrientation="portrait"
android:exported="false"
android:theme="@style/AppTheme.NoActionBar"
@@ -423,21 +423,21 @@
tools:ignore="DiscouragedApi,LockedOrientationActivity" />
<activity
android:name=".printer.PrinterActivity"
android:name="com.cpm.lorealbaMabeline.printer.PrinterActivity"
android:screenOrientation="portrait"
android:exported="false"
android:theme="@style/AppTheme.NoActionBar"
android:windowSoftInputMode="adjustPan"
tools:ignore="DiscouragedApi,LockedOrientationActivity" />
<activity
android:name=".printer.DeviceListActivity"
android:name="com.cpm.lorealbaMabeline.printer.DeviceListActivity"
android:screenOrientation="portrait"
android:exported="false"
android:theme="@style/AppTheme.NoActionBar"
android:windowSoftInputMode="adjustPan"
tools:ignore="DiscouragedApi,LockedOrientationActivity" />
<activity
android:name=".dailyactivity.ManualInWardStockActivity"
android:name="com.cpm.lorealbaMabeline.dailyactivity.ManualInWardStockActivity"
android:label="@string/title_activity_suggested_stock"
android:screenOrientation="portrait"
android:exported="false"
@@ -445,21 +445,21 @@
android:windowSoftInputMode="adjustPan|stateAlwaysHidden"
tools:ignore="DiscouragedApi,LockedOrientationActivity" />
<activity
android:name=".leavemanagement.ApplyForLeaveActivity"
android:name="com.cpm.lorealbaMabeline.leavemanagement.ApplyForLeaveActivity"
android:screenOrientation="portrait"
android:exported="false"
android:theme="@style/AppTheme.NoActionBar"
android:windowSoftInputMode="adjustPan"
tools:ignore="DiscouragedApi,LockedOrientationActivity" />
<activity
android:name=".leavemanagement.LeaveManagemntActivity"
android:name="com.cpm.lorealbaMabeline.leavemanagement.LeaveManagemntActivity"
android:screenOrientation="portrait"
android:exported="false"
android:theme="@style/AppTheme.NoActionBar"
android:windowSoftInputMode="adjustPan"
tools:ignore="DiscouragedApi,LockedOrientationActivity" />
<activity
android:name=".breakmanagement.BreakManagementActivity"
android:name="com.cpm.lorealbaMabeline.breakmanagement.BreakManagementActivity"
android:screenOrientation="portrait"
android:exported="false"
android:theme="@style/AppTheme.NoActionBar"
@@ -467,84 +467,84 @@
tools:ignore="DiscouragedApi,LockedOrientationActivity" />
<activity
android:name=".consumeractivity.ConsumerReturnsHistoryActivity"
android:name="com.cpm.lorealbaMabeline.consumeractivity.ConsumerReturnsHistoryActivity"
android:screenOrientation="portrait"
android:exported="false"
android:theme="@style/AppTheme.NoActionBar"
android:windowSoftInputMode="adjustPan"
tools:ignore="DiscouragedApi,LockedOrientationActivity" />
<activity
android:name=".reports.MyLibraryActivity"
android:name="com.cpm.lorealbaMabeline.reports.MyLibraryActivity"
android:screenOrientation="portrait"
android:exported="false"
android:theme="@style/AppTheme.NoActionBar"
android:windowSoftInputMode="stateAlwaysHidden"
tools:ignore="DiscouragedApi,LockedOrientationActivity" />
<activity
android:name=".reports.ReportsTop10Value"
android:name="com.cpm.lorealbaMabeline.reports.ReportsTop10Value"
android:screenOrientation="portrait"
android:exported="false"
android:theme="@style/AppTheme.NoActionBar"
android:windowSoftInputMode="stateAlwaysHidden"
tools:ignore="DiscouragedApi,LockedOrientationActivity" />
<activity
android:name=".reports.ReportsActivity"
android:name="com.cpm.lorealbaMabeline.reports.ReportsActivity"
android:screenOrientation="portrait"
android:exported="false"
android:theme="@style/AppTheme.NoActionBar"
android:windowSoftInputMode="stateAlwaysHidden"
tools:ignore="DiscouragedApi,LockedOrientationActivity" />
<activity
android:name=".reports.ReportsInwordStock"
android:name="com.cpm.lorealbaMabeline.reports.ReportsInwordStock"
android:screenOrientation="portrait"
android:exported="false"
android:theme="@style/AppTheme.NoActionBar"
android:windowSoftInputMode="stateAlwaysHidden"
tools:ignore="DiscouragedApi,LockedOrientationActivity" />
<activity
android:name=".reports.ReportAttendanceSummaryActivity"
android:name="com.cpm.lorealbaMabeline.reports.ReportAttendanceSummaryActivity"
android:screenOrientation="portrait"
android:exported="false"
android:theme="@style/AppTheme.NoActionBar"
android:windowSoftInputMode="stateAlwaysHidden"
tools:ignore="DiscouragedApi,LockedOrientationActivity" />
<activity
android:name=".reports.TesterReportActivity"
android:name="com.cpm.lorealbaMabeline.reports.TesterReportActivity"
android:screenOrientation="portrait"
android:exported="false"
android:theme="@style/AppTheme.NoActionBar"
android:windowSoftInputMode="stateAlwaysHidden"
tools:ignore="DiscouragedApi,LockedOrientationActivity" />
<activity
android:name=".reports.KPITrackerActivity"
android:name="com.cpm.lorealbaMabeline.reports.KPITrackerActivity"
android:screenOrientation="portrait"
android:exported="false"
android:theme="@style/AppTheme.NoActionBar"
android:windowSoftInputMode="stateAlwaysHidden"
tools:ignore="DiscouragedApi,LockedOrientationActivity" />
<activity
android:name=".reports.DashbordOffTakeReportActivity"
android:name="com.cpm.lorealbaMabeline.reports.DashbordOffTakeReportActivity"
android:screenOrientation="portrait"
android:exported="false"
android:theme="@style/AppTheme.NoActionBar"
android:windowSoftInputMode="stateAlwaysHidden"
tools:ignore="DiscouragedApi,LockedOrientationActivity" />
<activity
android:name=".reports.dailyTva.DailyTVAActivity"
android:name="com.cpm.lorealbaMabeline.reports.dailyTva.DailyTVAActivity"
android:screenOrientation="portrait"
android:exported="false"
android:theme="@style/AppTheme.NoActionBar"
android:windowSoftInputMode="stateAlwaysHidden"
tools:ignore="DiscouragedApi,LockedOrientationActivity" />
<activity
android:name=".reports.testerdetails.TesterUsageReportActivity"
android:name="com.cpm.lorealbaMabeline.reports.testerdetails.TesterUsageReportActivity"
android:screenOrientation="portrait"
android:exported="false"
android:theme="@style/AppTheme.NoActionBar"
android:windowSoftInputMode="stateAlwaysHidden"
tools:ignore="DiscouragedApi,LockedOrientationActivity" />
<activity
android:name=".reports.countervaluevolume.CounterValueVolumeDetailActivity"
android:name="com.cpm.lorealbaMabeline.reports.countervaluevolume.CounterValueVolumeDetailActivity"
android:screenOrientation="portrait"
android:exported="false"
android:theme="@style/AppTheme.NoActionBar"
@@ -552,42 +552,42 @@
tools:ignore="DiscouragedApi,LockedOrientationActivity" />
<activity
android:name=".reports.inwarddetails.CounterInwordDetailActivity"
android:name="com.cpm.lorealbaMabeline.reports.inwarddetails.CounterInwordDetailActivity"
android:screenOrientation="portrait"
android:exported="false"
android:theme="@style/AppTheme.NoActionBar"
android:windowSoftInputMode="stateAlwaysHidden"
tools:ignore="DiscouragedApi,LockedOrientationActivity" />
<activity
android:name=".forgotpassword.ForgotpasswordActity"
android:name="com.cpm.lorealbaMabeline.forgotpassword.ForgotpasswordActity"
android:screenOrientation="portrait"
android:exported="false"
android:theme="@style/AppTheme.NoActionBar"
android:windowSoftInputMode="adjustPan"
tools:ignore="DiscouragedApi,LockedOrientationActivity" />
<activity
android:name=".reports.ReportBaAvailability"
android:name="com.cpm.lorealbaMabeline.reports.ReportBaAvailability"
android:screenOrientation="portrait"
android:exported="false"
android:theme="@style/AppTheme.NoActionBar"
android:windowSoftInputMode="stateAlwaysHidden"
tools:ignore="DiscouragedApi,LockedOrientationActivity" />
<activity
android:name=".makeupexpert.MakeoverDetailsActivity"
android:name="com.cpm.lorealbaMabeline.makeupexpert.MakeoverDetailsActivity"
android:screenOrientation="portrait"
android:exported="false"
android:theme="@style/AppTheme.NoActionBar"
android:windowSoftInputMode="adjustPan"
tools:ignore="DiscouragedApi,LockedOrientationActivity" />
<activity
android:name=".makeupexpert.MakeoverActivity"
android:name="com.cpm.lorealbaMabeline.makeupexpert.MakeoverActivity"
android:screenOrientation="portrait"
android:exported="false"
android:theme="@style/AppTheme.NoActionBar"
android:windowSoftInputMode="adjustPan"
tools:ignore="DiscouragedApi,LockedOrientationActivity" />
<activity
android:name=".makeupexpert.MEQuizActivity"
android:name="com.cpm.lorealbaMabeline.makeupexpert.MEQuizActivity"
android:screenOrientation="portrait"
android:exported="false"
android:theme="@style/AppTheme.NoActionBar"
@@ -601,33 +601,33 @@
tools:replace="screenOrientation" />
<activity
android:name=".notification.NotificationView"
android:name="com.cpm.lorealbaMabeline.notification.NotificationView"
android:label="Details of notification"
android:parentActivityName=".DealarBoardActivity"
android:parentActivityName="com.cpm.lorealbaMabeline.DealarBoardActivity"
android:screenOrientation="portrait"
android:exported="false"
tools:ignore="DiscouragedApi,LockedOrientationActivity">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".DealarBoardActivity" />
android:value="com.cpm.lorealbaMabeline.DealarBoardActivity" />
</activity>
<activity
android:name=".dailyactivity.BASurveyActivity"
android:name="com.cpm.lorealbaMabeline.dailyactivity.BASurveyActivity"
android:screenOrientation="portrait"
android:exported="false"
android:theme="@style/AppTheme.NoActionBar"
android:windowSoftInputMode="adjustPan"
tools:ignore="DiscouragedApi,LockedOrientationActivity" />
<activity
android:name=".dailyactivity.BASurveyListActivity"
android:name="com.cpm.lorealbaMabeline.dailyactivity.BASurveyListActivity"
android:screenOrientation="portrait"
android:exported="false"
android:theme="@style/AppTheme.NoActionBar"
android:windowSoftInputMode="adjustPan"
tools:ignore="DiscouragedApi,LockedOrientationActivity" />
<activity
android:name=".reports.DamagedStockHistory"
android:name="com.cpm.lorealbaMabeline.reports.DamagedStockHistory"
android:screenOrientation="portrait"
android:exported="false"
android:theme="@style/AppTheme.NoActionBar"
@@ -635,7 +635,7 @@
tools:ignore="DiscouragedApi,LockedOrientationActivity"/>
<activity
android:name=".leavemanagement.LeaveCalenderViewActivity"
android:name="com.cpm.lorealbaMabeline.leavemanagement.LeaveCalenderViewActivity"
android:screenOrientation="portrait"
android:exported="false"
android:theme="@style/AppTheme.NoActionBar"
@@ -643,7 +643,7 @@
tools:ignore="DiscouragedApi,LockedOrientationActivity" />
<activity
android:name=".geotag.GeoTaggingActivity"
android:name="com.cpm.lorealbaMabeline.geotag.GeoTaggingActivity"
android:screenOrientation="portrait"
android:exported="false"
android:theme="@style/AppTheme.NoActionBar"
@@ -651,7 +651,7 @@
tools:ignore="DiscouragedApi,LockedOrientationActivity" />
<activity
android:name=".checkout.BaCheckoutActivity"
android:name="com.cpm.lorealbaMabeline.checkout.BaCheckoutActivity"
android:screenOrientation="portrait"
android:exported="false"
android:theme="@style/AppTheme.NoActionBar"
@@ -681,14 +681,14 @@
</provider>
<service
android:name=".service.MyFirebaseMessagingService"
android:name="com.cpm.lorealbaMabeline.service.MyFirebaseMessagingService"
android:exported="false">
<intent-filter>
<action android:name="com.google.firebase.MESSAGING_EVENT" />
</intent-filter>
</service>
<service
android:name=".download.Downloader"
android:name="com.cpm.lorealbaMabeline.download.Downloader"
android:exported="false"
android:permission="android.permission.BIND_JOB_SERVICE" />
</application>
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation;
package com.cpm.lorealbaMabeline;
import android.annotation.SuppressLint;
import android.app.Activity;
@@ -17,9 +17,9 @@ import androidx.appcompat.app.AppCompatActivity;
import android.view.Window;
import android.widget.ProgressBar;
import android.widget.TextView;
import com.cpm.lorealbaautomation.Database.Lorealba_Database;
import com.cpm.lorealbaautomation.constant.AlertandMessages;
import com.cpm.lorealbaautomation.constant.CommonString;
import com.cpm.lorealbaMabeline.Database.Lorealba_Database;
import com.cpm.lorealbaMabeline.constant.AlertandMessages;
import com.cpm.lorealbaMabeline.constant.CommonString;
import java.io.File;
import java.io.FileOutputStream;
@@ -1,6 +1,6 @@
package com.cpm.lorealbaautomation;
package com.cpm.lorealbaMabeline;
import static com.cpm.lorealbaautomation.constant.CommonFunctions.checkincomplete_upload_data;
import static com.cpm.lorealbaMabeline.constant.CommonFunctions.checkincomplete_upload_data;
import android.Manifest;
import android.annotation.SuppressLint;
@@ -30,7 +30,7 @@ import com.google.android.gms.location.LocationRequest;
import com.google.android.gms.location.LocationServices;
import com.google.android.gms.location.LocationSettingsRequest;
import com.google.android.gms.location.SettingsClient;
import com.cpm.lorealbaautomation.delegates.PrefHelper;
import com.cpm.lorealbaMabeline.delegates.PrefHelper;
import androidx.annotation.NonNull;
import androidx.core.app.ActivityCompat;
@@ -54,20 +54,20 @@ import android.widget.Spinner;
import android.widget.TextView;
import android.widget.Toast;
import com.google.gson.Gson;
import com.cpm.lorealbaautomation.Database.Lorealba_Database;
import com.cpm.lorealbaautomation.Get_IMEI_number.ImeiNumberClass;
import com.cpm.lorealbaautomation.adapter.LeaveDetailAdapter;
import com.cpm.lorealbaautomation.constant.AlertandMessages;
import com.cpm.lorealbaautomation.constant.CommonFunctions;
import com.cpm.lorealbaautomation.constant.CommonString;
import com.cpm.lorealbaautomation.dailyactivity.NotificationDetailActivity;
import com.cpm.lorealbaautomation.databinding.DialogApplyLeaveBinding;
import com.cpm.lorealbaautomation.gsonGetterSetter.CounterDeviceLoginGetterSetter;
import com.cpm.lorealbaautomation.retrofit.PostApi;
import com.cpm.lorealbaautomation.tbaleavemodel.Common;
import com.cpm.lorealbaautomation.tbaleavemodel.TBAMESearch;
import com.cpm.lorealbaautomation.upload.ManualUploadActivity;
import com.cpm.lorealbaautomation.utils.DrawableClickListener;
import com.cpm.lorealbaMabeline.Database.Lorealba_Database;
import com.cpm.lorealbaMabeline.Get_IMEI_number.ImeiNumberClass;
import com.cpm.lorealbaMabeline.adapter.LeaveDetailAdapter;
import com.cpm.lorealbaMabeline.constant.AlertandMessages;
import com.cpm.lorealbaMabeline.constant.CommonFunctions;
import com.cpm.lorealbaMabeline.constant.CommonString;
import com.cpm.lorealbaMabeline.dailyactivity.NotificationDetailActivity;
import com.cpm.lorealbaMabeline.databinding.DialogApplyLeaveBinding;
import com.cpm.lorealbaMabeline.gsonGetterSetter.CounterDeviceLoginGetterSetter;
import com.cpm.lorealbaMabeline.retrofit.PostApi;
import com.cpm.lorealbaMabeline.tbaleavemodel.Common;
import com.cpm.lorealbaMabeline.tbaleavemodel.TBAMESearch;
import com.cpm.lorealbaMabeline.upload.ManualUploadActivity;
import com.cpm.lorealbaMabeline.utils.DrawableClickListener;
import org.json.JSONException;
import org.json.JSONObject;
@@ -442,7 +442,7 @@ public class CounterLoginActivity extends AppCompatActivity implements View.OnCl
counter_id = (EditText) findViewById(R.id.counter_id);
db = new Lorealba_Database(this);
db.open();
leaveSpin = (com.cpm.lorealbaautomation.utils.Spinner) findViewById(R.id.leaveSpin);
leaveSpin = (com.cpm.lorealbaMabeline.utils.Spinner) findViewById(R.id.leaveSpin);
versioncode_txt = (TextView) findViewById(R.id.versioncode_txt);
rlMarkLeave = (LinearLayout) findViewById(R.id.rlMarkLeave);
btncontinue = (Button) findViewById(R.id.btncontinue);
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation.Database;
package com.cpm.lorealbaMabeline.Database;
import android.annotation.SuppressLint;
import android.content.ContentValues;
@@ -9,129 +9,129 @@ import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import android.util.Log;
import com.cpm.lorealbaautomation.checkout.MasterCheckoutQuestion;
import com.cpm.lorealbaMabeline.checkout.MasterCheckoutQuestion;
import com.google.gson.Gson;
import com.google.gson.reflect.TypeToken;
import com.cpm.lorealbaautomation.constant.CommonString;
import com.cpm.lorealbaautomation.gettersetter.AuditDataGetterSetter;
import com.cpm.lorealbaautomation.gettersetter.BaTenureDetail;
import com.cpm.lorealbaautomation.gettersetter.GeotaggingBeans;
import com.cpm.lorealbaautomation.gettersetter.LoginGetterSetter;
import com.cpm.lorealbaautomation.gettersetter.MasterCompetitionOffer;
import com.cpm.lorealbaautomation.gettersetter.MasterCompetitionOfferSaleRange;
import com.cpm.lorealbaautomation.gettersetter.SaleableGetterSetter;
import com.cpm.lorealbaautomation.gsonGetterSetter.AppDashboardTVA;
import com.cpm.lorealbaautomation.gsonGetterSetter.AppDashboardTVADrillDown;
import com.cpm.lorealbaautomation.gsonGetterSetter.BASurveyGetterSetter;
import com.cpm.lorealbaautomation.gsonGetterSetter.BaListGetterSetter;
import com.cpm.lorealbaautomation.gsonGetterSetter.DamagePreviousPending;
import com.cpm.lorealbaautomation.gsonGetterSetter.DamageReturnToDistributor;
import com.cpm.lorealbaautomation.gsonGetterSetter.GroomingGetterSetter;
import com.cpm.lorealbaautomation.gsonGetterSetter.InvoiceGetterSetter;
import com.cpm.lorealbaautomation.gsonGetterSetter.InwardSalesPO;
import com.cpm.lorealbaautomation.gsonGetterSetter.JCPGetterSetter;
import com.cpm.lorealbaautomation.gsonGetterSetter.JourneyPlan;
import com.cpm.lorealbaautomation.gsonGetterSetter.MEMEAuditQuestion;
import com.cpm.lorealbaautomation.gsonGetterSetter.MEMEAuditQuestionUploadstatus;
import com.cpm.lorealbaautomation.gsonGetterSetter.MappingAppRestrictedKPI;
import com.cpm.lorealbaautomation.gsonGetterSetter.MappingCounterGroupBrand;
import com.cpm.lorealbaautomation.gsonGetterSetter.MappingVisibility;
import com.cpm.lorealbaautomation.gsonGetterSetter.MasterAgeLimit;
import com.cpm.lorealbaautomation.gsonGetterSetter.MasterBAProfile;
import com.cpm.lorealbaautomation.gsonGetterSetter.MasterBAProfileGetterSetter;
import com.cpm.lorealbaautomation.gsonGetterSetter.MasterCompetitionOfferGet;
import com.cpm.lorealbaautomation.gsonGetterSetter.MasterCompetitionOfferSet;
import com.cpm.lorealbaautomation.gsonGetterSetter.MasterCompetitionProductType;
import com.cpm.lorealbaautomation.gsonGetterSetter.MasterCompetitionPromoType;
import com.cpm.lorealbaautomation.gsonGetterSetter.MasterCompetitonBrandWiseNuance;
import com.cpm.lorealbaautomation.gsonGetterSetter.MasterInvoiceType;
import com.cpm.lorealbaautomation.gsonGetterSetter.MasterInvoiceTypeGetterSetter;
import com.cpm.lorealbaautomation.gsonGetterSetter.MasterBreak;
import com.cpm.lorealbaautomation.gsonGetterSetter.MasterLeaveType;
import com.cpm.lorealbaautomation.gsonGetterSetter.MasterLook;
import com.cpm.lorealbaautomation.gsonGetterSetter.MasterNonStockReason;
import com.cpm.lorealbaautomation.gsonGetterSetter.MasterNonStockReasonGetterSetter;
import com.cpm.lorealbaautomation.gsonGetterSetter.MasterNonVisibility;
import com.cpm.lorealbaautomation.gsonGetterSetter.MasterNonVisibilityGetterSetter;
import com.cpm.lorealbaautomation.gsonGetterSetter.MasterPosm;
import com.cpm.lorealbaautomation.gsonGetterSetter.MasterPromoOffer;
import com.cpm.lorealbaautomation.gsonGetterSetter.MasterPromotion;
import com.cpm.lorealbaautomation.gsonGetterSetter.MasterPromotionGetEntityItem;
import com.cpm.lorealbaautomation.gsonGetterSetter.MasterPromotionGetExclusionList;
import com.cpm.lorealbaautomation.gsonGetterSetter.MasterPromotionGetProductCatalog;
import com.cpm.lorealbaautomation.gsonGetterSetter.MasterPromotionGetProductGroup;
import com.cpm.lorealbaautomation.gsonGetterSetter.MasterPromotionSetEntityItem;
import com.cpm.lorealbaautomation.gsonGetterSetter.MasterPromotionSetExclusionList;
import com.cpm.lorealbaautomation.gsonGetterSetter.MasterPromotionSetProductCatalog;
import com.cpm.lorealbaautomation.gsonGetterSetter.MasterPromotionSetProductGroup;
import com.cpm.lorealbaautomation.gsonGetterSetter.MasterRetailExcellence;
import com.cpm.lorealbaautomation.gsonGetterSetter.MasterReturnReason;
import com.cpm.lorealbaautomation.gsonGetterSetter.MasterSkinType;
import com.cpm.lorealbaautomation.gsonGetterSetter.MasterProfile;
import com.cpm.lorealbaautomation.gsonGetterSetter.MasterProfileGetterSetter;
import com.cpm.lorealbaautomation.gsonGetterSetter.MasterProfileQuestion;
import com.cpm.lorealbaautomation.gsonGetterSetter.MasterProfileQuestionGetterSetter;
import com.cpm.lorealbaautomation.gsonGetterSetter.MasterSourcesOfSale;
import com.cpm.lorealbaautomation.gsonGetterSetter.MasterSurvey;
import com.cpm.lorealbaautomation.gsonGetterSetter.MasterSurveyUploadstatus;
import com.cpm.lorealbaautomation.gsonGetterSetter.MasterTermsCondition;
import com.cpm.lorealbaautomation.gsonGetterSetter.NotificationData;
import com.cpm.lorealbaautomation.gsonGetterSetter.ProductMaster;
import com.cpm.lorealbaautomation.gsonGetterSetter.ReportDamageStockHistory;
import com.cpm.lorealbaautomation.gsonGetterSetter.ReportMESale;
import com.cpm.lorealbaautomation.gsonGetterSetter.ReportMTDWorkingCounterME;
import com.cpm.lorealbaautomation.gsonGetterSetter.ReportProductGroupWiseSalesValue;
import com.cpm.lorealbaautomation.gsonGetterSetter.ReportSalesDateWise;
import com.cpm.lorealbaautomation.gsonGetterSetter.ReportSalesDetail;
import com.cpm.lorealbaautomation.gsonGetterSetter.ReportSalesL3MValue;
import com.cpm.lorealbaautomation.gsonGetterSetter.ResponseResult;
import com.cpm.lorealbaautomation.gsonGetterSetter.ServerTime;
import com.cpm.lorealbaautomation.gsonGetterSetter.ServerTimeGetterSetter;
import com.cpm.lorealbaautomation.gsonGetterSetter.StockSummaryCheck;
import com.cpm.lorealbaautomation.gsonGetterSetter.TCounterInvoice;
import com.cpm.lorealbaautomation.gsonGetterSetter.TCounterInvoiceGetterSetter;
import com.cpm.lorealbaautomation.gsonGetterSetter.TLeaveLedger;
import com.cpm.lorealbaautomation.gsonGetterSetter.TStockSummary;
import com.cpm.lorealbaautomation.gsonGetterSetter.TStockSummaryGetterSetter;
import com.cpm.lorealbaautomation.gsonGetterSetter.T_LeaveRequest;
import com.cpm.lorealbaautomation.gsonGetterSetter.TableStructureGetterSetter;
import com.cpm.lorealbaautomation.gsonGetterSetter.batbasale.BATBAPromoSale;
import com.cpm.lorealbaautomation.gsonGetterSetter.batbasale.BATBASale;
import com.cpm.lorealbaautomation.gsonGetterSetter.countervolune.ReportConterValue;
import com.cpm.lorealbaautomation.gsonGetterSetter.countervolune.ReportConterValueDetail;
import com.cpm.lorealbaautomation.gsonGetterSetter.countervolune.ReportCounterVolume;
import com.cpm.lorealbaautomation.gsonGetterSetter.countervolune.ReportCounterVolumeDetail;
import com.cpm.lorealbaautomation.gsonGetterSetter.inwordDetail.ReportCounterInwardStock;
import com.cpm.lorealbaautomation.gsonGetterSetter.inwordDetail.ReportCounterInwardStockDetail;
import com.cpm.lorealbaautomation.gsonGetterSetter.leaves.MasterHoliday;
import com.cpm.lorealbaautomation.gsonGetterSetter.leaves.TLeaveLedgerSummary;
import com.cpm.lorealbaautomation.gsonGetterSetter.leaves.TLeaveRequestDetail;
import com.cpm.lorealbaautomation.gsonGetterSetter.stockledger.ReportCounterStockLedger;
import com.cpm.lorealbaautomation.gsonGetterSetter.stockledger.ReportCounterStockLedgerDetail;
import com.cpm.lorealbaautomation.gsonGetterSetter.testerreports.ReportTesterCounter;
import com.cpm.lorealbaautomation.gsonGetterSetter.testerreports.TesterCounter;
import com.cpm.lorealbaautomation.reportGetterSetter.AppDashboardIncentive;
import com.cpm.lorealbaautomation.reportGetterSetter.AppDashboardLeaderBoard;
import com.cpm.lorealbaautomation.reportGetterSetter.ReportAttendanceDetail;
import com.cpm.lorealbaautomation.reportGetterSetter.ReportAttendanceSummary;
import com.cpm.lorealbaautomation.reportGetterSetter.ReportAvgBillValue;
import com.cpm.lorealbaautomation.reportGetterSetter.ReportAvgLinPerBill;
import com.cpm.lorealbaautomation.reportGetterSetter.ReportAvgTransactionPerDay;
import com.cpm.lorealbaautomation.reportGetterSetter.ReportAvgUnitsPerBill;
import com.cpm.lorealbaautomation.reportGetterSetter.ReportBAAvailability;
import com.cpm.lorealbaautomation.reportGetterSetter.ReportInwardStockSummary;
import com.cpm.lorealbaautomation.reportGetterSetter.ReportSalesValue;
import com.cpm.lorealbaautomation.reportGetterSetter.ReportSellingPrice;
import com.cpm.lorealbaautomation.reportGetterSetter.ReportTop10Value;
import com.cpm.lorealbaautomation.reportGetterSetter.ReportTop10Volume;
import com.cpm.lorealbaautomation.reports.dailyTva.DailyTVA;
import com.cpm.lorealbaautomation.reports.offtakemodels.L3MOffTakeCounter;
import com.cpm.lorealbaautomation.reports.offtakemodels.L3MOffTakeNuance;
import com.cpm.lorealbaautomation.reports.offtakemodels.L3MOffTakeSubAxe;
import com.cpm.lorealbaautomation.reports.offtakemodels.OffTakeData;
import com.cpm.lorealbaautomation.reports.offtakemodels.SalesGrowthCounter;
import com.cpm.lorealbaautomation.reports.offtakemodels.SalesGrowthSubAxe;
import com.cpm.lorealbaautomation.reports.testerdetails.ReportTesterCounterDetail;
import com.cpm.lorealbaMabeline.constant.CommonString;
import com.cpm.lorealbaMabeline.gettersetter.AuditDataGetterSetter;
import com.cpm.lorealbaMabeline.gettersetter.BaTenureDetail;
import com.cpm.lorealbaMabeline.gettersetter.GeotaggingBeans;
import com.cpm.lorealbaMabeline.gettersetter.LoginGetterSetter;
import com.cpm.lorealbaMabeline.gettersetter.MasterCompetitionOffer;
import com.cpm.lorealbaMabeline.gettersetter.MasterCompetitionOfferSaleRange;
import com.cpm.lorealbaMabeline.gettersetter.SaleableGetterSetter;
import com.cpm.lorealbaMabeline.gsonGetterSetter.AppDashboardTVA;
import com.cpm.lorealbaMabeline.gsonGetterSetter.AppDashboardTVADrillDown;
import com.cpm.lorealbaMabeline.gsonGetterSetter.BASurveyGetterSetter;
import com.cpm.lorealbaMabeline.gsonGetterSetter.BaListGetterSetter;
import com.cpm.lorealbaMabeline.gsonGetterSetter.DamagePreviousPending;
import com.cpm.lorealbaMabeline.gsonGetterSetter.DamageReturnToDistributor;
import com.cpm.lorealbaMabeline.gsonGetterSetter.GroomingGetterSetter;
import com.cpm.lorealbaMabeline.gsonGetterSetter.InvoiceGetterSetter;
import com.cpm.lorealbaMabeline.gsonGetterSetter.InwardSalesPO;
import com.cpm.lorealbaMabeline.gsonGetterSetter.JCPGetterSetter;
import com.cpm.lorealbaMabeline.gsonGetterSetter.JourneyPlan;
import com.cpm.lorealbaMabeline.gsonGetterSetter.MEMEAuditQuestion;
import com.cpm.lorealbaMabeline.gsonGetterSetter.MEMEAuditQuestionUploadstatus;
import com.cpm.lorealbaMabeline.gsonGetterSetter.MappingAppRestrictedKPI;
import com.cpm.lorealbaMabeline.gsonGetterSetter.MappingCounterGroupBrand;
import com.cpm.lorealbaMabeline.gsonGetterSetter.MappingVisibility;
import com.cpm.lorealbaMabeline.gsonGetterSetter.MasterAgeLimit;
import com.cpm.lorealbaMabeline.gsonGetterSetter.MasterBAProfile;
import com.cpm.lorealbaMabeline.gsonGetterSetter.MasterBAProfileGetterSetter;
import com.cpm.lorealbaMabeline.gsonGetterSetter.MasterCompetitionOfferGet;
import com.cpm.lorealbaMabeline.gsonGetterSetter.MasterCompetitionOfferSet;
import com.cpm.lorealbaMabeline.gsonGetterSetter.MasterCompetitionProductType;
import com.cpm.lorealbaMabeline.gsonGetterSetter.MasterCompetitionPromoType;
import com.cpm.lorealbaMabeline.gsonGetterSetter.MasterCompetitonBrandWiseNuance;
import com.cpm.lorealbaMabeline.gsonGetterSetter.MasterInvoiceType;
import com.cpm.lorealbaMabeline.gsonGetterSetter.MasterInvoiceTypeGetterSetter;
import com.cpm.lorealbaMabeline.gsonGetterSetter.MasterBreak;
import com.cpm.lorealbaMabeline.gsonGetterSetter.MasterLeaveType;
import com.cpm.lorealbaMabeline.gsonGetterSetter.MasterLook;
import com.cpm.lorealbaMabeline.gsonGetterSetter.MasterNonStockReason;
import com.cpm.lorealbaMabeline.gsonGetterSetter.MasterNonStockReasonGetterSetter;
import com.cpm.lorealbaMabeline.gsonGetterSetter.MasterNonVisibility;
import com.cpm.lorealbaMabeline.gsonGetterSetter.MasterNonVisibilityGetterSetter;
import com.cpm.lorealbaMabeline.gsonGetterSetter.MasterPosm;
import com.cpm.lorealbaMabeline.gsonGetterSetter.MasterPromoOffer;
import com.cpm.lorealbaMabeline.gsonGetterSetter.MasterPromotion;
import com.cpm.lorealbaMabeline.gsonGetterSetter.MasterPromotionGetEntityItem;
import com.cpm.lorealbaMabeline.gsonGetterSetter.MasterPromotionGetExclusionList;
import com.cpm.lorealbaMabeline.gsonGetterSetter.MasterPromotionGetProductCatalog;
import com.cpm.lorealbaMabeline.gsonGetterSetter.MasterPromotionGetProductGroup;
import com.cpm.lorealbaMabeline.gsonGetterSetter.MasterPromotionSetEntityItem;
import com.cpm.lorealbaMabeline.gsonGetterSetter.MasterPromotionSetExclusionList;
import com.cpm.lorealbaMabeline.gsonGetterSetter.MasterPromotionSetProductCatalog;
import com.cpm.lorealbaMabeline.gsonGetterSetter.MasterPromotionSetProductGroup;
import com.cpm.lorealbaMabeline.gsonGetterSetter.MasterRetailExcellence;
import com.cpm.lorealbaMabeline.gsonGetterSetter.MasterReturnReason;
import com.cpm.lorealbaMabeline.gsonGetterSetter.MasterSkinType;
import com.cpm.lorealbaMabeline.gsonGetterSetter.MasterProfile;
import com.cpm.lorealbaMabeline.gsonGetterSetter.MasterProfileGetterSetter;
import com.cpm.lorealbaMabeline.gsonGetterSetter.MasterProfileQuestion;
import com.cpm.lorealbaMabeline.gsonGetterSetter.MasterProfileQuestionGetterSetter;
import com.cpm.lorealbaMabeline.gsonGetterSetter.MasterSourcesOfSale;
import com.cpm.lorealbaMabeline.gsonGetterSetter.MasterSurvey;
import com.cpm.lorealbaMabeline.gsonGetterSetter.MasterSurveyUploadstatus;
import com.cpm.lorealbaMabeline.gsonGetterSetter.MasterTermsCondition;
import com.cpm.lorealbaMabeline.gsonGetterSetter.NotificationData;
import com.cpm.lorealbaMabeline.gsonGetterSetter.ProductMaster;
import com.cpm.lorealbaMabeline.gsonGetterSetter.ReportDamageStockHistory;
import com.cpm.lorealbaMabeline.gsonGetterSetter.ReportMESale;
import com.cpm.lorealbaMabeline.gsonGetterSetter.ReportMTDWorkingCounterME;
import com.cpm.lorealbaMabeline.gsonGetterSetter.ReportProductGroupWiseSalesValue;
import com.cpm.lorealbaMabeline.gsonGetterSetter.ReportSalesDateWise;
import com.cpm.lorealbaMabeline.gsonGetterSetter.ReportSalesDetail;
import com.cpm.lorealbaMabeline.gsonGetterSetter.ReportSalesL3MValue;
import com.cpm.lorealbaMabeline.gsonGetterSetter.ResponseResult;
import com.cpm.lorealbaMabeline.gsonGetterSetter.ServerTime;
import com.cpm.lorealbaMabeline.gsonGetterSetter.ServerTimeGetterSetter;
import com.cpm.lorealbaMabeline.gsonGetterSetter.StockSummaryCheck;
import com.cpm.lorealbaMabeline.gsonGetterSetter.TCounterInvoice;
import com.cpm.lorealbaMabeline.gsonGetterSetter.TCounterInvoiceGetterSetter;
import com.cpm.lorealbaMabeline.gsonGetterSetter.TLeaveLedger;
import com.cpm.lorealbaMabeline.gsonGetterSetter.TStockSummary;
import com.cpm.lorealbaMabeline.gsonGetterSetter.TStockSummaryGetterSetter;
import com.cpm.lorealbaMabeline.gsonGetterSetter.T_LeaveRequest;
import com.cpm.lorealbaMabeline.gsonGetterSetter.TableStructureGetterSetter;
import com.cpm.lorealbaMabeline.gsonGetterSetter.batbasale.BATBAPromoSale;
import com.cpm.lorealbaMabeline.gsonGetterSetter.batbasale.BATBASale;
import com.cpm.lorealbaMabeline.gsonGetterSetter.countervolune.ReportConterValue;
import com.cpm.lorealbaMabeline.gsonGetterSetter.countervolune.ReportConterValueDetail;
import com.cpm.lorealbaMabeline.gsonGetterSetter.countervolune.ReportCounterVolume;
import com.cpm.lorealbaMabeline.gsonGetterSetter.countervolune.ReportCounterVolumeDetail;
import com.cpm.lorealbaMabeline.gsonGetterSetter.inwordDetail.ReportCounterInwardStock;
import com.cpm.lorealbaMabeline.gsonGetterSetter.inwordDetail.ReportCounterInwardStockDetail;
import com.cpm.lorealbaMabeline.gsonGetterSetter.leaves.MasterHoliday;
import com.cpm.lorealbaMabeline.gsonGetterSetter.leaves.TLeaveLedgerSummary;
import com.cpm.lorealbaMabeline.gsonGetterSetter.leaves.TLeaveRequestDetail;
import com.cpm.lorealbaMabeline.gsonGetterSetter.stockledger.ReportCounterStockLedger;
import com.cpm.lorealbaMabeline.gsonGetterSetter.stockledger.ReportCounterStockLedgerDetail;
import com.cpm.lorealbaMabeline.gsonGetterSetter.testerreports.ReportTesterCounter;
import com.cpm.lorealbaMabeline.gsonGetterSetter.testerreports.TesterCounter;
import com.cpm.lorealbaMabeline.reportGetterSetter.AppDashboardIncentive;
import com.cpm.lorealbaMabeline.reportGetterSetter.AppDashboardLeaderBoard;
import com.cpm.lorealbaMabeline.reportGetterSetter.ReportAttendanceDetail;
import com.cpm.lorealbaMabeline.reportGetterSetter.ReportAttendanceSummary;
import com.cpm.lorealbaMabeline.reportGetterSetter.ReportAvgBillValue;
import com.cpm.lorealbaMabeline.reportGetterSetter.ReportAvgLinPerBill;
import com.cpm.lorealbaMabeline.reportGetterSetter.ReportAvgTransactionPerDay;
import com.cpm.lorealbaMabeline.reportGetterSetter.ReportAvgUnitsPerBill;
import com.cpm.lorealbaMabeline.reportGetterSetter.ReportBAAvailability;
import com.cpm.lorealbaMabeline.reportGetterSetter.ReportInwardStockSummary;
import com.cpm.lorealbaMabeline.reportGetterSetter.ReportSalesValue;
import com.cpm.lorealbaMabeline.reportGetterSetter.ReportSellingPrice;
import com.cpm.lorealbaMabeline.reportGetterSetter.ReportTop10Value;
import com.cpm.lorealbaMabeline.reportGetterSetter.ReportTop10Volume;
import com.cpm.lorealbaMabeline.reports.dailyTva.DailyTVA;
import com.cpm.lorealbaMabeline.reports.offtakemodels.L3MOffTakeCounter;
import com.cpm.lorealbaMabeline.reports.offtakemodels.L3MOffTakeNuance;
import com.cpm.lorealbaMabeline.reports.offtakemodels.L3MOffTakeSubAxe;
import com.cpm.lorealbaMabeline.reports.offtakemodels.OffTakeData;
import com.cpm.lorealbaMabeline.reports.offtakemodels.SalesGrowthCounter;
import com.cpm.lorealbaMabeline.reports.offtakemodels.SalesGrowthSubAxe;
import com.cpm.lorealbaMabeline.reports.testerdetails.ReportTesterCounterDetail;
import com.prolificinteractive.materialcalendarview.CalendarDay;
import java.lang.reflect.Type;
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation;
package com.cpm.lorealbaMabeline;
import android.Manifest;
@@ -32,9 +32,9 @@ import android.os.Bundle;
import androidx.annotation.NonNull;
import com.cpm.lorealbaautomation.checkout.BaCheckoutActivity;
import com.cpm.lorealbaautomation.dailyactivity.ServiceActivity;
import com.cpm.lorealbaautomation.gsonGetterSetter.JourneyPlan;
import com.cpm.lorealbaMabeline.checkout.BaCheckoutActivity;
import com.cpm.lorealbaMabeline.dailyactivity.ServiceActivity;
import com.cpm.lorealbaMabeline.gsonGetterSetter.JourneyPlan;
import com.google.android.gms.common.api.ResolvableApiException;
import com.google.android.gms.location.FusedLocationProviderClient;
import com.google.android.gms.location.SettingsClient;
@@ -72,40 +72,40 @@ import com.google.android.gms.location.LocationRequest;
import com.google.android.gms.location.LocationServices;
import com.google.android.gms.location.LocationSettingsRequest;
import com.google.gson.Gson;
import com.cpm.lorealbaautomation.Database.Lorealba_Database;
import com.cpm.lorealbaautomation.adapter.LeaveDetailAdapter;
import com.cpm.lorealbaautomation.constant.AlertandMessages;
import com.cpm.lorealbaautomation.constant.CommonFunctions;
import com.cpm.lorealbaautomation.constant.CommonString;
import com.cpm.lorealbaautomation.dailyactivity.BAProfileActivity;
import com.cpm.lorealbaautomation.dailyactivity.CounterImageActivity;
import com.cpm.lorealbaautomation.dailyactivity.CounterProfileActivity;
import com.cpm.lorealbaautomation.dailyactivity.GroomedActivity;
import com.cpm.lorealbaautomation.dailyactivity.NotificationsActivity;
import com.cpm.lorealbaautomation.dailyactivity.RetailExcellenceActivity;
import com.cpm.lorealbaautomation.databinding.DialogApplyLeaveBinding;
import com.cpm.lorealbaautomation.delegates.PrefHelper;
import com.cpm.lorealbaautomation.download.DownloadActivity;
import com.cpm.lorealbaautomation.download.Downloader;
import com.cpm.lorealbaautomation.gettersetter.LoginGetterSetter;
import com.cpm.lorealbaautomation.gsonGetterSetter.GroomingGetterSetter;
import com.cpm.lorealbaautomation.gsonGetterSetter.MasterProfile;
import com.cpm.lorealbaautomation.gsonGetterSetter.MasterProfileQuestionGetterSetter;
import com.cpm.lorealbaautomation.gsonGetterSetter.MasterPromoOffer;
import com.cpm.lorealbaautomation.gsonGetterSetter.ResponseResult;
import com.cpm.lorealbaautomation.leavemanagement.LeaveManagemntActivity;
import com.cpm.lorealbaautomation.password.ChangePasswordActivity;
import com.cpm.lorealbaautomation.pinviewactivity.PinViewActivity;
import com.cpm.lorealbaautomation.promooffer.PromoOffersActivity;
import com.cpm.lorealbaautomation.reports.MeSaleReport;
import com.cpm.lorealbaautomation.reports.PerformanceHistoryActivity;
import com.cpm.lorealbaautomation.reports.ReportsActivity;
import com.cpm.lorealbaautomation.retrofit.PostApi;
import com.cpm.lorealbaautomation.tbaleavemodel.Common;
import com.cpm.lorealbaautomation.tbaleavemodel.TBAMESearch;
import com.cpm.lorealbaautomation.upload.CommonUpload;
import com.cpm.lorealbaautomation.upload.UploadKeyData;
import com.cpm.lorealbaautomation.utils.DrawableClickListener;
import com.cpm.lorealbaMabeline.Database.Lorealba_Database;
import com.cpm.lorealbaMabeline.adapter.LeaveDetailAdapter;
import com.cpm.lorealbaMabeline.constant.AlertandMessages;
import com.cpm.lorealbaMabeline.constant.CommonFunctions;
import com.cpm.lorealbaMabeline.constant.CommonString;
import com.cpm.lorealbaMabeline.dailyactivity.BAProfileActivity;
import com.cpm.lorealbaMabeline.dailyactivity.CounterImageActivity;
import com.cpm.lorealbaMabeline.dailyactivity.CounterProfileActivity;
import com.cpm.lorealbaMabeline.dailyactivity.GroomedActivity;
import com.cpm.lorealbaMabeline.dailyactivity.NotificationsActivity;
import com.cpm.lorealbaMabeline.dailyactivity.RetailExcellenceActivity;
import com.cpm.lorealbaMabeline.databinding.DialogApplyLeaveBinding;
import com.cpm.lorealbaMabeline.delegates.PrefHelper;
import com.cpm.lorealbaMabeline.download.DownloadActivity;
import com.cpm.lorealbaMabeline.download.Downloader;
import com.cpm.lorealbaMabeline.gettersetter.LoginGetterSetter;
import com.cpm.lorealbaMabeline.gsonGetterSetter.GroomingGetterSetter;
import com.cpm.lorealbaMabeline.gsonGetterSetter.MasterProfile;
import com.cpm.lorealbaMabeline.gsonGetterSetter.MasterProfileQuestionGetterSetter;
import com.cpm.lorealbaMabeline.gsonGetterSetter.MasterPromoOffer;
import com.cpm.lorealbaMabeline.gsonGetterSetter.ResponseResult;
import com.cpm.lorealbaMabeline.leavemanagement.LeaveManagemntActivity;
import com.cpm.lorealbaMabeline.password.ChangePasswordActivity;
import com.cpm.lorealbaMabeline.pinviewactivity.PinViewActivity;
import com.cpm.lorealbaMabeline.promooffer.PromoOffersActivity;
import com.cpm.lorealbaMabeline.reports.MeSaleReport;
import com.cpm.lorealbaMabeline.reports.PerformanceHistoryActivity;
import com.cpm.lorealbaMabeline.reports.ReportsActivity;
import com.cpm.lorealbaMabeline.retrofit.PostApi;
import com.cpm.lorealbaMabeline.tbaleavemodel.Common;
import com.cpm.lorealbaMabeline.tbaleavemodel.TBAMESearch;
import com.cpm.lorealbaMabeline.upload.CommonUpload;
import com.cpm.lorealbaMabeline.upload.UploadKeyData;
import com.cpm.lorealbaMabeline.utils.DrawableClickListener;
import org.json.JSONObject;
@@ -133,10 +133,10 @@ import retrofit2.Response;
import retrofit2.Retrofit;
import retrofit2.converter.gson.GsonConverterFactory;
import static com.cpm.lorealbaautomation.constant.CommonFunctions.checkincomplete_upload_data;
import static com.cpm.lorealbaautomation.constant.CommonFunctions.getCroppedBitmap;
import static com.cpm.lorealbaautomation.constant.CommonFunctions.getResizedBitmap;
import static com.cpm.lorealbaautomation.dailyactivity.StoreImageActivity.convertBitmap;
import static com.cpm.lorealbaMabeline.constant.CommonFunctions.checkincomplete_upload_data;
import static com.cpm.lorealbaMabeline.constant.CommonFunctions.getCroppedBitmap;
import static com.cpm.lorealbaMabeline.constant.CommonFunctions.getResizedBitmap;
import static com.cpm.lorealbaMabeline.dailyactivity.StoreImageActivity.convertBitmap;
public class DealarBoardActivity extends AppCompatActivity implements NavigationView.OnNavigationItemSelectedListener, View.OnClickListener {
private SharedPreferences preferences = null;
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation.Get_IMEI_number;
package com.cpm.lorealbaMabeline.Get_IMEI_number;
import android.content.Context;
import android.os.Build;
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation.Get_IMEI_number;
package com.cpm.lorealbaMabeline.Get_IMEI_number;
import android.content.Context;
import android.telephony.TelephonyManager;
@@ -1,6 +1,6 @@
package com.cpm.lorealbaautomation;
package com.cpm.lorealbaMabeline;
import static com.cpm.lorealbaautomation.constant.CommonFunctions.checkincomplete_upload_data;
import static com.cpm.lorealbaMabeline.constant.CommonFunctions.checkincomplete_upload_data;
import android.Manifest;
import android.annotation.SuppressLint;
@@ -49,15 +49,15 @@ import com.google.android.gms.location.LocationSettingsResult;
import com.google.android.gms.location.LocationSettingsStatusCodes;
import com.google.firebase.crashlytics.FirebaseCrashlytics;
import com.google.gson.Gson;
import com.cpm.lorealbaautomation.Database.Lorealba_Database;
import com.cpm.lorealbaautomation.Get_IMEI_number.ImeiNumberClass;
import com.cpm.lorealbaautomation.constant.AlertandMessages;
import com.cpm.lorealbaautomation.constant.CommonString;
import com.cpm.lorealbaautomation.dailyactivity.NotificationDetailActivity;
import com.cpm.lorealbaautomation.delegates.PrefHelper;
import com.cpm.lorealbaautomation.gsonGetterSetter.CounterDeviceLoginGetterSetter;
import com.cpm.lorealbaautomation.retrofit.PostApi;
import com.cpm.lorealbaautomation.upload.ManualUploadActivity;
import com.cpm.lorealbaMabeline.Database.Lorealba_Database;
import com.cpm.lorealbaMabeline.Get_IMEI_number.ImeiNumberClass;
import com.cpm.lorealbaMabeline.constant.AlertandMessages;
import com.cpm.lorealbaMabeline.constant.CommonString;
import com.cpm.lorealbaMabeline.dailyactivity.NotificationDetailActivity;
import com.cpm.lorealbaMabeline.delegates.PrefHelper;
import com.cpm.lorealbaMabeline.gsonGetterSetter.CounterDeviceLoginGetterSetter;
import com.cpm.lorealbaMabeline.retrofit.PostApi;
import com.cpm.lorealbaMabeline.upload.ManualUploadActivity;
import org.json.JSONException;
import org.json.JSONObject;
import java.io.File;
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation;
package com.cpm.lorealbaMabeline;
import android.app.Application;
public class LorealBa extends Application {
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation;
package com.cpm.lorealbaMabeline;
import android.Manifest;
import android.annotation.SuppressLint;
@@ -13,10 +13,10 @@ import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
import android.os.Bundle;
import com.cpm.lorealbaautomation.gsonGetterSetter.JourneyPlan;
import com.cpm.lorealbaMabeline.gsonGetterSetter.JourneyPlan;
import com.google.android.material.dialog.MaterialAlertDialogBuilder;
import com.google.firebase.messaging.FirebaseMessaging;
import com.cpm.lorealbaautomation.delegates.PrefHelper;
import com.cpm.lorealbaMabeline.delegates.PrefHelper;
import android.util.Log;
import android.view.View;
@@ -35,20 +35,20 @@ import androidx.core.app.ActivityCompat;
import androidx.core.content.ContextCompat;
import com.google.gson.Gson;
import com.cpm.lorealbaautomation.Database.Lorealba_Database;
import com.cpm.lorealbaautomation.constant.AlertandMessages;
import com.cpm.lorealbaautomation.constant.CommonFunctions;
import com.cpm.lorealbaautomation.constant.CommonString;
import com.cpm.lorealbaautomation.dailyactivity.NotificationDetailActivity;
import com.cpm.lorealbaautomation.dailyactivity.TabLoginActivity;
import com.cpm.lorealbaautomation.gettersetter.LoginGetterSetter;
import com.cpm.lorealbaautomation.gsonGetterSetter.BaListGetterSetter;
import com.cpm.lorealbaautomation.gsonGetterSetter.JCPGetterSetter;
import com.cpm.lorealbaautomation.gsonGetterSetter.TableStructure;
import com.cpm.lorealbaautomation.gsonGetterSetter.TableStructureGetterSetter;
import com.cpm.lorealbaautomation.retrofit.DownloadAllDatawithRetro;
import com.cpm.lorealbaautomation.retrofit.PostApi;
import com.cpm.lorealbaautomation.retrofit.UploadDataWithRetrofit;
import com.cpm.lorealbaMabeline.Database.Lorealba_Database;
import com.cpm.lorealbaMabeline.constant.AlertandMessages;
import com.cpm.lorealbaMabeline.constant.CommonFunctions;
import com.cpm.lorealbaMabeline.constant.CommonString;
import com.cpm.lorealbaMabeline.dailyactivity.NotificationDetailActivity;
import com.cpm.lorealbaMabeline.dailyactivity.TabLoginActivity;
import com.cpm.lorealbaMabeline.gettersetter.LoginGetterSetter;
import com.cpm.lorealbaMabeline.gsonGetterSetter.BaListGetterSetter;
import com.cpm.lorealbaMabeline.gsonGetterSetter.JCPGetterSetter;
import com.cpm.lorealbaMabeline.gsonGetterSetter.TableStructure;
import com.cpm.lorealbaMabeline.gsonGetterSetter.TableStructureGetterSetter;
import com.cpm.lorealbaMabeline.retrofit.DownloadAllDatawithRetro;
import com.cpm.lorealbaMabeline.retrofit.PostApi;
import com.cpm.lorealbaMabeline.retrofit.UploadDataWithRetrofit;
import org.json.JSONException;
import org.json.JSONObject;
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation.adapter;
package com.cpm.lorealbaMabeline.adapter;
import android.annotation.SuppressLint;
import android.content.Context;
@@ -10,9 +10,9 @@ import androidx.annotation.NonNull;
import androidx.appcompat.widget.LinearLayoutCompat;
import androidx.cardview.widget.CardView;
import androidx.recyclerview.widget.RecyclerView;
import com.cpm.lorealbaautomation.R;
import com.cpm.lorealbaautomation.constant.CommonFunctions;
import com.cpm.lorealbaautomation.gsonGetterSetter.leaves.TLeaveRequestDetail;
import com.cpm.lorealbaMabeline.R;
import com.cpm.lorealbaMabeline.constant.CommonFunctions;
import com.cpm.lorealbaMabeline.gsonGetterSetter.leaves.TLeaveRequestDetail;
import java.util.List;
public class ApprovedLeaveAdapter extends RecyclerView.Adapter<ApprovedLeaveAdapter.MyViewHolder> {
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation.adapter;
package com.cpm.lorealbaMabeline.adapter;
import android.annotation.SuppressLint;
import android.content.Context;
@@ -8,8 +8,8 @@ import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.TextView;
import androidx.annotation.NonNull;
import com.cpm.lorealbaautomation.R;
import com.cpm.lorealbaautomation.gsonGetterSetter.MasterInvoiceType;
import com.cpm.lorealbaMabeline.R;
import com.cpm.lorealbaMabeline.gsonGetterSetter.MasterInvoiceType;
import java.util.ArrayList;
import java.util.List;
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation.adapter;
package com.cpm.lorealbaMabeline.adapter;
import android.annotation.SuppressLint;
import android.content.Context;
@@ -11,8 +11,8 @@ import androidx.annotation.NonNull;
import androidx.core.content.ContextCompat;
import androidx.recyclerview.widget.RecyclerView;
import com.cpm.lorealbaautomation.R;
import com.cpm.lorealbaautomation.gsonGetterSetter.inwordDetail.ReportCounterInwardStockDetail;
import com.cpm.lorealbaMabeline.R;
import com.cpm.lorealbaMabeline.gsonGetterSetter.inwordDetail.ReportCounterInwardStockDetail;
import java.util.List;
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation.adapter;
package com.cpm.lorealbaMabeline.adapter;
import android.annotation.SuppressLint;
import android.content.Context;
@@ -12,9 +12,9 @@ import androidx.annotation.NonNull;
import androidx.core.content.ContextCompat;
import androidx.recyclerview.widget.RecyclerView;
import com.cpm.lorealbaautomation.R;
import com.cpm.lorealbaautomation.constant.CommonFunctions;
import com.cpm.lorealbaautomation.tbaleavemodel.TBAMELeaveHistory;
import com.cpm.lorealbaMabeline.R;
import com.cpm.lorealbaMabeline.constant.CommonFunctions;
import com.cpm.lorealbaMabeline.tbaleavemodel.TBAMELeaveHistory;
import java.util.List;
@@ -41,7 +41,7 @@ public class LeaveDetailAdapter extends RecyclerView.Adapter<LeaveDetailAdapter.
if (position % 2 == 0) {
holder.rlLeaveDetail.setBackgroundColor(ContextCompat.getColor(inflator.getContext(), R.color.white));
} else {
holder.rlLeaveDetail.setBackgroundColor(ContextCompat.getColor(inflator.getContext(), R.color.gray));
holder.rlLeaveDetail.setBackgroundColor(ContextCompat.getColor(inflator.getContext(), com.androidbuts.multispinnerfilter.R.color.gray));
}
if (CommonFunctions.isTablet(inflator.getContext())) {
holder.tvDatefromTo.setText(current.getFromDate() + " - " + current.getToDate());
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation.adapter;
package com.cpm.lorealbaMabeline.adapter;
import android.content.Context;
import android.content.Intent;
@@ -13,10 +13,10 @@ import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import com.cpm.lorealbaautomation.R;
import com.cpm.lorealbaautomation.constant.CommonString;
import com.cpm.lorealbaautomation.gsonGetterSetter.MasterPromoOffer;
import com.cpm.lorealbaautomation.promooffer.PromoOfferDetailsActivity;
import com.cpm.lorealbaMabeline.R;
import com.cpm.lorealbaMabeline.constant.CommonString;
import com.cpm.lorealbaMabeline.gsonGetterSetter.MasterPromoOffer;
import com.cpm.lorealbaMabeline.promooffer.PromoOfferDetailsActivity;
import java.io.File;
import java.util.ArrayList;
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation.adapter;
package com.cpm.lorealbaMabeline.adapter;
import android.annotation.SuppressLint;
import android.content.Context;
@@ -8,8 +8,8 @@ import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.TextView;
import androidx.annotation.NonNull;
import com.cpm.lorealbaautomation.R;
import com.cpm.lorealbaautomation.gsonGetterSetter.MasterNonStockReason;
import com.cpm.lorealbaMabeline.R;
import com.cpm.lorealbaMabeline.gsonGetterSetter.MasterNonStockReason;
import java.util.ArrayList;
import java.util.List;
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation.adapter;
package com.cpm.lorealbaMabeline.adapter;
import android.annotation.SuppressLint;
import android.content.Context;
@@ -11,10 +11,10 @@ import androidx.annotation.NonNull;
import androidx.cardview.widget.CardView;
import androidx.recyclerview.widget.RecyclerView;
import com.cpm.lorealbaautomation.R;
import com.cpm.lorealbaautomation.constant.AlertandMessages;
import com.cpm.lorealbaautomation.constant.CommonFunctions;
import com.cpm.lorealbaautomation.gsonGetterSetter.ProductMaster;
import com.cpm.lorealbaMabeline.R;
import com.cpm.lorealbaMabeline.constant.AlertandMessages;
import com.cpm.lorealbaMabeline.constant.CommonFunctions;
import com.cpm.lorealbaMabeline.gsonGetterSetter.ProductMaster;
import java.util.List;
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation.adapter;
package com.cpm.lorealbaMabeline.adapter;
import android.annotation.SuppressLint;
import android.content.Context;
@@ -11,8 +11,8 @@ import androidx.annotation.NonNull;
import androidx.core.content.ContextCompat;
import androidx.recyclerview.widget.RecyclerView;
import com.cpm.lorealbaautomation.R;
import com.cpm.lorealbaautomation.gsonGetterSetter.countervolune.ReportCounterVolumeDetail;
import com.cpm.lorealbaMabeline.R;
import com.cpm.lorealbaMabeline.gsonGetterSetter.countervolune.ReportCounterVolumeDetail;
import java.util.List;
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation.autoconnectblutooth;
package com.cpm.lorealbaMabeline.autoconnectblutooth;
import android.bluetooth.BluetoothA2dp;
import android.bluetooth.BluetoothAdapter;
import android.bluetooth.BluetoothProfile;
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation.autoconnectblutooth;
package com.cpm.lorealbaMabeline.autoconnectblutooth;
import android.Manifest;
import android.annotation.SuppressLint;
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation.autoconnectblutooth;
package com.cpm.lorealbaMabeline.autoconnectblutooth;
import android.annotation.SuppressLint;
import android.bluetooth.BluetoothAdapter;
import android.content.BroadcastReceiver;
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation.blurlockview;
package com.cpm.lorealbaMabeline.blurlockview;
import android.animation.ObjectAnimator;
import android.content.Context;
@@ -14,7 +14,7 @@ import android.view.View;
import android.view.ViewGroup;
import android.widget.FrameLayout;
import android.widget.TextView;
import com.cpm.lorealbaautomation.R;
import com.cpm.lorealbaMabeline.R;
/**
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation.blurlockview;
package com.cpm.lorealbaMabeline.blurlockview;
import android.animation.Animator;
import android.animation.AnimatorListenerAdapter;
@@ -19,10 +19,10 @@ import android.widget.FrameLayout;
import android.widget.LinearLayout;
import android.widget.TextView;
import com.cpm.lorealbaautomation.R;
import com.cpm.lorealbaautomation.blurlockview.Directions.HideType;
import com.cpm.lorealbaautomation.blurlockview.Directions.ShowType;
import com.cpm.lorealbaautomation.blurlockview.Eases.EaseType;
import com.cpm.lorealbaMabeline.R;
import com.cpm.lorealbaMabeline.blurlockview.Directions.HideType;
import com.cpm.lorealbaMabeline.blurlockview.Directions.ShowType;
import com.cpm.lorealbaMabeline.blurlockview.Eases.EaseType;
import java.util.Stack;
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation.blurlockview;
package com.cpm.lorealbaMabeline.blurlockview;
import android.content.Context;
import android.content.res.Resources;
@@ -14,7 +14,7 @@ import android.renderscript.ScriptIntrinsicBlur;
import android.util.AttributeSet;
import android.view.View;
import com.cpm.lorealbaautomation.R;
import com.cpm.lorealbaMabeline.R;
/**
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation.blurlockview.Directions;
package com.cpm.lorealbaMabeline.blurlockview.Directions;
/**
* Created by Weiping on 2016/3/17.
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation.blurlockview.Directions;
package com.cpm.lorealbaMabeline.blurlockview.Directions;
/**
* Created by Weiping on 2016/3/17.
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation.blurlockview;
package com.cpm.lorealbaMabeline.blurlockview;
import android.animation.ObjectAnimator;
import android.content.Context;
@@ -7,7 +7,7 @@ import android.view.LayoutInflater;
import android.view.View;
import android.widget.FrameLayout;
import com.cpm.lorealbaautomation.R;
import com.cpm.lorealbaMabeline.R;
/**
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation.blurlockview.Eases;
package com.cpm.lorealbaMabeline.blurlockview.Eases;
import android.graphics.PointF;
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation.blurlockview.Eases;
package com.cpm.lorealbaMabeline.blurlockview.Eases;
/**
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation.blurlockview.Eases;
package com.cpm.lorealbaMabeline.blurlockview.Eases;
/**
* Created by Weiping on 2016/3/3.
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation.blurlockview.Eases;
package com.cpm.lorealbaMabeline.blurlockview.Eases;
/**
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation.blurlockview.Eases;
package com.cpm.lorealbaMabeline.blurlockview.Eases;
/**
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation.blurlockview.Eases;
package com.cpm.lorealbaMabeline.blurlockview.Eases;
/**
* Created by Weiping on 2016/3/3.
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation.blurlockview.Eases;
package com.cpm.lorealbaMabeline.blurlockview.Eases;
/**
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation.blurlockview.Eases;
package com.cpm.lorealbaMabeline.blurlockview.Eases;
/**
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation.blurlockview.Eases;
package com.cpm.lorealbaMabeline.blurlockview.Eases;
/**
* Created by Weiping on 2016/3/3.
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation.blurlockview.Eases;
package com.cpm.lorealbaMabeline.blurlockview.Eases;
/**
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation.blurlockview.Eases;
package com.cpm.lorealbaMabeline.blurlockview.Eases;
/**
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation.blurlockview.Eases;
package com.cpm.lorealbaMabeline.blurlockview.Eases;
/**
* Created by Weiping on 2016/3/3.
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation.blurlockview.Eases;
package com.cpm.lorealbaMabeline.blurlockview.Eases;
/**
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation.blurlockview.Eases;
package com.cpm.lorealbaMabeline.blurlockview.Eases;
/**
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation.blurlockview.Eases;
package com.cpm.lorealbaMabeline.blurlockview.Eases;
/**
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation.blurlockview.Eases;
package com.cpm.lorealbaMabeline.blurlockview.Eases;
/**
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation.blurlockview.Eases;
package com.cpm.lorealbaMabeline.blurlockview.Eases;
/**
* Created by Weiping on 2016/3/3.
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation.blurlockview.Eases;
package com.cpm.lorealbaMabeline.blurlockview.Eases;
/**
* Created by Weiping on 2016/3/3.
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation.blurlockview.Eases;
package com.cpm.lorealbaMabeline.blurlockview.Eases;
/**
* Created by Weiping on 2016/3/3.
*/
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation.blurlockview.Eases;
package com.cpm.lorealbaMabeline.blurlockview.Eases;
/**
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation.blurlockview.Eases;
package com.cpm.lorealbaMabeline.blurlockview.Eases;
/**
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation.blurlockview.Eases;
package com.cpm.lorealbaMabeline.blurlockview.Eases;
/**
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation.blurlockview.Eases;
package com.cpm.lorealbaMabeline.blurlockview.Eases;
/**
* Created by Weiping on 2016/3/3.
*/
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation.blurlockview.Eases;
package com.cpm.lorealbaMabeline.blurlockview.Eases;
/**
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation.blurlockview.Eases;
package com.cpm.lorealbaMabeline.blurlockview.Eases;
/**
* Created by Weiping on 2016/3/3.
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation.blurlockview.Eases;
package com.cpm.lorealbaMabeline.blurlockview.Eases;
/**
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation.blurlockview.Eases;
package com.cpm.lorealbaMabeline.blurlockview.Eases;
/**
* Created by Weiping on 2016/3/3.
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation.blurlockview.Eases;
package com.cpm.lorealbaMabeline.blurlockview.Eases;
/**
* Created by Weiping on 2016/3/3.
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation.blurlockview.Eases;
package com.cpm.lorealbaMabeline.blurlockview.Eases;
/**
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation.blurlockview.Eases;
package com.cpm.lorealbaMabeline.blurlockview.Eases;
/**
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation.blurlockview.Eases;
package com.cpm.lorealbaMabeline.blurlockview.Eases;
/**
* Created by Weiping on 2016/3/3.
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation.blurlockview.Eases;
package com.cpm.lorealbaMabeline.blurlockview.Eases;
/**
* Created by Weiping on 2016/3/3.
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation.blurlockview.Eases;
package com.cpm.lorealbaMabeline.blurlockview.Eases;
/**
* Created by Weiping on 2016/3/3.
@@ -1,10 +1,10 @@
package com.cpm.lorealbaautomation.blurlockview;
package com.cpm.lorealbaMabeline.blurlockview;
import android.content.Context;
import android.util.AttributeSet;
import android.widget.LinearLayout;
import com.cpm.lorealbaautomation.R;
import com.cpm.lorealbaMabeline.R;
/**
@@ -1,8 +1,8 @@
package com.cpm.lorealbaautomation.blurlockview;
package com.cpm.lorealbaMabeline.blurlockview;
import android.view.animation.Interpolator;
import com.cpm.lorealbaautomation.blurlockview.Eases.EaseType;
import com.cpm.lorealbaMabeline.blurlockview.Eases.EaseType;
/**
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation.blurlockview;
package com.cpm.lorealbaMabeline.blurlockview;
/**
* Created by Weiping on 2016/3/17.
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation.blurlockview;
package com.cpm.lorealbaMabeline.blurlockview;
import android.animation.ObjectAnimator;
import android.content.Context;
@@ -14,7 +14,7 @@ import android.view.ViewGroup;
import android.widget.FrameLayout;
import android.widget.TextView;
import com.cpm.lorealbaautomation.R;
import com.cpm.lorealbaMabeline.R;
/**
* Created by Weiping on 2016/3/16.
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation.breakmanagement;
package com.cpm.lorealbaMabeline.breakmanagement;
import android.annotation.SuppressLint;
import android.app.AlertDialog;
@@ -27,14 +27,14 @@ import android.widget.Button;
import android.widget.Spinner;
import android.widget.TextView;
import com.cpm.lorealbaautomation.Database.Lorealba_Database;
import com.cpm.lorealbaautomation.R;
import com.cpm.lorealbaautomation.constant.AlertandMessages;
import com.cpm.lorealbaautomation.constant.CommonFunctions;
import com.cpm.lorealbaautomation.constant.CommonString;
import com.cpm.lorealbaautomation.delegates.PrefHelper;
import com.cpm.lorealbaautomation.download.Downloader;
import com.cpm.lorealbaautomation.gsonGetterSetter.MasterBreak;
import com.cpm.lorealbaMabeline.Database.Lorealba_Database;
import com.cpm.lorealbaMabeline.R;
import com.cpm.lorealbaMabeline.constant.AlertandMessages;
import com.cpm.lorealbaMabeline.constant.CommonFunctions;
import com.cpm.lorealbaMabeline.constant.CommonString;
import com.cpm.lorealbaMabeline.delegates.PrefHelper;
import com.cpm.lorealbaMabeline.download.Downloader;
import com.cpm.lorealbaMabeline.gsonGetterSetter.MasterBreak;
import java.text.ParseException;
import java.text.SimpleDateFormat;
@@ -1,11 +1,11 @@
package com.cpm.lorealbaautomation.bulkInsert;
package com.cpm.lorealbaMabeline.bulkInsert;
import android.content.ContentResolver;
import android.content.ContentUris;
import android.net.Uri;
import android.provider.BaseColumns;
import com.cpm.lorealbaautomation.BuildConfig;
import com.cpm.lorealbaMabeline.BuildConfig;
public class DBContract {
/*Content Authority its a name for the content provider, is convenient to use the
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation.bulkInsert;
package com.cpm.lorealbaMabeline.bulkInsert;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation.bulkInsert;
package com.cpm.lorealbaMabeline.bulkInsert;
import android.content.ContentProvider;
import android.content.ContentValues;
@@ -1,7 +1,7 @@
package com.cpm.lorealbaautomation.checkout;
package com.cpm.lorealbaMabeline.checkout;
import static com.cpm.lorealbaautomation.constant.CommonFunctions.getCurrentTime;
import static com.cpm.lorealbaautomation.dailyactivity.StoreImageActivity.convertBitmap;
import static com.cpm.lorealbaMabeline.constant.CommonFunctions.getCurrentTime;
import static com.cpm.lorealbaMabeline.dailyactivity.StoreImageActivity.convertBitmap;
import android.Manifest;
import android.annotation.SuppressLint;
@@ -39,22 +39,20 @@ import androidx.annotation.NonNull;
import androidx.appcompat.app.AppCompatActivity;
import androidx.appcompat.widget.Toolbar;
import androidx.core.app.ActivityCompat;
import androidx.core.content.ContextCompat;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import com.cpm.lorealbaautomation.Database.Lorealba_Database;
import com.cpm.lorealbaautomation.R;
import com.cpm.lorealbaautomation.constant.AlertandMessages;
import com.cpm.lorealbaautomation.constant.CommonFunctions;
import com.cpm.lorealbaautomation.constant.CommonString;
import com.cpm.lorealbaautomation.databinding.ActivityBacheckoutBinding;
import com.cpm.lorealbaautomation.databinding.ItemBacheckoutBinding;
import com.cpm.lorealbaautomation.delegates.PrefHelper;
import com.cpm.lorealbaautomation.download.Downloader;
import com.cpm.lorealbaautomation.gsonGetterSetter.JourneyPlan;
import com.cpm.lorealbaautomation.gsonGetterSetter.MasterPosm;
import com.cpm.lorealbaautomation.retrofit.UploadDataWithRetrofit;
import com.cpm.lorealbaMabeline.Database.Lorealba_Database;
import com.cpm.lorealbaMabeline.R;
import com.cpm.lorealbaMabeline.constant.AlertandMessages;
import com.cpm.lorealbaMabeline.constant.CommonFunctions;
import com.cpm.lorealbaMabeline.constant.CommonString;
import com.cpm.lorealbaMabeline.databinding.ActivityBacheckoutBinding;
import com.cpm.lorealbaMabeline.databinding.ItemBacheckoutBinding;
import com.cpm.lorealbaMabeline.delegates.PrefHelper;
import com.cpm.lorealbaMabeline.download.Downloader;
import com.cpm.lorealbaMabeline.gsonGetterSetter.JourneyPlan;
import com.cpm.lorealbaMabeline.retrofit.UploadDataWithRetrofit;
import com.google.android.gms.common.api.ResolvableApiException;
import com.google.android.gms.location.FusedLocationProviderClient;
import com.google.android.gms.location.LocationCallback;
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation.checkout;
package com.cpm.lorealbaMabeline.checkout;
import com.google.gson.annotations.SerializedName;
@@ -1,7 +1,7 @@
package com.cpm.lorealbaautomation.competitionoffer;
package com.cpm.lorealbaMabeline.competitionoffer;
import static com.cpm.lorealbaautomation.constant.CommonFunctions.getCurrentTime;
import static com.cpm.lorealbaautomation.dailyactivity.StoreImageActivity.convertBitmap;
import static com.cpm.lorealbaMabeline.constant.CommonFunctions.getCurrentTime;
import static com.cpm.lorealbaMabeline.dailyactivity.StoreImageActivity.convertBitmap;
import androidx.annotation.NonNull;
import androidx.appcompat.app.AlertDialog;
@@ -50,21 +50,21 @@ import com.google.android.material.floatingactionbutton.FloatingActionButton;
import com.google.gson.Gson;
import com.google.zxing.integration.android.IntentIntegrator;
import com.google.zxing.integration.android.IntentResult;
import com.cpm.lorealbaautomation.Database.Lorealba_Database;
import com.cpm.lorealbaautomation.R;
import com.cpm.lorealbaautomation.constant.AlertandMessages;
import com.cpm.lorealbaautomation.constant.CommonFunctions;
import com.cpm.lorealbaautomation.constant.CommonString;
import com.cpm.lorealbaautomation.databinding.CompetitionOfferBaDetailBinding;
import com.cpm.lorealbaautomation.delegates.PrefHelper;
import com.cpm.lorealbaautomation.gettersetter.BaTenureDetail;
import com.cpm.lorealbaautomation.gettersetter.MasterCompetitionOffer;
import com.cpm.lorealbaautomation.gettersetter.MasterCompetitionOfferSaleRange;
import com.cpm.lorealbaautomation.gsonGetterSetter.MasterCompetitionOfferGet;
import com.cpm.lorealbaautomation.gsonGetterSetter.MasterCompetitionOfferSet;
import com.cpm.lorealbaautomation.gsonGetterSetter.MasterCompetitionProductType;
import com.cpm.lorealbaautomation.gsonGetterSetter.MasterCompetitionPromoType;
import com.cpm.lorealbaautomation.gsonGetterSetter.MasterCompetitonBrandWiseNuance;
import com.cpm.lorealbaMabeline.Database.Lorealba_Database;
import com.cpm.lorealbaMabeline.R;
import com.cpm.lorealbaMabeline.constant.AlertandMessages;
import com.cpm.lorealbaMabeline.constant.CommonFunctions;
import com.cpm.lorealbaMabeline.constant.CommonString;
import com.cpm.lorealbaMabeline.databinding.CompetitionOfferBaDetailBinding;
import com.cpm.lorealbaMabeline.delegates.PrefHelper;
import com.cpm.lorealbaMabeline.gettersetter.BaTenureDetail;
import com.cpm.lorealbaMabeline.gettersetter.MasterCompetitionOffer;
import com.cpm.lorealbaMabeline.gettersetter.MasterCompetitionOfferSaleRange;
import com.cpm.lorealbaMabeline.gsonGetterSetter.MasterCompetitionOfferGet;
import com.cpm.lorealbaMabeline.gsonGetterSetter.MasterCompetitionOfferSet;
import com.cpm.lorealbaMabeline.gsonGetterSetter.MasterCompetitionProductType;
import com.cpm.lorealbaMabeline.gsonGetterSetter.MasterCompetitionPromoType;
import com.cpm.lorealbaMabeline.gsonGetterSetter.MasterCompetitonBrandWiseNuance;
import org.json.JSONArray;
import org.json.JSONException;
@@ -1423,7 +1423,7 @@ public class CompetitionOfferActivity extends AppCompatActivity implements View.
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
requestWindowFeature(Window.FEATURE_NO_TITLE);
com.cpm.lorealbaautomation.databinding.CompetitionOfferBaDetailBinding binding = CompetitionOfferBaDetailBinding.inflate(getLayoutInflater());
com.cpm.lorealbaMabeline.databinding.CompetitionOfferBaDetailBinding binding = CompetitionOfferBaDetailBinding.inflate(getLayoutInflater());
setContentView(binding.getRoot());
Objects.requireNonNull(getWindow()).setBackgroundDrawable(new ColorDrawable(Color.TRANSPARENT));
binding.closeDialog.setOnClickListener(v -> dismiss());
@@ -1,11 +1,11 @@
package com.cpm.lorealbaautomation.constant;
package com.cpm.lorealbaMabeline.constant;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.Context;
import com.google.android.material.snackbar.Snackbar;
import com.cpm.lorealbaautomation.download.DownloadActivity;
import com.cpm.lorealbaMabeline.download.DownloadActivity;
import android.content.Intent;
import android.widget.Toast;
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation.constant;
package com.cpm.lorealbaMabeline.constant;
import android.Manifest;
import android.annotation.SuppressLint;
@@ -40,12 +40,12 @@ import android.widget.ImageView;
import android.widget.TextView;
import com.google.firebase.crashlytics.FirebaseCrashlytics;
import com.cpm.lorealbaautomation.Database.Lorealba_Database;
import com.cpm.lorealbaautomation.R;
import com.cpm.lorealbaautomation.delegates.PrefHelper;
import com.cpm.lorealbaautomation.gsonGetterSetter.ProductMaster;
import com.cpm.lorealbaautomation.retrofit.DownloadAllDatawithRetro;
import com.cpm.lorealbaautomation.upload.UploadKeyData;
import com.cpm.lorealbaMabeline.Database.Lorealba_Database;
import com.cpm.lorealbaMabeline.R;
import com.cpm.lorealbaMabeline.delegates.PrefHelper;
import com.cpm.lorealbaMabeline.gsonGetterSetter.ProductMaster;
import com.cpm.lorealbaMabeline.retrofit.DownloadAllDatawithRetro;
import com.cpm.lorealbaMabeline.upload.UploadKeyData;
import org.json.JSONObject;
@@ -1,8 +1,8 @@
package com.cpm.lorealbaautomation.constant;
package com.cpm.lorealbaMabeline.constant;
import android.content.Context;
import com.cpm.lorealbaautomation.utils.AppUtils;
import com.cpm.lorealbaMabeline.utils.AppUtils;
/**
* Created by jeevanp on 14-12-2017.
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation.constant;
package com.cpm.lorealbaMabeline.constant;
import android.content.ContentUris;
import android.content.Context;
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation.constant;
package com.cpm.lorealbaMabeline.constant;
import android.content.Context;
import android.content.res.TypedArray;
@@ -11,7 +11,7 @@ import android.view.animation.Animation;
import android.view.animation.LinearInterpolator;
import android.view.animation.Transformation;
import com.cpm.lorealbaautomation.R;
import com.cpm.lorealbaMabeline.R;
public class HorizontalProgressBar extends View {
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation.constant;
package com.cpm.lorealbaMabeline.constant;
import android.graphics.Bitmap;
import android.graphics.Canvas;
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation.constant;
package com.cpm.lorealbaMabeline.constant;
import android.graphics.Bitmap;
import android.graphics.BitmapShader;
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation.constant;
package com.cpm.lorealbaMabeline.constant;
import android.annotation.SuppressLint;
import android.content.Context;
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation.consumeractivity;
package com.cpm.lorealbaMabeline.consumeractivity;
import android.annotation.SuppressLint;
import android.app.AlertDialog;
@@ -21,13 +21,13 @@ import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;
import com.cpm.lorealbaautomation.Database.Lorealba_Database;
import com.cpm.lorealbaautomation.R;
import com.cpm.lorealbaautomation.constant.AlertandMessages;
import com.cpm.lorealbaautomation.constant.CommonFunctions;
import com.cpm.lorealbaautomation.constant.CommonString;
import com.cpm.lorealbaautomation.delegates.PrefHelper;
import com.cpm.lorealbaautomation.gsonGetterSetter.InvoiceGetterSetter;
import com.cpm.lorealbaMabeline.Database.Lorealba_Database;
import com.cpm.lorealbaMabeline.R;
import com.cpm.lorealbaMabeline.constant.AlertandMessages;
import com.cpm.lorealbaMabeline.constant.CommonFunctions;
import com.cpm.lorealbaMabeline.constant.CommonString;
import com.cpm.lorealbaMabeline.delegates.PrefHelper;
import com.cpm.lorealbaMabeline.gsonGetterSetter.InvoiceGetterSetter;
import java.util.ArrayList;
import java.util.List;
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation.consumeractivity;
package com.cpm.lorealbaMabeline.consumeractivity;
import android.annotation.SuppressLint;
import android.app.Activity;
@@ -41,14 +41,14 @@ import android.widget.Toast;
import com.google.zxing.integration.android.IntentIntegrator;
import com.google.zxing.integration.android.IntentResult;
import com.cpm.lorealbaautomation.Database.Lorealba_Database;
import com.cpm.lorealbaautomation.R;
import com.cpm.lorealbaautomation.constant.AlertandMessages;
import com.cpm.lorealbaautomation.constant.CommonFunctions;
import com.cpm.lorealbaautomation.constant.CommonString;
import com.cpm.lorealbaautomation.delegates.PrefHelper;
import com.cpm.lorealbaautomation.gsonGetterSetter.InvoiceGetterSetter;
import com.cpm.lorealbaautomation.gsonGetterSetter.ProductMaster;
import com.cpm.lorealbaMabeline.Database.Lorealba_Database;
import com.cpm.lorealbaMabeline.R;
import com.cpm.lorealbaMabeline.constant.AlertandMessages;
import com.cpm.lorealbaMabeline.constant.CommonFunctions;
import com.cpm.lorealbaMabeline.constant.CommonString;
import com.cpm.lorealbaMabeline.delegates.PrefHelper;
import com.cpm.lorealbaMabeline.gsonGetterSetter.InvoiceGetterSetter;
import com.cpm.lorealbaMabeline.gsonGetterSetter.ProductMaster;
import java.util.ArrayList;
@@ -56,8 +56,8 @@ import java.util.List;
import java.util.Objects;
import static com.cpm.lorealbaautomation.constant.CommonFunctions.removeFirstChar;
import static com.cpm.lorealbaautomation.dailyactivity.ConsumerReturnActivity.replace_productList;
import static com.cpm.lorealbaMabeline.constant.CommonFunctions.removeFirstChar;
import static com.cpm.lorealbaMabeline.dailyactivity.ConsumerReturnActivity.replace_productList;
public class ConsumerReturnReplaceProductActivity extends AppCompatActivity implements View.OnClickListener {
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation.consumeractivity;
package com.cpm.lorealbaMabeline.consumeractivity;
import android.content.Context;
import android.content.Intent;
@@ -21,13 +21,13 @@ import android.widget.LinearLayout;
import android.widget.TextView;
import com.google.firebase.crashlytics.FirebaseCrashlytics;
import com.cpm.lorealbaautomation.Database.Lorealba_Database;
import com.cpm.lorealbaautomation.R;
import com.cpm.lorealbaautomation.constant.CommonFunctions;
import com.cpm.lorealbaautomation.constant.CommonString;
import com.cpm.lorealbaautomation.delegates.PrefHelper;
import com.cpm.lorealbaautomation.gsonGetterSetter.InvoiceGetterSetter;
import com.cpm.lorealbaautomation.printer.PrinterActivity;
import com.cpm.lorealbaMabeline.Database.Lorealba_Database;
import com.cpm.lorealbaMabeline.R;
import com.cpm.lorealbaMabeline.constant.CommonFunctions;
import com.cpm.lorealbaMabeline.constant.CommonString;
import com.cpm.lorealbaMabeline.delegates.PrefHelper;
import com.cpm.lorealbaMabeline.gsonGetterSetter.InvoiceGetterSetter;
import com.cpm.lorealbaMabeline.printer.PrinterActivity;
import java.util.ArrayList;
import java.util.Collections;
@@ -1,8 +1,8 @@
package com.cpm.lorealbaautomation.consumeractivity;
package com.cpm.lorealbaMabeline.consumeractivity;
import static com.cpm.lorealbaautomation.constant.CommonFunctions.getCurrentTime;
import static com.cpm.lorealbaautomation.constant.CommonFunctions.removeFirstChar;
import static com.cpm.lorealbaautomation.dailyactivity.StoreImageActivity.convertBitmap;
import static com.cpm.lorealbaMabeline.constant.CommonFunctions.getCurrentTime;
import static com.cpm.lorealbaMabeline.constant.CommonFunctions.removeFirstChar;
import static com.cpm.lorealbaMabeline.dailyactivity.StoreImageActivity.convertBitmap;
import android.annotation.SuppressLint;
import android.app.Activity;
@@ -55,25 +55,25 @@ import com.google.android.material.floatingactionbutton.FloatingActionButton;
import com.google.gson.Gson;
import com.google.zxing.integration.android.IntentIntegrator;
import com.google.zxing.integration.android.IntentResult;
import com.cpm.lorealbaautomation.Database.Lorealba_Database;
import com.cpm.lorealbaautomation.R;
import com.cpm.lorealbaautomation.constant.AlertandMessages;
import com.cpm.lorealbaautomation.constant.CommonFunctions;
import com.cpm.lorealbaautomation.constant.CommonString;
import com.cpm.lorealbaautomation.delegates.PrefHelper;
import com.cpm.lorealbaautomation.gsonGetterSetter.ConsumerSalesHistory;
import com.cpm.lorealbaautomation.gsonGetterSetter.ConsumerTermsConditionAccept;
import com.cpm.lorealbaautomation.gsonGetterSetter.InvoiceGetterSetter;
import com.cpm.lorealbaautomation.gsonGetterSetter.JourneyPlan;
import com.cpm.lorealbaautomation.gsonGetterSetter.MasterAgeLimit;
import com.cpm.lorealbaautomation.gsonGetterSetter.MasterBAProfileGetterSetter;
import com.cpm.lorealbaautomation.gsonGetterSetter.MasterPromotion;
import com.cpm.lorealbaautomation.gsonGetterSetter.MasterPromotionSetEntityItem;
import com.cpm.lorealbaautomation.gsonGetterSetter.MasterPromotionSetProductGroup;
import com.cpm.lorealbaautomation.gsonGetterSetter.MasterSkinType;
import com.cpm.lorealbaautomation.gsonGetterSetter.MasterSourcesOfSale;
import com.cpm.lorealbaautomation.gsonGetterSetter.ProductMaster;
import com.cpm.lorealbaautomation.retrofit.PostApi;
import com.cpm.lorealbaMabeline.Database.Lorealba_Database;
import com.cpm.lorealbaMabeline.R;
import com.cpm.lorealbaMabeline.constant.AlertandMessages;
import com.cpm.lorealbaMabeline.constant.CommonFunctions;
import com.cpm.lorealbaMabeline.constant.CommonString;
import com.cpm.lorealbaMabeline.delegates.PrefHelper;
import com.cpm.lorealbaMabeline.gsonGetterSetter.ConsumerSalesHistory;
import com.cpm.lorealbaMabeline.gsonGetterSetter.ConsumerTermsConditionAccept;
import com.cpm.lorealbaMabeline.gsonGetterSetter.InvoiceGetterSetter;
import com.cpm.lorealbaMabeline.gsonGetterSetter.JourneyPlan;
import com.cpm.lorealbaMabeline.gsonGetterSetter.MasterAgeLimit;
import com.cpm.lorealbaMabeline.gsonGetterSetter.MasterBAProfileGetterSetter;
import com.cpm.lorealbaMabeline.gsonGetterSetter.MasterPromotion;
import com.cpm.lorealbaMabeline.gsonGetterSetter.MasterPromotionSetEntityItem;
import com.cpm.lorealbaMabeline.gsonGetterSetter.MasterPromotionSetProductGroup;
import com.cpm.lorealbaMabeline.gsonGetterSetter.MasterSkinType;
import com.cpm.lorealbaMabeline.gsonGetterSetter.MasterSourcesOfSale;
import com.cpm.lorealbaMabeline.gsonGetterSetter.ProductMaster;
import com.cpm.lorealbaMabeline.retrofit.PostApi;
import org.json.JSONException;
import org.json.JSONObject;
@@ -266,7 +266,7 @@ public class ConsumerUserDetailsActivity extends AppCompatActivity implements Vi
if (flag_for_consumer_Update != null && flag_for_consumer_Update.equals("1")) {
edt_mobile_no.setEnabled(false);
mobile_checkbox.setEnabled(false);
rl_term_condition.setTextColor(getResources().getColor(R.color.gray));
rl_term_condition.setTextColor(getResources().getColor(com.androidbuts.multispinnerfilter.R.color.gray));
rl_term_condition.setEnabled(false);
mobile_checkbox.setEnabled(false);
edt_email_address.setEnabled(false);
@@ -508,7 +508,7 @@ public class ConsumerUserDetailsActivity extends AppCompatActivity implements Vi
mobile_checkbox.setEnabled(false);
edt_email_address.setEnabled(false);
edt_email_address.setText("");
rl_term_condition.setTextColor(getResources().getColor(R.color.gray));
rl_term_condition.setTextColor(getResources().getColor(com.androidbuts.multispinnerfilter.R.color.gray));
rl_term_condition.setEnabled(false);
});
@@ -700,7 +700,7 @@ public class ConsumerUserDetailsActivity extends AppCompatActivity implements Vi
edt_mobile_no.setText("0000000000");
rl_otp.setVisibility(View.GONE);
edt_mobile_no.setEnabled(false);
rl_term_condition.setTextColor(getResources().getColor(R.color.gray));
rl_term_condition.setTextColor(getResources().getColor(com.androidbuts.multispinnerfilter.R.color.gray));
} else {
edt_mobile_no.setText("");
no_mobile_no_flag = false;
@@ -3180,7 +3180,7 @@ public class ConsumerUserDetailsActivity extends AppCompatActivity implements Vi
List<ConsumerTermsConditionAccept> dataresponce = reportbaAvailabilityGetterSetter.getConsumerTermsConditionAccept();
if (dataresponce.get(0).getTermsConditionAccept()) {
response_term_condition = "1";
rl_term_condition.setTextColor(getResources().getColor(R.color.gray));
rl_term_condition.setTextColor(getResources().getColor(com.androidbuts.multispinnerfilter.R.color.gray));
rl_term_condition.setEnabled(false);
} else {
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation.consumeractivity;
package com.cpm.lorealbaMabeline.consumeractivity;
import android.annotation.SuppressLint;
import android.app.AlertDialog;
@@ -32,15 +32,15 @@ import android.widget.LinearLayout;
import android.widget.ProgressBar;
import android.widget.TextView;
import com.cpm.lorealbaautomation.Database.Lorealba_Database;
import com.cpm.lorealbaautomation.R;
import com.cpm.lorealbaautomation.constant.AlertandMessages;
import com.cpm.lorealbaautomation.constant.CommonFunctions;
import com.cpm.lorealbaautomation.constant.CommonString;
import com.cpm.lorealbaautomation.delegates.PrefHelper;
import com.cpm.lorealbaautomation.gsonGetterSetter.InvoiceGetterSetter;
import com.cpm.lorealbaautomation.gsonGetterSetter.JourneyPlan;
import com.cpm.lorealbaautomation.printer.PrinterActivity;
import com.cpm.lorealbaMabeline.Database.Lorealba_Database;
import com.cpm.lorealbaMabeline.R;
import com.cpm.lorealbaMabeline.constant.AlertandMessages;
import com.cpm.lorealbaMabeline.constant.CommonFunctions;
import com.cpm.lorealbaMabeline.constant.CommonString;
import com.cpm.lorealbaMabeline.delegates.PrefHelper;
import com.cpm.lorealbaMabeline.gsonGetterSetter.InvoiceGetterSetter;
import com.cpm.lorealbaMabeline.gsonGetterSetter.JourneyPlan;
import com.cpm.lorealbaMabeline.printer.PrinterActivity;
import java.util.ArrayList;
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation.dailyactivity;
package com.cpm.lorealbaMabeline.dailyactivity;
import android.annotation.SuppressLint;
import android.app.Activity;
@@ -11,7 +11,7 @@ import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.os.Bundle;
import com.cpm.lorealbaautomation.utils.NonScrollExpandableListView;
import com.cpm.lorealbaMabeline.utils.NonScrollExpandableListView;
import com.google.android.material.floatingactionbutton.FloatingActionButton;
import androidx.annotation.NonNull;
@@ -36,7 +36,6 @@ import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import android.widget.BaseExpandableListAdapter;
import android.widget.EditText;
import android.widget.ExpandableListView;
import android.widget.ImageView;
import android.widget.RadioGroup;
import android.widget.RelativeLayout;
@@ -44,20 +43,20 @@ import android.widget.Spinner;
import android.widget.TextView;
import com.androidbuts.multispinnerfilter.KeyPairBoolData;
import com.cpm.lorealbaautomation.Database.Lorealba_Database;
import com.cpm.lorealbaautomation.R;
import com.cpm.lorealbaautomation.constant.AlertandMessages;
import com.cpm.lorealbaautomation.constant.CommonFunctions;
import com.cpm.lorealbaautomation.constant.CommonString;
import com.cpm.lorealbaautomation.constant.RoundedImageView;
import com.cpm.lorealbaautomation.delegates.PrefHelper;
import com.cpm.lorealbaautomation.download.Downloader;
import com.cpm.lorealbaautomation.gettersetter.AuditDataGetterSetter;
import com.cpm.lorealbaautomation.gettersetter.BaProfileGetterSetter;
import com.cpm.lorealbaautomation.gsonGetterSetter.JourneyPlan;
import com.cpm.lorealbaautomation.gsonGetterSetter.MasterProfile;
import com.cpm.lorealbaautomation.gsonGetterSetter.MasterProfileQuestion;
import com.cpm.lorealbaautomation.makeupexpert.BaProfileMultiSelection;
import com.cpm.lorealbaMabeline.Database.Lorealba_Database;
import com.cpm.lorealbaMabeline.R;
import com.cpm.lorealbaMabeline.constant.AlertandMessages;
import com.cpm.lorealbaMabeline.constant.CommonFunctions;
import com.cpm.lorealbaMabeline.constant.CommonString;
import com.cpm.lorealbaMabeline.constant.RoundedImageView;
import com.cpm.lorealbaMabeline.delegates.PrefHelper;
import com.cpm.lorealbaMabeline.download.Downloader;
import com.cpm.lorealbaMabeline.gettersetter.AuditDataGetterSetter;
import com.cpm.lorealbaMabeline.gettersetter.BaProfileGetterSetter;
import com.cpm.lorealbaMabeline.gsonGetterSetter.JourneyPlan;
import com.cpm.lorealbaMabeline.gsonGetterSetter.MasterProfile;
import com.cpm.lorealbaMabeline.gsonGetterSetter.MasterProfileQuestion;
import com.cpm.lorealbaMabeline.makeupexpert.BaProfileMultiSelection;
import com.squareup.picasso.NetworkPolicy;
import com.squareup.picasso.Picasso;
@@ -74,8 +73,8 @@ import java.util.Objects;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import static com.cpm.lorealbaautomation.constant.CommonFunctions.getCurrentTime;
import static com.cpm.lorealbaautomation.dailyactivity.StoreImageActivity.convertBitmap;
import static com.cpm.lorealbaMabeline.constant.CommonFunctions.getCurrentTime;
import static com.cpm.lorealbaMabeline.dailyactivity.StoreImageActivity.convertBitmap;
public class BAProfileActivity extends AppCompatActivity implements View.OnClickListener {
EditText edt_employee_code, edt_full_name, supervisor_name, edt_address, edt_brand, edt_counter, edt_store_name, edt_location, edt_mobile_no, edt_email, edt_enstagram_address, edt_city, edt_current_bp;
@@ -656,7 +655,7 @@ public class BAProfileActivity extends AppCompatActivity implements View.OnClick
if (!checkflag) {
if (checkGroupArray.contains(groupPosition) && checkHeaderArray.contains(childPosition)) {
holder.card_view.setBackgroundColor(ContextCompat.getColor(_context, R.color.red));
holder.card_view.setBackgroundColor(ContextCompat.getColor(_context, io.github.memfis19.annca.R.color.red));
holder.card_view.setId(childPosition);
} else {
holder.card_view.setBackgroundColor(ContextCompat.getColor(_context, R.color.white));
@@ -710,7 +709,7 @@ public class BAProfileActivity extends AppCompatActivity implements View.OnClick
if (!checkflag) {
if (checkGroupArray.contains(groupPosition)) {
cardView.setBackgroundColor(ContextCompat.getColor(_context, R.color.red));
cardView.setBackgroundColor(ContextCompat.getColor(_context, io.github.memfis19.annca.R.color.red));
} else {
cardView.setBackgroundColor(ContextCompat.getColor(_context, R.color.colorPrimaryDark));
}
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation.dailyactivity;
package com.cpm.lorealbaMabeline.dailyactivity;
import android.annotation.SuppressLint;
import android.app.Activity;
@@ -39,16 +39,16 @@ import android.widget.RelativeLayout;
import android.widget.Spinner;
import android.widget.TextView;
import com.cpm.lorealbaautomation.Database.Lorealba_Database;
import com.cpm.lorealbaautomation.R;
import com.cpm.lorealbaautomation.constant.AlertandMessages;
import com.cpm.lorealbaautomation.constant.CommonFunctions;
import com.cpm.lorealbaautomation.constant.CommonString;
import com.cpm.lorealbaautomation.delegates.PrefHelper;
import com.cpm.lorealbaautomation.gsonGetterSetter.BASurveyGetterSetter;
import com.cpm.lorealbaautomation.gsonGetterSetter.JourneyPlan;
import com.cpm.lorealbaautomation.gsonGetterSetter.MasterSurvey;
import com.cpm.lorealbaautomation.retrofit.PostApi;
import com.cpm.lorealbaMabeline.Database.Lorealba_Database;
import com.cpm.lorealbaMabeline.R;
import com.cpm.lorealbaMabeline.constant.AlertandMessages;
import com.cpm.lorealbaMabeline.constant.CommonFunctions;
import com.cpm.lorealbaMabeline.constant.CommonString;
import com.cpm.lorealbaMabeline.delegates.PrefHelper;
import com.cpm.lorealbaMabeline.gsonGetterSetter.BASurveyGetterSetter;
import com.cpm.lorealbaMabeline.gsonGetterSetter.JourneyPlan;
import com.cpm.lorealbaMabeline.gsonGetterSetter.MasterSurvey;
import com.cpm.lorealbaMabeline.retrofit.PostApi;
import org.json.JSONArray;
import org.json.JSONException;
@@ -71,7 +71,7 @@ import retrofit2.Response;
import retrofit2.Retrofit;
import retrofit2.converter.gson.GsonConverterFactory;
import static com.cpm.lorealbaautomation.dailyactivity.StoreImageActivity.convertBitmap;
import static com.cpm.lorealbaMabeline.dailyactivity.StoreImageActivity.convertBitmap;
public class BASurveyActivity extends AppCompatActivity {
@@ -570,7 +570,7 @@ public class BASurveyActivity extends AppCompatActivity {
if (!checkflag) {
if (checkGroupArray.contains(groupPosition) && checkHeaderArray.contains(childPosition)) {
holder.card_view.setBackgroundColor(getResources().getColor(R.color.red));
holder.card_view.setBackgroundColor(getResources().getColor(io.github.memfis19.annca.R.color.red));
holder.card_view.setId(childPosition);
} else {
holder.card_view.setBackgroundColor(getResources().getColor(R.color.white));
@@ -629,7 +629,7 @@ public class BASurveyActivity extends AppCompatActivity {
if (!checkflag) {
if (checkGroupArray.contains(groupPosition)) {
cardView.setBackgroundColor(getResources().getColor(R.color.red));
cardView.setBackgroundColor(getResources().getColor(io.github.memfis19.annca.R.color.red));
} else {
cardView.setBackgroundColor(getResources().getColor(R.color.colorPrimaryDark));
}
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation.dailyactivity;
package com.cpm.lorealbaMabeline.dailyactivity;
import android.content.Context;
import android.content.Intent;
@@ -18,14 +18,14 @@ import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;
import com.cpm.lorealbaautomation.Database.Lorealba_Database;
import com.cpm.lorealbaautomation.R;
import com.cpm.lorealbaautomation.constant.AlertandMessages;
import com.cpm.lorealbaautomation.constant.CommonFunctions;
import com.cpm.lorealbaautomation.constant.CommonString;
import com.cpm.lorealbaautomation.delegates.PrefHelper;
import com.cpm.lorealbaautomation.gsonGetterSetter.JourneyPlan;
import com.cpm.lorealbaautomation.gsonGetterSetter.MasterSurvey;
import com.cpm.lorealbaMabeline.Database.Lorealba_Database;
import com.cpm.lorealbaMabeline.R;
import com.cpm.lorealbaMabeline.constant.AlertandMessages;
import com.cpm.lorealbaMabeline.constant.CommonFunctions;
import com.cpm.lorealbaMabeline.constant.CommonString;
import com.cpm.lorealbaMabeline.delegates.PrefHelper;
import com.cpm.lorealbaMabeline.gsonGetterSetter.JourneyPlan;
import com.cpm.lorealbaMabeline.gsonGetterSetter.MasterSurvey;
import java.util.ArrayList;
import java.util.List;
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation.dailyactivity;
package com.cpm.lorealbaMabeline.dailyactivity;
import android.annotation.SuppressLint;
import android.app.Activity;
@@ -50,21 +50,21 @@ import com.google.firebase.crashlytics.FirebaseCrashlytics;
import com.google.gson.Gson;
import com.google.zxing.integration.android.IntentIntegrator;
import com.google.zxing.integration.android.IntentResult;
import com.cpm.lorealbaautomation.Database.Lorealba_Database;
import com.cpm.lorealbaautomation.R;
import com.cpm.lorealbaautomation.constant.AlertandMessages;
import com.cpm.lorealbaautomation.constant.CommonFunctions;
import com.cpm.lorealbaautomation.constant.CommonString;
import com.cpm.lorealbaautomation.consumeractivity.ConsumerReturnReplaceProductActivity;
import com.cpm.lorealbaautomation.consumeractivity.ConsumerReturnsHistoryActivity;
import com.cpm.lorealbaautomation.delegates.PrefHelper;
import com.cpm.lorealbaautomation.gsonGetterSetter.ConsumerSalesHistory;
import com.cpm.lorealbaautomation.gsonGetterSetter.InvoiceGetterSetter;
import com.cpm.lorealbaautomation.gsonGetterSetter.JourneyPlan;
import com.cpm.lorealbaautomation.gsonGetterSetter.MasterBAProfileGetterSetter;
import com.cpm.lorealbaautomation.gsonGetterSetter.MasterReturnReason;
import com.cpm.lorealbaautomation.gsonGetterSetter.ProductMaster;
import com.cpm.lorealbaautomation.retrofit.PostApi;
import com.cpm.lorealbaMabeline.Database.Lorealba_Database;
import com.cpm.lorealbaMabeline.R;
import com.cpm.lorealbaMabeline.constant.AlertandMessages;
import com.cpm.lorealbaMabeline.constant.CommonFunctions;
import com.cpm.lorealbaMabeline.constant.CommonString;
import com.cpm.lorealbaMabeline.consumeractivity.ConsumerReturnReplaceProductActivity;
import com.cpm.lorealbaMabeline.consumeractivity.ConsumerReturnsHistoryActivity;
import com.cpm.lorealbaMabeline.delegates.PrefHelper;
import com.cpm.lorealbaMabeline.gsonGetterSetter.ConsumerSalesHistory;
import com.cpm.lorealbaMabeline.gsonGetterSetter.InvoiceGetterSetter;
import com.cpm.lorealbaMabeline.gsonGetterSetter.JourneyPlan;
import com.cpm.lorealbaMabeline.gsonGetterSetter.MasterBAProfileGetterSetter;
import com.cpm.lorealbaMabeline.gsonGetterSetter.MasterReturnReason;
import com.cpm.lorealbaMabeline.gsonGetterSetter.ProductMaster;
import com.cpm.lorealbaMabeline.retrofit.PostApi;
import org.json.JSONException;
import org.json.JSONObject;
@@ -84,9 +84,9 @@ import okhttp3.ResponseBody;
import retrofit2.Retrofit;
import retrofit2.converter.gson.GsonConverterFactory;
import static com.cpm.lorealbaautomation.constant.CommonFunctions.getCurrentTime;
import static com.cpm.lorealbaautomation.constant.CommonFunctions.removeFirstChar;
import static com.cpm.lorealbaautomation.dailyactivity.StoreImageActivity.convertBitmap;
import static com.cpm.lorealbaMabeline.constant.CommonFunctions.getCurrentTime;
import static com.cpm.lorealbaMabeline.constant.CommonFunctions.removeFirstChar;
import static com.cpm.lorealbaMabeline.dailyactivity.StoreImageActivity.convertBitmap;
public class ConsumerReturnActivity extends AppCompatActivity implements View.OnClickListener {
ArrayAdapter<CharSequence> dialog_brand_adapter, dialog_sub_brand_adapter, dialog_frenchise_adapter, dialog_sku_adapter, return_reason_adapter;
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation.dailyactivity;
package com.cpm.lorealbaMabeline.dailyactivity;
import android.Manifest;
import android.annotation.SuppressLint;
@@ -40,22 +40,22 @@ import android.widget.RelativeLayout;
import android.widget.Toast;
import com.google.android.gms.location.LocationServices;
import com.cpm.lorealbaautomation.Database.Lorealba_Database;
import com.cpm.lorealbaautomation.R;
import com.cpm.lorealbaautomation.constant.AlertandMessages;
import com.cpm.lorealbaautomation.constant.CommonFunctions;
import com.cpm.lorealbaautomation.constant.CommonString;
import com.cpm.lorealbaautomation.delegates.PrefHelper;
import com.cpm.lorealbaautomation.download.Downloader;
import com.cpm.lorealbaautomation.gsonGetterSetter.JourneyPlan;
import com.cpm.lorealbaMabeline.Database.Lorealba_Database;
import com.cpm.lorealbaMabeline.R;
import com.cpm.lorealbaMabeline.constant.AlertandMessages;
import com.cpm.lorealbaMabeline.constant.CommonFunctions;
import com.cpm.lorealbaMabeline.constant.CommonString;
import com.cpm.lorealbaMabeline.delegates.PrefHelper;
import com.cpm.lorealbaMabeline.download.Downloader;
import com.cpm.lorealbaMabeline.gsonGetterSetter.JourneyPlan;
import java.io.File;
import java.util.List;
import java.util.Objects;
import static com.cpm.lorealbaautomation.constant.CommonFunctions.getCurrentTime_only;
import static com.cpm.lorealbaautomation.constant.CommonFunctions.show_image_preview;
import static com.cpm.lorealbaautomation.dailyactivity.StoreImageActivity.convertBitmap;
import static com.cpm.lorealbaMabeline.constant.CommonFunctions.getCurrentTime_only;
import static com.cpm.lorealbaMabeline.constant.CommonFunctions.show_image_preview;
import static com.cpm.lorealbaMabeline.dailyactivity.StoreImageActivity.convertBitmap;
public class CounterImageActivity extends AppCompatActivity implements
View.OnClickListener {
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation.dailyactivity;
package com.cpm.lorealbaMabeline.dailyactivity;
import android.annotation.SuppressLint;
import android.app.AlertDialog;
@@ -28,14 +28,14 @@ import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;
import com.cpm.lorealbaautomation.Database.Lorealba_Database;
import com.cpm.lorealbaautomation.R;
import com.cpm.lorealbaautomation.constant.AlertandMessages;
import com.cpm.lorealbaautomation.constant.CommonFunctions;
import com.cpm.lorealbaautomation.constant.CommonString;
import com.cpm.lorealbaautomation.delegates.PrefHelper;
import com.cpm.lorealbaautomation.download.Downloader;
import com.cpm.lorealbaautomation.gsonGetterSetter.JourneyPlan;
import com.cpm.lorealbaMabeline.Database.Lorealba_Database;
import com.cpm.lorealbaMabeline.R;
import com.cpm.lorealbaMabeline.constant.AlertandMessages;
import com.cpm.lorealbaMabeline.constant.CommonFunctions;
import com.cpm.lorealbaMabeline.constant.CommonString;
import com.cpm.lorealbaMabeline.delegates.PrefHelper;
import com.cpm.lorealbaMabeline.download.Downloader;
import com.cpm.lorealbaMabeline.gsonGetterSetter.JourneyPlan;
import java.io.File;
import java.text.ParseException;
@@ -46,8 +46,8 @@ import java.util.Date;
import java.util.Objects;
import java.util.concurrent.TimeUnit;
import static com.cpm.lorealbaautomation.constant.CommonFunctions.getCurrentTime;
import static com.cpm.lorealbaautomation.dailyactivity.StoreImageActivity.convertBitmap;
import static com.cpm.lorealbaMabeline.constant.CommonFunctions.getCurrentTime;
import static com.cpm.lorealbaMabeline.dailyactivity.StoreImageActivity.convertBitmap;
public class CounterProfileActivity extends AppCompatActivity implements View.OnClickListener {
private LinearLayout lay_counter_ageing;
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation.dailyactivity;
package com.cpm.lorealbaMabeline.dailyactivity;
import android.annotation.SuppressLint;
import android.app.Activity;
@@ -10,11 +10,9 @@ import android.content.Intent;
import android.content.SharedPreferences;
import android.graphics.drawable.ColorDrawable;
import android.os.AsyncTask;
import android.os.Build;
import android.os.Bundle;
import androidx.annotation.NonNull;
import androidx.annotation.RequiresApi;
import com.google.android.material.bottomsheet.BottomSheetDialog;
import com.google.android.material.floatingactionbutton.FloatingActionButton;
@@ -54,15 +52,15 @@ import android.widget.TextView;
import com.google.zxing.integration.android.IntentIntegrator;
import com.google.zxing.integration.android.IntentResult;
import com.cpm.lorealbaautomation.Database.Lorealba_Database;
import com.cpm.lorealbaautomation.R;
import com.cpm.lorealbaautomation.constant.AlertandMessages;
import com.cpm.lorealbaautomation.constant.CommonFunctions;
import com.cpm.lorealbaautomation.constant.CommonString;
import com.cpm.lorealbaautomation.delegates.PrefHelper;
import com.cpm.lorealbaautomation.gettersetter.SaleableGetterSetter;
import com.cpm.lorealbaautomation.gsonGetterSetter.JourneyPlan;
import com.cpm.lorealbaautomation.gsonGetterSetter.ProductMaster;
import com.cpm.lorealbaMabeline.Database.Lorealba_Database;
import com.cpm.lorealbaMabeline.R;
import com.cpm.lorealbaMabeline.constant.AlertandMessages;
import com.cpm.lorealbaMabeline.constant.CommonFunctions;
import com.cpm.lorealbaMabeline.constant.CommonString;
import com.cpm.lorealbaMabeline.delegates.PrefHelper;
import com.cpm.lorealbaMabeline.gettersetter.SaleableGetterSetter;
import com.cpm.lorealbaMabeline.gsonGetterSetter.JourneyPlan;
import com.cpm.lorealbaMabeline.gsonGetterSetter.ProductMaster;
import java.io.File;
import java.util.ArrayList;
@@ -71,9 +69,9 @@ import java.util.List;
import java.util.Objects;
import java.util.UUID;
import static com.cpm.lorealbaautomation.constant.CommonFunctions.getCurrentTime;
import static com.cpm.lorealbaautomation.constant.CommonFunctions.removeFirstChar;
import static com.cpm.lorealbaautomation.dailyactivity.StoreImageActivity.convertBitmap;
import static com.cpm.lorealbaMabeline.constant.CommonFunctions.getCurrentTime;
import static com.cpm.lorealbaMabeline.constant.CommonFunctions.removeFirstChar;
import static com.cpm.lorealbaMabeline.dailyactivity.StoreImageActivity.convertBitmap;
public class DamagedActivity extends AppCompatActivity implements View.OnClickListener, AdapterView.OnItemSelectedListener {
ArrayAdapter<CharSequence> axe_name_adapter, sub_axe_name_adapter, brand_name_adapter, product_name_adapter;
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation.dailyactivity;
package com.cpm.lorealbaMabeline.dailyactivity;
import android.annotation.SuppressLint;
import android.app.AlertDialog;
@@ -18,11 +18,11 @@ import android.view.View;
import android.view.WindowManager;
import android.widget.TextView;
import com.cpm.lorealbaautomation.Database.Lorealba_Database;
import com.cpm.lorealbaautomation.R;
import com.cpm.lorealbaautomation.constant.CommonFunctions;
import com.cpm.lorealbaautomation.constant.CommonString;
import com.cpm.lorealbaautomation.delegates.PrefHelper;
import com.cpm.lorealbaMabeline.Database.Lorealba_Database;
import com.cpm.lorealbaMabeline.R;
import com.cpm.lorealbaMabeline.constant.CommonFunctions;
import com.cpm.lorealbaMabeline.constant.CommonString;
import com.cpm.lorealbaMabeline.delegates.PrefHelper;
public class DamagedCategoryActivity extends AppCompatActivity implements View.OnClickListener {
Lorealba_Database db;
@@ -1,4 +1,4 @@
package com.cpm.lorealbaautomation.dailyactivity;
package com.cpm.lorealbaMabeline.dailyactivity;
import android.annotation.SuppressLint;
import android.app.Activity;
@@ -53,25 +53,25 @@ import android.widget.TextView;
import com.google.zxing.integration.android.IntentIntegrator;
import com.google.zxing.integration.android.IntentResult;
import com.journeyapps.barcodescanner.CaptureActivity;
import com.cpm.lorealbaautomation.Database.Lorealba_Database;
import com.cpm.lorealbaautomation.R;
import com.cpm.lorealbaautomation.adapter.ReasonSpinnerAdapter;
import com.cpm.lorealbaautomation.constant.AlertandMessages;
import com.cpm.lorealbaautomation.constant.CommonFunctions;
import com.cpm.lorealbaautomation.constant.CommonString;
import com.cpm.lorealbaautomation.delegates.PrefHelper;
import com.cpm.lorealbaautomation.gsonGetterSetter.JourneyPlan;
import com.cpm.lorealbaautomation.gsonGetterSetter.MasterNonStockReason;
import com.cpm.lorealbaautomation.gsonGetterSetter.ProductMaster;
import com.cpm.lorealbaMabeline.Database.Lorealba_Database;
import com.cpm.lorealbaMabeline.R;
import com.cpm.lorealbaMabeline.adapter.ReasonSpinnerAdapter;
import com.cpm.lorealbaMabeline.constant.AlertandMessages;
import com.cpm.lorealbaMabeline.constant.CommonFunctions;
import com.cpm.lorealbaMabeline.constant.CommonString;
import com.cpm.lorealbaMabeline.delegates.PrefHelper;
import com.cpm.lorealbaMabeline.gsonGetterSetter.JourneyPlan;
import com.cpm.lorealbaMabeline.gsonGetterSetter.MasterNonStockReason;
import com.cpm.lorealbaMabeline.gsonGetterSetter.ProductMaster;
import java.io.File;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import static com.cpm.lorealbaautomation.constant.CommonFunctions.getCurrentTime;
import static com.cpm.lorealbaautomation.constant.CommonFunctions.removeFirstChar;
import static com.cpm.lorealbaautomation.dailyactivity.StoreImageActivity.convertBitmap;
import static com.cpm.lorealbaMabeline.constant.CommonFunctions.getCurrentTime;
import static com.cpm.lorealbaMabeline.constant.CommonFunctions.removeFirstChar;
import static com.cpm.lorealbaMabeline.dailyactivity.StoreImageActivity.convertBitmap;
public class FilledRegularStockDataActivity extends AppCompatActivity implements View.OnClickListener {
Spinner sku_spin, brand_spin, sub_axe_spin, axe_spin;

Some files were not shown because too many files have changed in this diff Show More