Commit 0db74df8 authored by Tobias Thierer's avatar Tobias Thierer
Browse files

Migrate libcore code to new classes libcore.util.Mutable{Int,Long}.

This is the second attempt to submit this CL. The first time this
CL was submitted [1], it was missing a corresponding change in
libnativehelper and was therefore reverted [2].

[1] commit bb1ca695
    at http://r.android.com/515035
[2] commit 3e06dd18
    at https://r.android.com/517995/

Original commit message follows:
=== cut ===

The new classes are the libcore-internal versions of the
corresponding classes in android.util.

This CL migrates libcore code to use these classes instead.
The only exception are android.system.Os's static method
signatures which continue to use android.util.Mutable{Int,Long}
since those signatures are part of the Android API. The
implementation of those methods converts between those
types and the libcore-internal ones.

This further reduces the dependency of libcore code onto
android.* packages.

Test: Treehugger
Bug: 67901714
Change-Id: Ic06e9824098984a2807adef8d5c257f6b0465a63
parent f25e7a8c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment