summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorWale Ogunwale <ogunwale@google.com>2017-09-06 19:01:03 -0700
committerWale Ogunwale <ogunwale@google.com>2017-09-07 07:09:09 -0700
commit6cbbc9a0a13caa1e9f748e1d2a3d1fbf83c1407c (patch)
tree6074acfff807983cdded91aa2b1b6d93eeedaa45 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent4863413f5ec97be4cfeb46abc069cabd65497558 (diff)
Limit setActivityType safety check to system process.
WindowConfiguration.setActivityType() has a safety check to help developers avoid logic errors that can cause an activity or its parent container to change activity type which can be dangerous. However, this protection is mainly there for code running in the system server and shouldn't affect coding running in the client process. For example, we don't want to crash code running in the client process because of the way the app decides to combine various configurations they get from the system. This change limit the check to just code running in the system process. Change-Id: Ie315d8d69b5ac03e4fd4ea1e3353a37d097af96d Fixes: 65403289 Test: bit FrameworksServicesTests:com.android.server.wm.WindowConfigurationTests
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions