This commit is contained in:
litingting 2024-08-27 13:58:18 +08:00
parent f92ea8136e
commit 734c4bc2b4
15 changed files with 162 additions and 96 deletions

View File

@ -8,42 +8,37 @@
body {
font-family: Arial, sans-serif;
line-height: 1.6;
margin: 0;
padding: 0;
padding: 20px;
}
h1, h2 {
margin: 20px;
color: #333;
}
h1, h2 {
color: #0056b3;
}
h1 {
font-size: 24px;
}
h2 {
margin-top: 20px;
font-size: 20px;
}
p {
margin: 10px 0;
margin-bottom: 10px;
}
ul {
margin: 10px 0;
padding-left: 20px;
}
</style>
</head>
<body>
<h1>Privacy Policy</h1>
<p><strong>Date:</strong> August 14, 2024</p>
<p>We provide this Privacy Policy to help you understand how we collect, use, and disclose
information, including what you may provide to us or that we obtain from our products and
services. We treat your privacy very seriously. Your privacy is important to us.</p>
<h2>Information Collection and Use</h2>
<p>For a better experience, while using our Service, we may require you to provide us with certain
personally identifiable information, such as users' name, address, location, pictures, etc. The
information that we request will be retained on your device and is not collected or retained by
us in any way and used as described in this privacy policy.</p>
personally identifiable information. This may include users' names, addresses, locations, and
pictures. The information that we request will be retained on your device and is not collected
or retained by us in any way beyond what is described in this privacy policy.</p>
<p>The app does use third-party services that may collect information used to identify you.</p>
<p>Please refer to the privacy policy of the third-party service provider used by the
<p>Please refer to the privacy policies of the third-party service providers used by the
application:</p>
<ul>
<li>Google Play Services</li>
@ -51,37 +46,32 @@
<li>Firebase Crashlytics</li>
<li>Unity</li>
<li>AppLovin</li>
<li>Pangle</li>
<li>Mintegral</li>
<li>Bigo</li>
<li>Ironsource</li>
<li>Vungle</li>
</ul>
<h2>Log Data</h2>
<p>We want to inform you that whenever you use our Service, in case of an error in the app, we
<p>We want to inform you that whenever you use our Service, in the case of an error in the app, we
collect data and information (through third-party products) on your phone called Log Data. This
Log Data may include information such as your device Internet Protocol (“IP”) address, device
Log Data may include information such as your device's Internet Protocol (“IP”) address, device
name, operating system version, the configuration of the app when utilizing our Service, the
time and date of your use of the Service, and other statistics.</p>
<h2>Cookies</h2>
<p>Cookies are files with a small amount of data that are commonly used as anonymous unique
identifiers. These are sent to your browser from the websites that you visit and are stored on
your device's internal memory.</p>
<p>This Service does not use these “cookies” explicitly. However, the app may use third-party code
and libraries that use “cookies” to collect information and improve their services. You have the
option to either accept or refuse these cookies and know when a cookie is being sent to your
device. If you choose to refuse our cookies, you may not be able to use some portions of this
Service.</p>
your device's internal memory. This Service does not use these “cookies” explicitly. However,
the app may use third-party code and libraries that use “cookies” to collect information and
improve their services. You have the option to either accept or refuse these cookies and know
when a cookie is being sent to your device. If you choose to refuse our cookies, you may not be
able to use some portions of this Service.</p>
<h2>Service Providers</h2>
<p>We may employ third-party companies and individuals due to the following reasons:</p>
<ul>
<li>To facilitate our Service</li>
<li>To provide the Service on our behalf</li>
<li>To perform Service-related services</li>
<li>To assist us in analyzing how our Service is used</li>
<li>To facilitate our Service;</li>
<li>To provide the Service on our behalf;</li>
<li>To perform Service-related services; or</li>
<li>To assist us in analyzing how our Service is used.</li>
</ul>
<p>We want to inform users of this Service that these third parties have access to their Personal
Information. The reason is to perform the tasks assigned to them on our behalf. However, they
@ -103,9 +93,9 @@
<h2>Childrens Privacy</h2>
<p>These Services do not address anyone under the age of 13. We do not knowingly collect personally
identifiable information from children under 13 years of age. In the case we discover that a
child under 13 has provided us with personal information, we will immediately delete this from
our servers. If you are a parent or guardian and you are aware that your child has provided us
with personal information, please contact us so that we will be able to take the necessary
child under 13 has provided us with personal information, we immediately delete this from our
servers. If you are a parent or guardian and you are aware that your child has provided us with
personal information, please contact us so that we will be able to take the necessary
actions.</p>
<h2>Changes to This Privacy Policy</h2>
@ -117,6 +107,6 @@
<p>We may update the Privacy Policy from time to time. When we change the policy in a material way,
a notice will be posted on our website along with the updated Privacy Policy.</p>
<p>If you have any questions or concerns about our Privacy Policy or data processing, please contact
us: <a href="mailto:alokamalinga207">alokamalinga207</a>.</p>
us: <a href="mailto:duhaalqudah03@gmail.com">duhaalqudah03@gmail.com</a>.</p>
</body>
</html>

