Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 85ad0516 authored by Ralph Nathan's avatar Ralph Nathan
Browse files

brillo: Remove dependency on icu for Brillo.

Mediaserver requires an internationalization data file that is 22 MB.
Since Brillo is headless and runs in a resource constrained environment,
remove the dependency on this file for Brillo.

BUG=25792311
TEST=mediaserver runs without /system/usr/icu/icudt56l.dat file. Audio
     playback, recording, and decoding work.

Change-Id: If397c5d75fca14b7cbc01c1a9014ae2d86649217
parent b135d0e6
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -125,7 +125,11 @@ int main(int argc __unused, char** argv)
            prctl(PR_SET_PDEATHSIG, SIGKILL);   // if parent media.log dies before me, kill me also
            setpgid(0, 0);                      // but if I die first, don't kill my parent
        }
#ifndef __BRILLO__
        // Brillo is headless and very resource constrained. As such, it doesn't
        // need an internationalization library for now.
        InitializeIcuOrDie();
#endif
        sp<ProcessState> proc(ProcessState::self());
        sp<IServiceManager> sm = defaultServiceManager();
        ALOGI("ServiceManager: %p", sm.get());