summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorDaniel Sandler <dsandler@android.com>2012-10-03 23:04:50 -0400
committerDaniel Sandler <dsandler@android.com>2012-10-04 23:38:15 -0400
commit2d78490292090eeab84694330978c9ad7fad2d37 (patch)
tree18e284c10ae397527c5844e1b07f6a0141083c2e /api
parent09d1cb3fb1f8ccaa6c0298b04cfb515f273b0c08 (diff)
downloadframeworks_base-2d78490292090eeab84694330978c9ad7fad2d37.zip
frameworks_base-2d78490292090eeab84694330978c9ad7fad2d37.tar.gz
frameworks_base-2d78490292090eeab84694330978c9ad7fad2d37.tar.bz2
DreamService API revisions.
Reduce reliance on Service interface overrides, instead steering clients to the DreamService-specific lifecycle hooks: onAttachedToWindow .. onDreamingStarted .. onDreamingStopped .. onDetachedFromWindow The old Dream.java is finally gone now too. Bug: 7281802 Change-Id: Ib7802c3397fde60ad1132fa49831da182eef4d7a
Diffstat (limited to 'api')
-rw-r--r--api/17.txt5
-rw-r--r--api/current.txt5
2 files changed, 6 insertions, 4 deletions
diff --git a/api/17.txt b/api/17.txt
index e86de90..135f2ec 100644
--- a/api/17.txt
+++ b/api/17.txt
@@ -20340,7 +20340,7 @@ package android.service.dreams {
method public boolean dispatchTouchEvent(android.view.MotionEvent);
method public boolean dispatchTrackballEvent(android.view.MotionEvent);
method public android.view.View findViewById(int);
- method public void finish();
+ method public final void finish();
method public android.view.Window getWindow();
method public android.view.WindowManager getWindowManager();
method public boolean isFullscreen();
@@ -20355,12 +20355,13 @@ package android.service.dreams {
method public boolean onCreatePanelMenu(int, android.view.Menu);
method public android.view.View onCreatePanelView(int);
method public void onDetachedFromWindow();
+ method public void onDreamingStarted();
+ method public void onDreamingStopped();
method public boolean onMenuItemSelected(int, android.view.MenuItem);
method public boolean onMenuOpened(int, android.view.Menu);
method public void onPanelClosed(int, android.view.Menu);
method public boolean onPreparePanel(int, android.view.View, android.view.Menu);
method public boolean onSearchRequested();
- method public void onStart();
method public void onWindowAttributesChanged(android.view.WindowManager.LayoutParams);
method public void onWindowFocusChanged(boolean);
method public android.view.ActionMode onWindowStartingActionMode(android.view.ActionMode.Callback);
diff --git a/api/current.txt b/api/current.txt
index e86de90..135f2ec 100644
--- a/api/current.txt
+++ b/api/current.txt
@@ -20340,7 +20340,7 @@ package android.service.dreams {
method public boolean dispatchTouchEvent(android.view.MotionEvent);
method public boolean dispatchTrackballEvent(android.view.MotionEvent);
method public android.view.View findViewById(int);
- method public void finish();
+ method public final void finish();
method public android.view.Window getWindow();
method public android.view.WindowManager getWindowManager();
method public boolean isFullscreen();
@@ -20355,12 +20355,13 @@ package android.service.dreams {
method public boolean onCreatePanelMenu(int, android.view.Menu);
method public android.view.View onCreatePanelView(int);
method public void onDetachedFromWindow();
+ method public void onDreamingStarted();
+ method public void onDreamingStopped();
method public boolean onMenuItemSelected(int, android.view.MenuItem);
method public boolean onMenuOpened(int, android.view.Menu);
method public void onPanelClosed(int, android.view.Menu);
method public boolean onPreparePanel(int, android.view.View, android.view.Menu);
method public boolean onSearchRequested();
- method public void onStart();
method public void onWindowAttributesChanged(android.view.WindowManager.LayoutParams);
method public void onWindowFocusChanged(boolean);
method public android.view.ActionMode onWindowStartingActionMode(android.view.ActionMode.Callback);