summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorAdam Lesinski <adamlesinski@google.com>2017-03-21 16:56:17 -0700
committerAdam Lesinski <adamlesinski@google.com>2017-03-28 17:31:00 -0700
commita82b62678a0e1eaba50ec5adce93862683dac065 (patch)
treec924074e7930977fbd901bbe55e0fa3b03b3c908 /tools/aapt2/java/JavaClassGenerator.cpp
parent881a623e3522e3e4f0905b606ca5c77cf899b21c (diff)
Themes: Apply themes to system_server safely
Creates a new UI Context for UI based operations. This UI Context is wired up the same way a normal app Context would be, and is subject to change when overlays are enabled/disabled. For this reason, only UI should be using this new Context. All other operations should be using the original system Context so that changing themes don't impact the regular operations of system_server. Also added some sanity checks at key places where we show UI (ShutdownThread, BaseErrorDialog). Bug: 36059431 Test: $ adb shell am crash com.android.settings Test: Observe crash and power off dialogs are blue with PixelTheme Change-Id: I87227ee2e0be1e72dcde8f482b37725cb687260b
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions