Assigned
Status Update
Comments
an...@google.com <an...@google.com>
an...@google.com <an...@google.com> #2
Thank you for reporting this issue. Please upload the AOSP patch following this guidance
sb...@gmail.com <sb...@gmail.com> #3
Add IMS and XCAP APNs for Almadar Carrier ID 2006 MCC606 MNC01
Change-Id: I9594ce3d2276127d2a585b9c630b672c857bede7
Change-Id: I9594ce3d2276127d2a585b9c630b672c857bede7
an...@google.com <an...@google.com>
vi...@google.com <vi...@google.com> #4
We have shared this with our product and engineering team and will update this issue with more information as it becomes available.
vi...@google.com <vi...@google.com> #5
Do you mind sharing the sample app (source code and/or the APK)? We cannot reproduce the issue.
sb...@gmail.com <sb...@gmail.com> #6
Below are the relevant files :-
AndroidManifest.xml:
---------------------------------
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android "
xmlns:tools="http://schemas.android.com/tools ">
<application
android:allowBackup="true"
android:dataExtractionRules="@xml/data_extraction_rules"
android:fullBackupContent="@xml/backup_rules"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/Theme.T35_Navigation_Bug"
tools:targetApi="31">
<meta-data android:name="android.max_aspect" android:value="2.1" />
<activity
android:resizeableActivity="false"
android:name=".MainActivity"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
MainActivity.kt:
-------------------------
class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_main)
findViewById<Button>(R.id.btn_first).setOnClickListener {
window.addFlags(WindowManager.LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS)
window.navigationBarColor = Color.BLUE
}
}
}
res/values-v35/themes.xml
--------------------------------------------
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="Theme.T35_Navigation_Bug" parent="Base.Theme.T35_Navigation_Bug">
<item name="android:windowOptOutEdgeToEdgeEnforcement">true</item>
</style>
</resources>
AndroidManifest.xml:
---------------------------------
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="
xmlns:tools="
<application
android:allowBackup="true"
android:dataExtractionRules="@xml/data_extraction_rules"
android:fullBackupContent="@xml/backup_rules"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/Theme.T35_Navigation_Bug"
tools:targetApi="31">
<meta-data android:name="android.max_aspect" android:value="2.1" />
<activity
android:resizeableActivity="false"
android:name=".MainActivity"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
MainActivity.kt:
-------------------------
class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_main)
findViewById<Button>(R.id.btn_first).setOnClickListener {
window.addFlags(WindowManager.LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS)
window.navigationBarColor = Color.BLUE
}
}
}
res/values-v35/themes.xml
--------------------------------------------
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="Theme.T35_Navigation_Bug" parent="Base.Theme.T35_Navigation_Bug">
<item name="android:windowOptOutEdgeToEdgeEnforcement">true</item>
</style>
</resources>
Description
depreciated api until we migrate to "edgeToedge" feature.
Hence we are using "windowOptOutEdgeToEdgeEnforcement" to opt out of this feature when targetsdk set to 35
In Android-15, one weird issue is observed while changing the navigation bar color and status bar color whenever we set "android.max_aspect" to 2.1 in manifest
Whenever "android.max_aspect" ratio is set to 2.1 , then status bar color is not exactly matching the color that is provided and color of navigation bar is not changed at all.
Whereas without setting "android.max_aspect" param , both status and navigation bar color is changed and they are exactly matching the provided colors.
Please find the comparison table in attachments for better understanding
Please let us know why setting "android.max_aspect" param causing this issue?