Good day.
I need to get the PhoneStatusBar class. I write this:
try { Class<?> classPhoneStatusBar = Class.forName("com.android.systemui.statusbar.phone.PhoneStatusBar"); } catch (ClassNotFoundException e) { Log.d("D", "ClassNotFoundException: " + e.getMessage()); } But I get the error that such a class was not found, although such a class definitely is https://android.googlesource.com/platform/frameworks/base/+/6023c0d8d269f056508ff7cba1b6d546091853b0/packages/SystemUI/src/com/android/systemui/strc /PhoneStatusBar.java