summaryrefslogtreecommitdiff
path: root/libs/gui/SurfaceControl.cpp
diff options
context:
space:
mode:
author Daniel Rosenberg <drosen@google.com> 2019-07-12 15:22:24 -0700
committer Daniel Rosenberg <drosen@google.com> 2019-07-12 15:29:37 -0700
commitc0439c785eafbbc1e2e88b94e15bae6e92e6c51b (patch)
tree9a5aa1862513bb2cfa6a3397733ef2c891f5223e /libs/gui/SurfaceControl.cpp
parent8b6bff42b8cf7f8596278f3b34652deb3c7cdde2 (diff)
installd: Account for empty obb contents on migration
We need /data/media/obb on devices with old kernels. Since that folder is present, we should check if there are contents there before migrating data. This also fixes the check for if the kernel supports the unshared_obb option. If it does, it only does the migration if there is data to migrate. Test: Boot with GSI over P, boot normal Q, with and without data at /data/media/obb. With data, it should migrate. Without data it shoud skip the migration. On GSI on P it should skip the migration. Bug: 136199978 Change-Id: I41b0ec7a8a6b57b2ea6a530630d56c00f758009a
Diffstat (limited to 'libs/gui/SurfaceControl.cpp')
0 files changed, 0 insertions, 0 deletions