summaryrefslogtreecommitdiff
path: root/core/java/android/os/TimestampedValue.java
Commit message (Collapse)AuthorAgeFilesLines
* Add @Nullable annotation to the parameter of Object.equals() methods.Roman Kalukiewicz2020-10-151-1/+1
| | | | | | | | | | | | | | | | | | Those annotations could be inferred by some tools (like Kotlin), but the https://checkerframework.org/ doesn't check inherited annotations complaining about all equals() invocations that get nullable argument. The change was generated by running find . -name \*.java | xargs sed -i 's/public boolean equals(Object /public boolean equals(@Nullable Object /' in the frameworks/base directory and by automatically adding and formatting required imports if needed. No manual edits. Bug: 170883422 Test: Annotation change only. Should have not impact. Exempt-From-Owner-Approval: Mechanical change not specific to any component. Change-Id: I5eedb571c9d78862115dfdc5dae1cf2a35343580
* Remove System APIs not required for RNeil Fuller2020-02-041-3/+0
| | | | | | Test: treehugger Bug: 148842434 Change-Id: If022a726a058a90cb5446d220628c76800da8e96
* Expose time / time zone system apis for telephonyNeil Fuller2020-01-131-1/+12
| | | | | | | | | | | Expose system apis / permissions needed by the telephony module to communicate with the system server for time and time zone detection. There are also small improvements for @Nullable. Bug: 147012511 Test: build only Change-Id: I27e5aa4c594d5fbad0b6f043afb9e910dcba4349
* Rename android.util.TimestampedValue to android.osNeil Fuller2020-01-081-0/+121
Rename android.util.TimestampedValue to android.os to avoid dependency from android.util onto android.os, which is disallowed by lint. Bug: 147012511 Test: boot Change-Id: I4b84db03c8ad24bbef63e45d6d15fb306a10364e