From 2673cec07a4740f86438b50cfe1b70b258a9a8c8 Mon Sep 17 00:00:00 2001 From: Dees_Troy Date: Tue, 2 Apr 2013 20:22:16 +0000 Subject: Move all AOSP code out of recovery binary Improves license compatibility between GPL and Apache Change-Id: I2b165aa575bb6213af6b07936f99610c113443f0 --- gui/partitionlist.cpp | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'gui/partitionlist.cpp') diff --git a/gui/partitionlist.cpp b/gui/partitionlist.cpp index 9f9321c0b..36d5c1609 100644 --- a/gui/partitionlist.cpp +++ b/gui/partitionlist.cpp @@ -38,10 +38,8 @@ #include extern "C" { -#include "../common.h" -#include "../roots.h" +#include "../twcommon.h" #include "../minuitwrp/minui.h" -#include "../recovery_ui.h" } #include "rapidxml.hpp" @@ -330,12 +328,12 @@ GUIPartitionList::GUIPartitionList(xml_node<>* node) PartitionManager.Get_Partition_List(ListType, &mList); } else { mList.clear(); - LOGE("No partition listtype name specified for partitionlist GUI element\n"); + LOGERR("No partition listtype name specified for partitionlist GUI element\n"); return; } } else { mList.clear(); - LOGE("No partition listtype specified for partitionlist GUI element\n"); + LOGERR("No partition listtype specified for partitionlist GUI element\n"); return; } } @@ -755,7 +753,7 @@ int GUIPartitionList::NotifyTouch(TOUCH_STATE state, int x, int y) bool update_size = false; TWPartition* Part = PartitionManager.Find_Partition_By_Path(str); if (Part == NULL) { - LOGE("Unable to locate partition for '%s'\n", str.c_str()); + LOGERR("Unable to locate partition for '%s'\n", str.c_str()); return 0; } if (!Part->Is_Mounted() && Part->Removable) -- cgit v1.2.3