mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-30 05:23:00 +00:00 
			
		
		
		
	Android version fixed for API 31
This commit is contained in:
		| @@ -1,7 +1,7 @@ | |||||||
| <?xml version="1.0" encoding="utf-8"?> | <?xml version="1.0" encoding="utf-8"?> | ||||||
| <manifest xmlns:android="http://schemas.android.com/apk/res/android" | <manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||||||
|       package="com.roguetemple.hyperroid" |       package="com.roguetemple.hyperroid" | ||||||
|       android:versionCode="12070" android:versionName="12.0u" |       android:versionCode="12080" android:versionName="12.0v" | ||||||
|       android:installLocation="auto"> |       android:installLocation="auto"> | ||||||
| <!--    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />         --> | <!--    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />         --> | ||||||
| <!--    <uses-sdk android:minSdkVersion="9" android:targetSdkVersion="9" /> --> | <!--    <uses-sdk android:minSdkVersion="9" android:targetSdkVersion="9" /> --> | ||||||
| @@ -13,7 +13,7 @@ | |||||||
|                   android:windowSoftInputMode="adjustResize" |                   android:windowSoftInputMode="adjustResize" | ||||||
|                   android:configChanges="orientation|keyboardHidden|screenSize" |                   android:configChanges="orientation|keyboardHidden|screenSize" | ||||||
|                   android:name=".HyperRogue" |                   android:name=".HyperRogue" | ||||||
|                   android:launchMode="singleTask" android:exported="false"> |                   android:launchMode="singleTask" android:exported="true"> | ||||||
|             <intent-filter> |             <intent-filter> | ||||||
|                 <action android:name="android.intent.action.MAIN" /> |                 <action android:name="android.intent.action.MAIN" /> | ||||||
|                 <category android:name="android.intent.category.LAUNCHER" /> |                 <category android:name="android.intent.category.LAUNCHER" /> | ||||||
|   | |||||||
| @@ -50,7 +50,8 @@ public class ForegroundService extends Service { | |||||||
|        | Intent.FLAG_ACTIVITY_CLEAR_TASK); |        | Intent.FLAG_ACTIVITY_CLEAR_TASK); | ||||||
|  |  | ||||||
|      PendingIntent pendingIntent = PendingIntent.getActivity(this, 0, |      PendingIntent pendingIntent = PendingIntent.getActivity(this, 0, | ||||||
|              notificationIntent, 0); |              notificationIntent, PendingIntent.FLAG_IMMUTABLE | ||||||
|  |      ); | ||||||
|  |  | ||||||
|      Notification notification = new NotificationCompat.Builder(this, getChannelId()) |      Notification notification = new NotificationCompat.Builder(this, getChannelId()) | ||||||
|      .setContentTitle("HyperRogue") |      .setContentTitle("HyperRogue") | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue