summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueueThreadState.cpp
diff options
context:
space:
mode:
author Daniel Rosenberg <drosen@google.com> 2019-07-12 15:22:24 -0700
committer android-build-team Robot <android-build-team-robot@google.com> 2019-07-16 02:55:15 +0000
commit42063038e2e8cdbff611680835ed993a822df2e1 (patch)
tree837337ecd52c40811f5af4ee8b2e41bab8766f13 /libs/gui/BufferQueueThreadState.cpp
parentf42d9f1871a077288a4ccb6fc9dd933cc147adf4 (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 (cherry picked from commit c0439c785eafbbc1e2e88b94e15bae6e92e6c51b)
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions