rename incremental service name

Previously we had to use "incremental_service" because the proxy service
was using "incremental". Now that we have removed the proxy service, we
can just use "incremental".

Test: adb shell dumpsys incremental
Test: atest PackageManagerShellCommandIncrementalTest
BUG: 150406132
Change-Id: I0788cb90bf73b074506f9079253c433429eef782
This commit is contained in:
Songchun Fan
2020-03-05 09:16:08 -08:00
parent 291718cdb7
commit d1c62a4e89
2 changed files with 2 additions and 2 deletions

View File

@@ -5138,7 +5138,7 @@ public abstract class Context {
* {@link android.os.incremental.IncrementalManager}.
* @hide
*/
public static final String INCREMENTAL_SERVICE = "incremental_service";
public static final String INCREMENTAL_SERVICE = "incremental";
/**
* Use with {@link #getSystemService(String)} to retrieve an

View File

@@ -31,7 +31,7 @@ public:
BinderIncrementalService(const sp<IServiceManager>& sm);
static BinderIncrementalService* start();
static const char16_t* getServiceName() { return u"incremental_service"; }
static const char16_t* getServiceName() { return u"incremental"; }
status_t dump(int fd, const Vector<String16>& args) final;
void onSystemReady();