Java Code Examples for android.provider.Settings#ACTION_DISPLAY_SETTINGS
The following examples show how to use
android.provider.Settings#ACTION_DISPLAY_SETTINGS .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: QsPanel.java From GravityBox with Apache License 2.0 | 5 votes |
@Override public boolean onLongClick(View v) { try { Intent intent = new Intent(Settings.ACTION_DISPLAY_SETTINGS); Object host = XposedHelpers.getObjectField(mQsPanel, "mHost"); XposedHelpers.callMethod(host, "startActivityDismissingKeyguard", intent); return true; } catch (Throwable t) { XposedBridge.log(t); return false; } }