Commit 786cbca
committed
Use Libcore.os.stat instead of FileUtils
PackageManagerService just needed to know the owner for this file, so
just use stat instead so we can remove the old JNI code.
This is the last user of FileUtils#getPermissions so just remove the
FileUtils method as well.
Change-Id: I953057cd6b9de4410f33b6f22e4bddff02fe29881 parent d2fb6e9 commit 786cbca
File tree
3 files changed
+13
-53
lines changed- core
- java/android/os
- jni
- services/java/com/android/server/pm
3 files changed
+13
-53
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | 31 | | |
35 | 32 | | |
36 | 33 | | |
| |||
96 | 93 | | |
97 | 94 | | |
98 | 95 | | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | 96 | | |
106 | 97 | | |
107 | 98 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | 71 | | |
105 | 72 | | |
106 | 73 | | |
| |||
158 | 125 | | |
159 | 126 | | |
160 | 127 | | |
161 | | - | |
162 | 128 | | |
163 | 129 | | |
164 | 130 | | |
| |||
Lines changed: 13 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
| 147 | + | |
147 | 148 | | |
148 | 149 | | |
149 | 150 | | |
| |||
294 | 295 | | |
295 | 296 | | |
296 | 297 | | |
297 | | - | |
298 | | - | |
299 | 298 | | |
300 | 299 | | |
301 | 300 | | |
| |||
3762 | 3761 | | |
3763 | 3762 | | |
3764 | 3763 | | |
3765 | | - | |
3766 | | - | |
3767 | | - | |
| 3764 | + | |
| 3765 | + | |
| 3766 | + | |
| 3767 | + | |
| 3768 | + | |
| 3769 | + | |
| 3770 | + | |
3768 | 3771 | | |
3769 | 3772 | | |
3770 | | - | |
| 3773 | + | |
3771 | 3774 | | |
3772 | | - | |
| 3775 | + | |
3773 | 3776 | | |
3774 | 3777 | | |
3775 | 3778 | | |
| |||
3798 | 3801 | | |
3799 | 3802 | | |
3800 | 3803 | | |
3801 | | - | |
| 3804 | + | |
3802 | 3805 | | |
3803 | 3806 | | |
3804 | 3807 | | |
| |||
3830 | 3833 | | |
3831 | 3834 | | |
3832 | 3835 | | |
3833 | | - | |
| 3836 | + | |
3834 | 3837 | | |
3835 | 3838 | | |
3836 | 3839 | | |
3837 | | - | |
| 3840 | + | |
3838 | 3841 | | |
3839 | 3842 | | |
3840 | 3843 | | |
| |||
0 commit comments