This repository has been archived by the owner on Nov 9, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathcmfilemanager_cm10_1.patch
71 lines (64 loc) · 3.76 KB
/
cmfilemanager_cm10_1.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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 21ae47e..f3540ae 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -21,7 +21,7 @@
<original-package android:name="com.cyanogenmod.filemanager" />
- <uses-sdk android:minSdkVersion="17" android:targetSdkVersion="17" />
+ <uses-sdk android:minSdkVersion="16" android:targetSdkVersion="16" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS" />
diff --git a/libs/color-picker-view/src/afzkl/development/mColorPicker/views/ColorDialogView.java b/libs/color-picker-view/src/afzkl/development/mColorPicker/views/ColorDialogView.java
index 2333002..df80054 100644
--- a/libs/color-picker-view/src/afzkl/development/mColorPicker/views/ColorDialogView.java
+++ b/libs/color-picker-view/src/afzkl/development/mColorPicker/views/ColorDialogView.java
@@ -111,7 +111,7 @@ public class ColorDialogView extends RelativeLayout
// Create the scrollview over the dialog
final int dlgMarging = (int)convertDpToPixel(DEFAULT_MARGIN_DP);
ScrollView sv = new ScrollView(getContext());
- sv.setId(generateViewId());
+ sv.setId(1970);
RelativeLayout.LayoutParams lp = new RelativeLayout.LayoutParams(
android.view.ViewGroup.LayoutParams.MATCH_PARENT,
android.view.ViewGroup.LayoutParams.WRAP_CONTENT);
@@ -121,7 +121,7 @@ public class ColorDialogView extends RelativeLayout
// Now the vertical layout
LinearLayout ll = new LinearLayout(getContext());
- ll.setId(generateViewId());
+ ll.setId(1971);
lp = new RelativeLayout.LayoutParams(
android.view.ViewGroup.LayoutParams.MATCH_PARENT,
android.view.ViewGroup.LayoutParams.MATCH_PARENT);
@@ -199,7 +199,7 @@ public class ColorDialogView extends RelativeLayout
this.etColor.addTextChangedListener(this);
LinearLayout ll1 = new LinearLayout(getContext());
- ll1.setId(generateViewId());
+ ll1.setId(1966);
RelativeLayout.LayoutParams lp = new RelativeLayout.LayoutParams(
android.view.ViewGroup.LayoutParams.MATCH_PARENT,
android.view.ViewGroup.LayoutParams.WRAP_CONTENT);
@@ -223,7 +223,7 @@ public class ColorDialogView extends RelativeLayout
private int createColorPicker(ViewGroup parent, int belowOf) {
final int dlgMarging = (int)convertDpToPixel(DEFAULT_MARGIN_DP);
this.mPickerView = new ColorPickerView(getContext());
- this.mPickerView.setId(generateViewId());
+ this.mPickerView.setId(1967);
this.mPickerView.setOnColorChangedListener(this);
RelativeLayout.LayoutParams lp = new RelativeLayout.LayoutParams(
android.view.ViewGroup.LayoutParams.MATCH_PARENT,
@@ -274,7 +274,7 @@ public class ColorDialogView extends RelativeLayout
sep1.setTextSize(TypedValue.COMPLEX_UNIT_SP, DEFAULT_TEXT_SIZE_SP);
LinearLayout ll1 = new LinearLayout(getContext());
- ll1.setId(generateViewId());
+ ll1.setId(1968);
RelativeLayout.LayoutParams lp = new RelativeLayout.LayoutParams(
android.view.ViewGroup.LayoutParams.MATCH_PARENT,
android.view.ViewGroup.LayoutParams.WRAP_CONTENT);
@@ -306,7 +306,7 @@ public class ColorDialogView extends RelativeLayout
sep2.setTextSize(TypedValue.COMPLEX_UNIT_SP, DEFAULT_TEXT_SIZE_SP);
LinearLayout ll2 = new LinearLayout(getContext());
- ll2.setId(generateViewId());
+ ll2.setId(1969);
lp = new RelativeLayout.LayoutParams(
android.view.ViewGroup.LayoutParams.MATCH_PARENT, panelHeight);
lp.setMargins(dlgMarging, 0, dlgMarging, dlgMarging/2);