设置beta版与stage版不同的调试入口。
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
#Created by .winboll/winboll_app_build.gradle
|
#Created by .winboll/winboll_app_build.gradle
|
||||||
#Wed Nov 19 13:23:38 GMT 2025
|
#Thu Nov 20 03:22:58 GMT 2025
|
||||||
stageCount=4
|
stageCount=4
|
||||||
libraryProject=
|
libraryProject=
|
||||||
baseVersion=15.11
|
baseVersion=15.11
|
||||||
publishVersion=15.11.3
|
publishVersion=15.11.3
|
||||||
buildCount=19
|
buildCount=34
|
||||||
baseBetaVersion=15.11.4
|
baseBetaVersion=15.11.4
|
||||||
|
|||||||
@@ -6,6 +6,19 @@
|
|||||||
tools:replace="android:icon"
|
tools:replace="android:icon"
|
||||||
android:icon="@drawable/ic_launcher_beta">
|
android:icon="@drawable/ic_launcher_beta">
|
||||||
|
|
||||||
|
<activity
|
||||||
|
android:name="cc.winboll.studio.powerbell.MainActivity"
|
||||||
|
android:launchMode="singleTask"
|
||||||
|
android:exported="true">
|
||||||
|
</activity>
|
||||||
|
<activity android:name="cc.winboll.studio.powerbell.unittest.MainUnitTestActivity"
|
||||||
|
android:exported="true">
|
||||||
|
<intent-filter>
|
||||||
|
<action android:name="android.intent.action.MAIN"/>
|
||||||
|
<category android:name="android.intent.category.LAUNCHER"/>
|
||||||
|
</intent-filter>
|
||||||
|
</activity>
|
||||||
|
|
||||||
<provider
|
<provider
|
||||||
android:name="androidx.core.content.FileProvider"
|
android:name="androidx.core.content.FileProvider"
|
||||||
android:authorities="cc.winboll.studio.powerbell.beta.fileprovider"
|
android:authorities="cc.winboll.studio.powerbell.beta.fileprovider"
|
||||||
|
|||||||
@@ -66,21 +66,6 @@
|
|||||||
android:usesCleartextTraffic="true"
|
android:usesCleartextTraffic="true"
|
||||||
tools:ignore="GoogleAppIndexingWarning">
|
tools:ignore="GoogleAppIndexingWarning">
|
||||||
|
|
||||||
<activity
|
|
||||||
android:name=".MainActivity"
|
|
||||||
android:launchMode="singleTask"
|
|
||||||
android:exported="true">
|
|
||||||
|
|
||||||
<intent-filter>
|
|
||||||
|
|
||||||
<action android:name="android.intent.action.MAIN"/>
|
|
||||||
|
|
||||||
<category android:name="android.intent.category.LAUNCHER"/>
|
|
||||||
|
|
||||||
</intent-filter>
|
|
||||||
|
|
||||||
</activity>
|
|
||||||
|
|
||||||
<activity
|
<activity
|
||||||
android:name="cc.winboll.studio.powerbell.activities.ClearRecordActivity"
|
android:name="cc.winboll.studio.powerbell.activities.ClearRecordActivity"
|
||||||
android:parentActivityName="cc.winboll.studio.powerbell.MainActivity"
|
android:parentActivityName="cc.winboll.studio.powerbell.MainActivity"
|
||||||
@@ -153,8 +138,6 @@
|
|||||||
|
|
||||||
<activity android:name="cc.winboll.studio.powerbell.activities.BatteryReportActivity"/>
|
<activity android:name="cc.winboll.studio.powerbell.activities.BatteryReportActivity"/>
|
||||||
|
|
||||||
<activity android:name="cc.winboll.studio.powerbell.unittest.MainUnitTestActivity"
|
|
||||||
android:exported="true"/>
|
|
||||||
|
|
||||||
</application>
|
</application>
|
||||||
|
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ import android.os.Bundle;
|
|||||||
import android.view.LayoutInflater;
|
import android.view.LayoutInflater;
|
||||||
import android.view.View;
|
import android.view.View;
|
||||||
import android.view.ViewGroup;
|
import android.view.ViewGroup;
|
||||||
|
import androidx.fragment.app.Fragment;
|
||||||
import cc.winboll.studio.libappbase.ToastUtils;
|
import cc.winboll.studio.libappbase.ToastUtils;
|
||||||
import cc.winboll.studio.powerbell.R;
|
import cc.winboll.studio.powerbell.R;
|
||||||
|
|
||||||
@@ -12,7 +13,7 @@ import cc.winboll.studio.powerbell.R;
|
|||||||
* @Date 2025/11/19 18:16
|
* @Date 2025/11/19 18:16
|
||||||
* @Describe BackgroundViewTestFragment
|
* @Describe BackgroundViewTestFragment
|
||||||
*/
|
*/
|
||||||
public class BackgroundViewTestFragment extends BaseTestFragment {
|
public class BackgroundViewTestFragment extends Fragment {
|
||||||
|
|
||||||
public static final String TAG = "BackgroundViewTestFragment";
|
public static final String TAG = "BackgroundViewTestFragment";
|
||||||
|
|
||||||
|
|||||||
@@ -21,6 +21,7 @@ public class BaseTestFragment extends Fragment {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
|
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
|
||||||
|
super.onCreateView(inflater, container, savedInstanceState);
|
||||||
// 非调试状态就结束本线程
|
// 非调试状态就结束本线程
|
||||||
if (!GlobalApplication.isDebugging()) {
|
if (!GlobalApplication.isDebugging()) {
|
||||||
Thread.currentThread().destroy();
|
Thread.currentThread().destroy();
|
||||||
@@ -28,6 +29,6 @@ public class BaseTestFragment extends Fragment {
|
|||||||
|
|
||||||
ToastUtils.show(String.format("%s onCreate", TAG));
|
ToastUtils.show(String.format("%s onCreate", TAG));
|
||||||
|
|
||||||
return super.onCreateView(inflater, container, savedInstanceState);
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -43,8 +43,8 @@ public class BackgroundView extends LinearLayout {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void initView() {
|
void initView() {
|
||||||
this.mMianView = inflate(this.mContext, R.layout.view_background, this);
|
this.mMianView = inflate(this.mContext, R.layout.view_background, null);
|
||||||
//addView(this.mMianView);
|
addView(this.mMianView);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,24 +4,9 @@
|
|||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent">
|
android:layout_height="match_parent"
|
||||||
|
android:background="#FFA08DF4">
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:text="BackgroundViewTestFragment"/>
|
|
||||||
|
|
||||||
<LinearLayout
|
|
||||||
android:orientation="vertical"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="0dp"
|
|
||||||
android:layout_weight="1.0">
|
|
||||||
|
|
||||||
<cc.winboll.studio.powerbell.views.BackgroundView
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="match_parent"/>
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
|
|||||||
@@ -8,10 +8,5 @@
|
|||||||
android:background="#FF7DE0D7"
|
android:background="#FF7DE0D7"
|
||||||
android:id="@+id/viewbackground_container">
|
android:id="@+id/viewbackground_container">
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:text="This is BackgroundView"/>
|
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
|
|||||||
@@ -4,6 +4,19 @@
|
|||||||
|
|
||||||
<application>
|
<application>
|
||||||
|
|
||||||
|
<activity
|
||||||
|
android:name="cc.winboll.studio.powerbell.MainActivity"
|
||||||
|
android:launchMode="singleTask"
|
||||||
|
android:exported="true">
|
||||||
|
<intent-filter>
|
||||||
|
<action android:name="android.intent.action.MAIN"/>
|
||||||
|
<category android:name="android.intent.category.LAUNCHER"/>
|
||||||
|
</intent-filter>
|
||||||
|
</activity>
|
||||||
|
<activity android:name="cc.winboll.studio.powerbell.unittest.MainUnitTestActivity"
|
||||||
|
android:exported="true">
|
||||||
|
</activity>
|
||||||
|
|
||||||
<provider
|
<provider
|
||||||
android:name="androidx.core.content.FileProvider"
|
android:name="androidx.core.content.FileProvider"
|
||||||
android:authorities="cc.winboll.studio.powerbell.fileprovider"
|
android:authorities="cc.winboll.studio.powerbell.fileprovider"
|
||||||
|
|||||||
Reference in New Issue
Block a user