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

Commit a3e4e7fa authored by Elliott Hughes's avatar Elliott Hughes Committed by android-build-merger
Browse files

Merge "Guard AConfiguration_getScreenRound."

am: f8619295

Change-Id: I5f818195ab60b6ce3fb7a45d00c10feb5624ad09
parents d22a6991 f8619295
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -645,10 +645,14 @@ int32_t AConfiguration_getScreenLong(AConfiguration* config);
 */
void AConfiguration_setScreenLong(AConfiguration* config, int32_t screenLong);

#if __ANDROID_API__ >= 30
/**
 * Return the current ACONFIGURATION_SCREENROUND_* set in the configuration.
 *
 * Available since API level 30.
 */
int32_t AConfiguration_getScreenRound(AConfiguration* config);
int32_t AConfiguration_getScreenRound(AConfiguration* config) __INTRODUCED_IN(30);
#endif

/**
 * Set the current screen round in the configuration.