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

Commit b7e6bb14 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Suppress warning on the use of deprecated APIs" am: 6adc1b3a am: 22e1864e am: 0c1aaf22

Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1425363

Change-Id: Iff8716df4086203ac2a6d4b5e92fe8589cbb4058
parents 3cbfe2cc 0c1aaf22
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -443,12 +443,18 @@ AChoreographer* AChoreographer_routeGetInstance() {
}
void AChoreographer_routePostFrameCallback(AChoreographer* choreographer,
                                           AChoreographer_frameCallback callback, void* data) {
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
    return AChoreographer_postFrameCallback(choreographer, callback, data);
#pragma clang diagnostic pop
}
void AChoreographer_routePostFrameCallbackDelayed(AChoreographer* choreographer,
                                                  AChoreographer_frameCallback callback, void* data,
                                                  long delayMillis) {
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
    return AChoreographer_postFrameCallbackDelayed(choreographer, callback, data, delayMillis);
#pragma clang diagnostic pop
}
void AChoreographer_routePostFrameCallback64(AChoreographer* choreographer,
                                             AChoreographer_frameCallback64 callback, void* data) {