Class android.app.Service
The superclass changed from android.app.ApplicationContext
to android.content.ContextWrapper
.
Added interface android.content.ComponentCallbacks
.
Added Methods
|
void dump(FileDescriptor, PrintWriter, String[])
|
Print the Service's state into the given stream. |
void onLowMemory()
|
|
void onRebind(Intent )
|
Called when new clients have connected to the service, after it had
previously been notified that all had disconnected in its
.onUnbind. |
boolean onUnbind(Intent )
|
Called when all clients have disconnected from a particular interface
published by the service. |
void setForeground(boolean )
|
Control whether this service is considered to be a foreground service. |
Changed Methods
|
void onConfigurationChanged(Configuration )
|
Change in signature from android.content.Resources.Configuration to android.content.res.Configuration .
Change of visibility from protected to public.
|
|
void onCreate()
|
Change of visibility from protected to public.
|
Called by the system when the service is first created. |
void onDestroy()
|
Change of visibility from protected to public.
|
Called by the system to notify a Service that it is no longer used and is being removed. |
void onStart(Intent, int)
|
Change in signature from (int, Bundle ) to (Intent, int ).
Change of visibility from protected to public.
|
Called by the system every time a client explicitly starts the service by calling
android.content.Context.startService, providing the arguments it supplied and a
unique integer token representing the start request. |
Removed Fields
|
String TAG
|
|