Commit 011837a
authored
[localization] Remove unused
# Why
This PR is part of a series aimed at removing compilation warnings.
It removes the following warning:
```gradle
packages/expo-localization/android/src/main/java/expo/modules/localization/LocalizationModule.kt:176:16 - 'fun get(p0: String!): Any?' is deprecated. Deprecated in Java.
```
# How
Removes unused `Bundle.toShallowMap`, which uses the deprecated `get`
function
# Test Plan
BareExpo ✅Bundle.toShallowMap (expo#46998)1 parent 027688d commit 011837a
1 file changed
Lines changed: 0 additions & 12 deletions
File tree
- packages/expo-localization/android/src/main/java/expo/modules/localization
Lines changed: 0 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
| |||
166 | 165 | | |
167 | 166 | | |
168 | 167 | | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
0 commit comments