diff options
author | Pierre Barbier de Reuille <pbdr@google.com> | 2021-05-19 10:05:51 +0100 |
---|---|---|
committer | Pierre Barbier de Reuille <pbdr@google.com> | 2021-05-19 09:28:02 +0000 |
commit | 2debc0a8493a1b4fa31a1daaa33c60b887689e5f (patch) | |
tree | 418b5276b1820953f552fcd752979b43ec5ea349 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | f5bb3549999fc7838217a719ee50be62c7f9ac82 (diff) |
Correct AppWidget layout when WP is off
When the work profile (WP) is off, the layout of the widget is provided
by the system.
The layout must have a background with android:id/background as view id
and clip its outline, or it will be considered "legacy" and have the
wrong outline when moved.
Bug: 187907544
Test: Add a widget for the WP and turn the WP off.
Change-Id: Ibee31f5f0e510313ae7f8dc78c208c45a4d0e1fd
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions