()
| 104 | } |
| 105 | |
| 106 | public static boolean isRTL() { |
| 107 | Class<?> kLocaleController = Initiator.load("org.telegram.messenger.LocaleController"); |
| 108 | if (kLocaleController != null) { |
| 109 | try { |
| 110 | return Boolean.TRUE.equals(Reflex.getStaticObject(kLocaleController, "isRTL", boolean.class)); |
| 111 | } catch (NoSuchFieldException ignored) { |
| 112 | } |
| 113 | } |
| 114 | // unable to load LocaleController |
| 115 | return false; |
| 116 | } |
| 117 | |
| 118 | public static void invalidate() { |
| 119 | // nothing to invalidate yet |
no test coverage detected