Add a system service for grammatical gender
Add getApplicationGender()/setApplicationGender() API to allow app set the application's grammatical gender Bug: 259175720 Test: atest and get/set the API Change-Id: I83842eadd8cdaa7c148acf6dfb37df32564e241d
This commit is contained in:
@@ -130,6 +130,7 @@ import com.android.server.display.DisplayManagerService;
|
||||
import com.android.server.display.color.ColorDisplayService;
|
||||
import com.android.server.dreams.DreamManagerService;
|
||||
import com.android.server.emergency.EmergencyAffordanceService;
|
||||
import com.android.server.grammaticalinflection.GrammaticalInflectionService;
|
||||
import com.android.server.gpu.GpuService;
|
||||
import com.android.server.graphics.fonts.FontManagerService;
|
||||
import com.android.server.hdmi.HdmiControlService;
|
||||
@@ -1753,6 +1754,14 @@ public final class SystemServer implements Dumpable {
|
||||
}
|
||||
t.traceEnd();
|
||||
|
||||
t.traceBegin("StartGrammarInflectionService");
|
||||
try {
|
||||
mSystemServiceManager.startService(GrammaticalInflectionService.class);
|
||||
} catch (Throwable e) {
|
||||
reportWtf("starting GrammarInflectionService service", e);
|
||||
}
|
||||
t.traceEnd();
|
||||
|
||||
t.traceBegin("UpdatePackagesIfNeeded");
|
||||
try {
|
||||
Watchdog.getInstance().pauseWatchingCurrentThread("dexopt");
|
||||
|
||||
Reference in New Issue
Block a user