Renamed ContentCaptureService.disableContentCaptureServices to disableSelf()
Test: atest CtsContentCaptureServiceTestCases Test: m update-api Fixes: 128426640 Change-Id: I54c68ae64969f2e15c0c3a53cb6dbdb59b7931ab
This commit is contained in:
@@ -298,12 +298,12 @@ public abstract class ContentCaptureService extends Service {
|
||||
/**
|
||||
* Disables the Content Capture service for the given user.
|
||||
*/
|
||||
public final void disableContentCaptureServices() {
|
||||
if (sDebug) Log.d(TAG, "disableContentCaptureServices()");
|
||||
public final void disableSelf() {
|
||||
if (sDebug) Log.d(TAG, "disableSelf()");
|
||||
|
||||
final IContentCaptureServiceCallback callback = mCallback;
|
||||
if (callback == null) {
|
||||
Log.w(TAG, "disableContentCaptureServices(): no server callback");
|
||||
Log.w(TAG, "disableSelf(): no server callback");
|
||||
return;
|
||||
}
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user