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

Commit ec767efb authored by Mao Jinlong's avatar Mao Jinlong Committed by Linux Build Service Account
Browse files

Remove LOCAL_SDK_VERSION definition to use hidden API

Remove LOCAL_SDK_VERSION definition to use the hidden alarm type
RTC_POWEROFF_WAKEUP in DeskClock.

Change-Id: I3e3ebc2a1be75eddf6980915b598d2a9523dfd61
parent b26ef356
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -12,7 +12,7 @@ LOCAL_PACKAGE_NAME := DeskClock

LOCAL_OVERRIDES_PACKAGES := AlarmClock

LOCAL_SDK_VERSION := current
# LOCAL_SDK_VERSION := current

LOCAL_PROGUARD_FLAG_FILES := proguard.flags

+1 −1
Original line number Diff line number Diff line
@@ -426,7 +426,7 @@ public class StaggeredGridView extends ViewGroup {
     * @return boolean Boolean indicating whether the currently locale is RTL.
     */
    @SuppressLint("NewApi")
    private boolean isLayoutRtl() {
    public boolean isLayoutRtl() {
        if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.JELLY_BEAN_MR1) {
            return View.LAYOUT_DIRECTION_RTL == getLayoutDirection();
        } else {