summaryrefslogtreecommitdiff
path: root/WifiDialog/Android.bp
diff options
context:
space:
mode:
author Quang Luong <qal@google.com> 2023-03-31 22:33:58 +0000
committer Quang Luong <qal@google.com> 2023-04-02 23:59:43 +0000
commiteaf9301379ab5d435858021e36af52d987e40158 (patch)
tree5d465543e09f8f84d6ba822030fb5af73a203e35 /WifiDialog/Android.bp
parentfe19910a3ce05b53614a2b0910542e5fde9f0cb4 (diff)
Fix WifiDialog app showing a solid background on U-on-T
Fix WifiDialog app showing a solid background on U-on-T with the following changes: 1) Manually declare a transparent theme for WifiDialog. 2) Don't override getResources() with ServiceWifiResources and instead reference ServiceWifiResources directly when needed. 3) Use public device default dialog themes instead of the private Theme.DeviceDefault.Dialog.Alert.DayNight. 4) Manually set the textColor of the P2P PIN input since it's not visible anymore with new style settings. Bug: 238353074 Test: manually verify dialog looks correct using `adb shell cmd wifi launch-dialog-simple` and `adb shell cmd wifi launch-dialog-p2p-invitation-received` on U-on-T. Updated-Overlayable: Not applicable - changing default value Change-Id: If47ba975ffc8706e6457b7ed6fc4f7e3bb23986b
Diffstat (limited to 'WifiDialog/Android.bp')
-rw-r--r--WifiDialog/Android.bp1
1 files changed, 0 insertions, 1 deletions
diff --git a/WifiDialog/Android.bp b/WifiDialog/Android.bp
index 1941294fa8..75bb3cc2cf 100644
--- a/WifiDialog/Android.bp
+++ b/WifiDialog/Android.bp
@@ -28,7 +28,6 @@ android_app {
static_libs: [
"androidx.appcompat_appcompat",
],
- resource_dirs: [],
srcs: ["src/**/*.java"],
sdk_version: "module_current",