View File

@ -10,9 +10,14 @@ import androidx.recyclerview.widget.LinearLayoutManager;
import android.content.Context;
import android.os.Bundle;
import android.text.TextUtils;
import android.util.Log;
import android.view.KeyEvent;
import android.view.View;
import android.view.inputmethod.EditorInfo;
import android.view.inputmethod.InputMethodManager;
import android.widget.TextView;
import com.tool.applockpro.ApplockSkin;
import com.tool.applockpro.R;
import com.tool.applockpro.adapter.AppAdapter;
import com.tool.applockpro.data.MyDataBase;
@ -59,6 +64,8 @@ public class SearchActivity extends AppCompatActivity {
});
}
private void search(String text) {
if (TextUtils.isEmpty(text)) {
binding.searchTips.setText(R.string.text_tips);
@ -101,11 +108,18 @@ public class SearchActivity extends AppCompatActivity {
private void initData() {
// binding.searchTips.setVisibility(View.GONE);
// binding.searchEdit.requestFocus();
// InputMethodManager imm = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE);
// imm.toggleSoftInput(InputMethodManager.SHOW_FORCED, InputMethodManager.HIDE_IMPLICIT_ONLY);
binding.searchTips.setVisibility(View.GONE);
binding.searchEdit.requestFocus();
binding.searchEdit.setOnEditorActionListener(new TextView.OnEditorActionListener() {
@Override
public boolean onEditorAction(TextView v, int actionId, KeyEvent event) {
if (actionId == EditorInfo.IME_ACTION_SEARCH) {
search(binding.searchEdit.getText().toString());
return true;
}
return false;
}
});
}

View File

@ -37,12 +37,29 @@ public class SetPWDActivity extends AppCompatActivity {
private String firstPwd = "";
private String secondPwd = "";
private boolean showClose = false;
public static String KEY_SHOW_CLOSE = "KEY_CLOSE";
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
showClose = getIntent().getBooleanExtra(KEY_SHOW_CLOSE, showClose);
binding = ActivitySetPwdactivityBinding.inflate(getLayoutInflater());
setContentView(binding.getRoot());
if(showClose){
binding.close.setVisibility(View.VISIBLE);
}else {
binding.close.setVisibility(View.GONE);
}
binding.close.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
finish();
}
});
ViewCompat.setOnApplyWindowInsetsListener(findViewById(R.id.activity_setpwd), (v, insets) -> {
Insets systemBars = insets.getInsets(WindowInsetsCompat.Type.systemBars());
v.setPadding(systemBars.left, systemBars.top, systemBars.right, systemBars.bottom);
@ -50,9 +67,7 @@ public class SetPWDActivity extends AppCompatActivity {
});
ads = ApplockSkin.lodAd();
chewkpwd = getIntent().getIntExtra("1", 0);
etlis.add(binding.et1);
etlis.add(binding.et2);
etlis.add(binding.et3);

View File

@ -72,6 +72,7 @@ public class SettingActivity extends AppCompatActivity {
@Override
public void onClick(View v) {
Intent intent = new Intent(SettingActivity.this, SetPWDActivity.class);
intent.putExtra(SetPWDActivity.KEY_SHOW_CLOSE,true);
intent.putExtra("1", 1);
startActivity(intent);

View File

@ -8,11 +8,14 @@ import androidx.core.view.WindowInsetsCompat;
import android.annotation.SuppressLint;
import android.os.Bundle;
import android.view.View;
import android.webkit.WebView;
import android.webkit.WebViewClient;
import android.widget.ImageView;
import com.tool.applockpro.R;
public class WebActivity extends AppCompatActivity {
@SuppressLint("MissingInflatedId")
@ -31,6 +34,13 @@ public class WebActivity extends AppCompatActivity {
WebView webView = findViewById(R.id.web);
webView.getSettings().setJavaScriptEnabled(true);
webView.setWebViewClient(new WebViewClient());
webView.loadUrl("file:///android_asset/privacy.html");
webView.loadUrl("file:///android_asset/Lock_App_Privacy.html");
ImageView imclose = findViewById(R.id.close);
imclose.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
finish();
}
});
}
}

View File

@ -3,16 +3,12 @@ package com.tool.applockpro.fragment;
import android.os.Bundle;
import androidx.fragment.app.Fragment;
import androidx.recyclerview.widget.GridLayoutManager;
import androidx.recyclerview.widget.LinearLayoutManager;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.tool.applockpro.ApplockSkin;
import com.tool.applockpro.R;
import com.tool.applockpro.adapter.AppAdapter;
import com.tool.applockpro.data.MyDataBase;
import com.tool.applockpro.data.Mydao;
@ -23,7 +19,6 @@ import com.tool.applockpro.tool.Mytools;
import androidx.lifecycle.Observer;
import androidx.annotation.Nullable;
import java.util.ArrayList;
import java.util.List;
public class AllFragment extends Fragment {
@ -40,7 +35,9 @@ public class AllFragment extends Fragment {
thumAdapter = new AppAdapter(requireContext(), requireActivity());
binding.allRv.setLayoutManager(new LinearLayoutManager(requireContext()));
binding.allRv.setAdapter(thumAdapter);
initData();
mydao = MyDataBase.getINSTANCE().mydao();
tabargs = getArguments().getString("tab");
refreshData();
return binding.getRoot();
@ -69,16 +66,26 @@ public class AllFragment extends Fragment {
});
}
private void initData() {
mydao = MyDataBase.getINSTANCE().mydao();
tabargs = getArguments().getString("tab");
@Override
public void onResume() {
super.onResume();
refreshData();
}
private void refreshData() {
// Log.e("zzj", tabargs);
if (tabargs.equals("System")) {
Mytools.runIO(new Runnable() {
@Override
public void run() {
List<Mydata> list = MyDataBase.getINSTANCE().mydao().getappissystem(true);
updateRecyclerView(list);
requireActivity().runOnUiThread(new Runnable() {
@Override
public void run() {
updateRecyclerView(list);
}
});
}
});
} else if (tabargs.equals("Third")) {

View File

@ -0,0 +1,16 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="50dp"
android:height="51dp"
android:viewportWidth="50"
android:viewportHeight="51">
<path
android:pathData="M25,0.863L25,0.863A25,25 0,0 1,50 25.863L50,25.863A25,25 0,0 1,25 50.863L25,50.863A25,25 0,0 1,0 25.863L0,25.863A25,25 0,0 1,25 0.863z"
android:fillColor="#ffffff"
android:fillAlpha="0.5"/>
<path
android:pathData="M30.358,31.22L25.001,25.863M25.001,25.863L19.644,20.506M25.001,25.863L30.358,20.506M25.001,25.863L19.644,31.22"
android:strokeWidth="2.27273"
android:fillColor="#00000000"
android:strokeColor="#ffffff"
android:strokeLineCap="round"/>
</vector>

View File

@ -11,26 +11,24 @@
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/search_cons"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_height="44dp"
android:layout_marginStart="16dp"
android:layout_marginTop="24dp"
android:layout_marginEnd="16dp"
android:background="@drawable/search_edit"
android:focusable="true"
android:focusableInTouchMode="true"
android:paddingStart="20dp"
android:paddingTop="10dp"
android:paddingEnd="20dp"
android:paddingBottom="10dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent">
<ImageView
android:id="@+id/search"
android:layout_width="20dp"
android:layout_height="20dp"
android:layout_width="44dp"
android:layout_height="match_parent"
android:src="@drawable/icon_search"
android:paddingStart="20dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
@ -43,7 +41,9 @@
android:layout_marginStart="10dp"
android:background="@android:color/transparent"
android:lines="1"
android:inputType="text"
android:maxLines="1"
android:imeOptions="actionSearch"
android:textColor="@color/white"
android:textSize="19sp"
app:layout_constraintEnd_toEndOf="parent"

View File

@ -9,7 +9,6 @@
tools:context=".activity.SetPWDActivity">
<TextView
android:id="@+id/lock_text"
android:layout_width="match_parent"
@ -26,8 +25,8 @@
android:id="@+id/lock_text1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="30dp"
android:layout_marginTop="8dp"
android:layout_marginBottom="30dp"
android:gravity="center_horizontal"
android:text="@string/lock_text1"
android:textColor="@color/white"
@ -109,4 +108,15 @@
app:layout_constraintTop_toBottomOf="@id/lock_text1" />
<ImageView
android:id="@+id/close"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="100dp"
android:src="@drawable/im_close"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>

View File

@ -86,6 +86,7 @@
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/share"
android:layout_width="match_parent"
@ -114,6 +115,7 @@
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/rate"
android:layout_width="match_parent"
@ -142,6 +144,7 @@
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/version"
android:layout_width="match_parent"
@ -173,27 +176,18 @@
</androidx.constraintlayout.widget.ConstraintLayout>
<androidx.constraintlayout.widget.ConstraintLayout
<ImageView
android:id="@+id/cancel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="70dp"
android:background="@drawable/bg_main_item_icon"
android:padding="6dp"
android:src="@drawable/im_close"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent">
<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/app_switch"
android:layout_width="30dp"
android:layout_height="30dp"
android:background="@drawable/icon_cancel"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
</ImageView>
</androidx.constraintlayout.widget.ConstraintLayout>

View File

@ -1,14 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/activity_web"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/activity_web"
tools:context=".activity.WebActivity">
<WebView
android:id="@+id/web"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="100dp"
android:src="@drawable/im_close"
android:id="@+id/close" />
</FrameLayout>

View File

@ -26,7 +26,7 @@
android:id="@+id/imlogo"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="centerCrop"
android:scaleType="fitXY"
android:src="@mipmap/ic_launcher" />
</androidx.cardview.widget.CardView>

View File

@ -18,25 +18,26 @@
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:gravity="center_horizontal"
android:text="@string/lock_title"
android:text="@string/lock_view_input"
android:textColor="@color/white"
android:textSize="20sp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/pin_rv" />
<TextView
android:id="@+id/text_hint"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:gravity="center_horizontal"
android:text="@string/lock_text1"
android:textColor="@color/white"
android:textSize="15sp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/text_logo" />
<!-- <TextView-->
<!-- android:id="@+id/text_hint"-->
<!-- android:layout_width="match_parent"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:layout_marginTop="8dp"-->
<!-- android:gravity="center_horizontal"-->
<!-- android:text="@string/lock_text1"-->
<!-- android:textColor="@color/white"-->
<!-- android:textSize="15sp"-->
<!-- android:visibility="gone"-->
<!-- app:layout_constraintEnd_toEndOf="parent"-->
<!-- app:layout_constraintStart_toStartOf="parent"-->
<!-- app:layout_constraintTop_toBottomOf="@id/text_logo" />-->
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/number_rv"
@ -45,5 +46,5 @@
android:layout_marginTop="10dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/text_hint" />
app:layout_constraintTop_toBottomOf="@id/text_logo" />
</androidx.constraintlayout.widget.ConstraintLayout>

View File

@ -7,8 +7,8 @@
<ImageView
android:layout_margin="10dp"
android:id="@+id/im_pin"
android:layout_width="36dp"
android:layout_height="64dp"
android:layout_width="32dp"
android:layout_height="44dp"
android:src="@drawable/stepwd_selector" />
</LinearLayout>

View File

@ -19,6 +19,7 @@
<string name="text_tips">Please enter the content</string>
<string name="text_null">Query is empty</string>
<string name="lock_title">Confirm Your PIN</string>
<string name="lock_view_input">please input PIN</string>
<string name="lock_hint">Crea un Pin de ingreso de 4 digitos</string>
<string name="share_text">Share</string>
<string name="rate_text">Rate</string>