diff options
author | Fabian Kozynski <kozynski@google.com> | 2021-08-09 14:41:58 -0400 |
---|---|---|
committer | Fabian Kozynski <kozynski@google.com> | 2021-08-13 13:05:39 -0400 |
commit | e2cce552ede6c86e65a205f357863ab3151b5302 (patch) | |
tree | 69d52f51f16df02b00a9d3180a0055d4acdc4b0d /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | ba405b787bde5336888dbac56ee4b8fdf117c005 (diff) |
Improve restore of QS_AUTO_ADDED_TILES
In order to prevent race conditions and effects happening before restore
happens, this CL implements the following changes:
* QS_AUTO_ADDED_TILES is restored right after QS_TILES
* Writes of QS_AUTO_ADDED_TILES are marked as overrideable by restore.
That way, the restore will happen even if tiles are auto-added before
the restore happens.
* If/when the restore happens. Any tiles that had been auto-added and
manually removed in the source device are removed from the set of
current tiles.
* If/when the restore happens, QS_AUTO_ADDED_TILES is resolved to be the
merge of the value before and after restore.
Test: atest SystemUITests
Test: manual restore
Fixes: 168687572
Change-Id: Iad151e8310f1a5b099125d20bb673703030501b6
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions