-
-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
修复没有注册前台服务权限导致在鸿蒙手机上崩溃的问题 修复在 Android 12 手机上面 PendingIntent 报错的问题
- Loading branch information
1 parent
7e3c2e2
commit 62e3293
Showing
11 changed files
with
171 additions
and
124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 15 additions & 13 deletions
28
app/src/main/res/values-v21/styles.xml → app/src/main/res/values-v23/styles.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,16 @@ | ||
<resources> | ||
|
||
<!-- Base application theme. --> | ||
<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar"> | ||
<!-- Customize your theme here. --> | ||
<item name="colorPrimary">@color/colorPrimary</item> | ||
<item name="colorPrimaryDark">@color/colorPrimaryDark</item> | ||
<item name="colorAccent">@color/colorAccent</item> | ||
<item name="android:navigationBarColor">@color/colorPrimary</item> | ||
<!-- 解决 Android 5.1 及以上版本 Button 英文字符串自动变大写的问题 --> | ||
<item name="android:textAllCaps">false</item> | ||
</style> | ||
|
||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
|
||
<!-- Base application theme. --> | ||
<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar"> | ||
<!-- Customize your theme here. --> | ||
<item name="colorPrimary">@color/colorPrimary</item> | ||
<item name="colorPrimaryDark">@color/colorPrimaryDark</item> | ||
<item name="colorAccent">@color/colorAccent</item> | ||
<item name="android:statusBarColor">@android:color/white</item> | ||
<item name="android:windowLightStatusBar">true</item> | ||
<!-- 解决 Android 5.1 及以上版本 Button 英文字符串自动变大写的问题 --> | ||
<item name="android:textAllCaps">false</item> | ||
</style> | ||
|
||
</resources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,85 +1,86 @@ | ||
<resources xmlns:tools="http://schemas.android.com/tools"> | ||
<string name="app_name">Logcat</string> | ||
|
||
<!-- <string-array name="logcat_filter_list" tools:ignore="ExtraTranslation">--> | ||
<!-- <item>ActivityThread</item>--> | ||
<!-- <item>InputMethodManager</item>--> | ||
<!-- <item>OpenGLRenderer</item>--> | ||
<!-- <item>VideoCapabilities</item>--> | ||
<!-- <item>ViewRootImpl</item>--> | ||
<!-- <item>Settings</item>--> | ||
<!-- <item>Looper</item>--> | ||
<!-- <item>TextView</item>--> | ||
<!-- <item>TypefaceUtils</item>--> | ||
<!-- <item>MultiDex</item>--> | ||
<!-- <item>AudioManager</item>--> | ||
<!-- <item>ConnectivityManager</item>--> | ||
<!-- <item>NetworkSecurityConfig</item>--> | ||
<!-- <item>HwPolicyFactory:</item>--> | ||
<!-- <item>HwWidgetFactory:</item>--> | ||
<!-- <item>HwApiCacheMangerEx</item>--> | ||
<!-- <item>HwWechatOptimizeImpl</item>--> | ||
<!-- <item>HwSplineOverScrollerExImpl</item>--> | ||
<!-- <item>HwAppInnerBoostImpl</item>--> | ||
<!-- <item>HwCustConnectivityManagerImpl</item>--> | ||
<!-- <item>HwApsImpl</item>--> | ||
<!-- <item>HwPhoneWindow</item>--> | ||
<!-- <item>HwAutofillHelper</item>--> | ||
<!-- <item>hwbr_engine_mainprocess</item>--> | ||
<!-- <item>hwbr_engine_hwbr_event</item>--> | ||
<!-- <item>hwbr_engine_PathUtils</item>--> | ||
<!-- <item>hwbr_engine_AwContents</item>--> | ||
<!-- <item>hwbr_engine_cr_IMM</item>--> | ||
<!-- <item>hwbr_engine_LibraryLoader</item>--> | ||
<!-- <item>hwbr_engine_BrowserStartup</item>--> | ||
<!-- <item>hwbr_engine_cr_WebContentsImpl</item>--> | ||
<!-- <item>CrashReport</item>--> | ||
<!-- <item>CrashReportInfo</item>--> | ||
<!-- <item>CrashReport-Native</item>--> | ||
<!-- <item>LeakCanary</item>--> | ||
<!-- <item>Timeline</item>--> | ||
<!-- <item>AssistStructure</item>--> | ||
<!-- <item>EgretLoader</item>--> | ||
<!-- <item>OverScrollerOptimization</item>--> | ||
<!-- <item>HiTouch_PressGestureDetector</item>--> | ||
<!-- <item>HiTouch_HiTouchSensor</item>--> | ||
<!-- <item>FLTAG_SFM</item>--> | ||
<!-- <item>FLTAG_FM</item>--> | ||
<!-- <item>libEGL</item>--> | ||
<!-- <item>AwareLog</item>--> | ||
<!-- <item>AwareBitmapCacher</item>--> | ||
<!-- <item>AwareAppScheduleManager</item>--> | ||
<!-- <item>FeatureFactory</item>--> | ||
<!-- <item>WebViewFactory</item>--> | ||
<!-- <item>ConfigStore</item>--> | ||
<!-- <item>mali_winsys</item>--> | ||
<!-- <item>ZrHung.AppEyeUiProbe</item>--> | ||
<!-- <item>chatty</item>--> | ||
<!-- <item>stylus</item>--> | ||
<!-- <item>libc</item>--> | ||
<!-- <item>chromium</item>--> | ||
<!-- <item>Perf</item>--> | ||
<!-- <item>FeatureParser</item>--> | ||
<!-- <item>Binder:intercep</item>--> | ||
<!-- <item>cr_LibraryLoader</item>--> | ||
<!-- <item>cr_BrowserStartup</item>--> | ||
<!-- <item>DecorView</item>--> | ||
<!-- <item>DecorView[]</item>--> | ||
<!-- <item>ForceDarkHelper</item>--> | ||
<!-- <item>skia</item>--> | ||
<!-- <item>AdrenoGLES-0</item>--> | ||
<!-- <item>ViewContentFactory</item>--> | ||
<!-- <item>MiuiFrameworkFactory</item>--> | ||
<!-- <item>MIUIInput</item>--> | ||
<!-- <item>cr_media</item>--> | ||
<!-- <item>cr_CachingUmaRecorder</item>--> | ||
<!-- <item>TetheringManager</item>--> | ||
<!-- <item>MiuiFreeDragHelper</item>--> | ||
<!-- <item>MiuiFreeDragImpl</item>--> | ||
<!-- <item>ContentProviderMonitor</item>--> | ||
<!-- <item>ContentCatcher</item>--> | ||
<!-- <item>ApplicationLoaders</item>--> | ||
<!-- <item>RenderInspector</item>--> | ||
<!-- </string-array>--> | ||
|
||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources xmlns:tools="http://schemas.android.com/tools"> | ||
<string name="app_name">Logcat</string> | ||
|
||
<!-- <string-array name="logcat_filter_list" tools:ignore="ExtraTranslation">--> | ||
<!-- <item>ActivityThread</item>--> | ||
<!-- <item>InputMethodManager</item>--> | ||
<!-- <item>OpenGLRenderer</item>--> | ||
<!-- <item>VideoCapabilities</item>--> | ||
<!-- <item>ViewRootImpl</item>--> | ||
<!-- <item>Settings</item>--> | ||
<!-- <item>Looper</item>--> | ||
<!-- <item>TextView</item>--> | ||
<!-- <item>TypefaceUtils</item>--> | ||
<!-- <item>MultiDex</item>--> | ||
<!-- <item>AudioManager</item>--> | ||
<!-- <item>ConnectivityManager</item>--> | ||
<!-- <item>NetworkSecurityConfig</item>--> | ||
<!-- <item>HwPolicyFactory:</item>--> | ||
<!-- <item>HwWidgetFactory:</item>--> | ||
<!-- <item>HwApiCacheMangerEx</item>--> | ||
<!-- <item>HwWechatOptimizeImpl</item>--> | ||
<!-- <item>HwSplineOverScrollerExImpl</item>--> | ||
<!-- <item>HwAppInnerBoostImpl</item>--> | ||
<!-- <item>HwCustConnectivityManagerImpl</item>--> | ||
<!-- <item>HwApsImpl</item>--> | ||
<!-- <item>HwPhoneWindow</item>--> | ||
<!-- <item>HwAutofillHelper</item>--> | ||
<!-- <item>hwbr_engine_mainprocess</item>--> | ||
<!-- <item>hwbr_engine_hwbr_event</item>--> | ||
<!-- <item>hwbr_engine_PathUtils</item>--> | ||
<!-- <item>hwbr_engine_AwContents</item>--> | ||
<!-- <item>hwbr_engine_cr_IMM</item>--> | ||
<!-- <item>hwbr_engine_LibraryLoader</item>--> | ||
<!-- <item>hwbr_engine_BrowserStartup</item>--> | ||
<!-- <item>hwbr_engine_cr_WebContentsImpl</item>--> | ||
<!-- <item>CrashReport</item>--> | ||
<!-- <item>CrashReportInfo</item>--> | ||
<!-- <item>CrashReport-Native</item>--> | ||
<!-- <item>LeakCanary</item>--> | ||
<!-- <item>Timeline</item>--> | ||
<!-- <item>AssistStructure</item>--> | ||
<!-- <item>EgretLoader</item>--> | ||
<!-- <item>OverScrollerOptimization</item>--> | ||
<!-- <item>HiTouch_PressGestureDetector</item>--> | ||
<!-- <item>HiTouch_HiTouchSensor</item>--> | ||
<!-- <item>FLTAG_SFM</item>--> | ||
<!-- <item>FLTAG_FM</item>--> | ||
<!-- <item>libEGL</item>--> | ||
<!-- <item>AwareLog</item>--> | ||
<!-- <item>AwareBitmapCacher</item>--> | ||
<!-- <item>AwareAppScheduleManager</item>--> | ||
<!-- <item>FeatureFactory</item>--> | ||
<!-- <item>WebViewFactory</item>--> | ||
<!-- <item>ConfigStore</item>--> | ||
<!-- <item>mali_winsys</item>--> | ||
<!-- <item>ZrHung.AppEyeUiProbe</item>--> | ||
<!-- <item>chatty</item>--> | ||
<!-- <item>stylus</item>--> | ||
<!-- <item>libc</item>--> | ||
<!-- <item>chromium</item>--> | ||
<!-- <item>Perf</item>--> | ||
<!-- <item>FeatureParser</item>--> | ||
<!-- <item>Binder:intercep</item>--> | ||
<!-- <item>cr_LibraryLoader</item>--> | ||
<!-- <item>cr_BrowserStartup</item>--> | ||
<!-- <item>DecorView</item>--> | ||
<!-- <item>DecorView[]</item>--> | ||
<!-- <item>ForceDarkHelper</item>--> | ||
<!-- <item>skia</item>--> | ||
<!-- <item>AdrenoGLES-0</item>--> | ||
<!-- <item>ViewContentFactory</item>--> | ||
<!-- <item>MiuiFrameworkFactory</item>--> | ||
<!-- <item>MIUIInput</item>--> | ||
<!-- <item>cr_media</item>--> | ||
<!-- <item>cr_CachingUmaRecorder</item>--> | ||
<!-- <item>TetheringManager</item>--> | ||
<!-- <item>MiuiFreeDragHelper</item>--> | ||
<!-- <item>MiuiFreeDragImpl</item>--> | ||
<!-- <item>ContentProviderMonitor</item>--> | ||
<!-- <item>ContentCatcher</item>--> | ||
<!-- <item>ApplicationLoaders</item>--> | ||
<!-- <item>RenderInspector</item>--> | ||
<!-- </string-array>--> | ||
|
||
</resources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
<resources> | ||
|
||
<!-- Base application theme. --> | ||
<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar"> | ||
<!-- Customize your theme here. --> | ||
<item name="colorPrimary">@color/colorPrimary</item> | ||
<item name="colorPrimaryDark">@color/colorPrimaryDark</item> | ||
<item name="colorAccent">@color/colorAccent</item> | ||
<!-- 解决 Android 5.1 及以上版本 Button 英文字符串自动变大写的问题 --> | ||
<item name="android:textAllCaps">false</item> | ||
</style> | ||
|
||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
|
||
<!-- Base application theme. --> | ||
<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar"> | ||
<!-- Customize your theme here. --> | ||
<item name="colorPrimary">@color/colorPrimary</item> | ||
<item name="colorPrimaryDark">@color/colorPrimaryDark</item> | ||
<item name="colorAccent">@color/colorAccent</item> | ||
<!-- 解决 Android 5.1 及以上版本 Button 英文字符串自动变大写的问题 --> | ||
<item name="android:textAllCaps">false</item> | ||
</style> | ||
|
||
</resources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.