Usually when building full OTAs for dynamic partition devices the whole partition table is removed and recreated, but in vendorless cases lineageos (and basically any other custom rom) has a patch to disable that functionality and
instead just resize the partitions. This, however, breaks the flashing if a new partition is added, because that partition is tried to be resized and, since it doesn't exist, the assert fails. This patch adds another dynamic patch
list to remove Oppo partitions or gracefully fail if it already removed (no assert).
Signed-off-by: Kuba Wojciechowski <nullbytepl@gmail.com>
Signed-off-by: TheMalachite <eliasgheeraert@gmail.com>
Change-Id: Ie5e8fede0723a99e3b026eb740c8c85b5ea740c6
Signed-off-by: ManshuTyagi <himanshut567@gmail.com>