forked from danielhk/android_device_asus_grouper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
frameworks_base.patch
27 lines (24 loc) · 1.11 KB
/
frameworks_base.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
diff --git a/libs/hwui/Android.mk b/libs/hwui/Android.mk
index c9d4af6..3339733 100644
--- a/libs/hwui/Android.mk
+++ b/libs/hwui/Android.mk
@@ -137,7 +137,7 @@ endif
ifdef HWUI_COMPILE_FOR_PERF
# TODO: Non-arm?
- hwui_cflags += -fno-omit-frame-pointer -marm -mapcs
+ hwui_cflags += -fno-omit-frame-pointer -marm
endif
# This has to be lazy-resolved because it depends on the LOCAL_MODULE_CLASS
diff --git a/packages/MtpDocumentsProvider/src/com/android/mtp/MtpDocumentsProvider.java b/packages/MtpDocumentsProvider/src/com/android/mtp/MtpDocumentsProvider.java
index 1823711..52c31af 100644
--- a/packages/MtpDocumentsProvider/src/com/android/mtp/MtpDocumentsProvider.java
+++ b/packages/MtpDocumentsProvider/src/com/android/mtp/MtpDocumentsProvider.java
@@ -137,6 +137,9 @@ public class MtpDocumentsProvider extends DocumentsProvider {
} catch (IOException error) {
Log.e(TAG, "Failed to start app fuse.", error);
return false;
+ } catch (Exception e) {
+ Log.e(TAG, "Failed to mount with appfuse.", e);
+ return false;
}
resume();