public static void showNotification() {
try {
Object service = getSystemService("statusbar");
if (service != null) {
Method expand = service.getClass().getMethod("expand");
expand.invoke(service);
}
} catch (Exception e) {
e.printStackTrace();
}
}
android显示通知栏
最新推荐文章于 2021-11-19 23:20:55 发布