前言
欢迎大家我分享和推荐好用的代码段~~
声明
欢迎转载,但请保留文章原始出处:
CSDN:http://www.csdn.net
雨季o莫忧离:http://blog.csdn.net/luckkof
正文
alps\packages\apps\Gallery2\src\com\mediatek\gallery3d\video\NotificationPlusHooker.java private void enableNMP() { ... // if (extraEnable || ExtensionHelper.getMovieStrategy(getContext()).shouldEnableNMP(getMovieItem())) { if (extraEnable || true ) { mPlusNotification = new NotificationManagerPlus.ManagerBuilder(getContext()) .setPositiveButton(getContext().getString(android.R.string.ok), null) .setNeutralButton(null, null) .setNegativeButton(null, null) .setOnFirstShowListener(getPlayer()) .setOnLastDismissListener(getPlayer()) .create(); } ... }