のねのBlog

パソコンやソフト開発で起きた問題など書きます。よろしくお願いします。

Android-QuickSettings

Quick Settings

281 @Override 282 public void onAnnouncementRequested(CharSequence announcement) { 283 announceForAccessibility(announcement); 284 } 5234 public void announceForAccessibility(CharSequence text) { 5235 if (AccessibilityManager.getInstance(m…

Quick Settings FlashLight

72 @Override 73 protected void handleUpdateState(BooleanState state, Object arg) { 74 if (state.value) { 75 mWasLastOn = SystemClock.uptimeMillis(); 76 } 77 78 if (arg instanceof Boolean) { 79 state.value = (Boolean) arg; 80 } 81 82 if (!s…