Launcher2(AOSP Launcher)をAndroid 4.1.1デバイス(Branch jb-release; APIレベル16)用のスタンドアロンデータアプリ(システムではない)にしたいです。
スタンドアロンにするために何を変更すればよいかについてのリソースが見つからないため、自分で試してみました。誰かが私がそれをするのを手伝ってくれることを願っています(エラーリストについては以下のリストを参照してください)。
ソースコードはここにあります:https ://android.googlesource.com/platform/packages/apps/Launcher2/+/jb-release/src/com/android/launcher2
AppsCustomizedPagedView.java:
The import android.graphics.Insets cannot be resolved
The import android.graphics.TableMaskFilter cannot be resolved
どちらもによるものだと思い@Hide
ます。ここで回避策または良い解決策はありますか?
Cling.java:
The method findViewToTakeAccessibilityFocusFromHover(View, View) of type Cling must override or implement a supertype method (Class Cling extends android.widget.FrameLayout)
The method includeForAccessibility() is undefined for the type View
HolographicOutlineHelper.java:
The import android.graphics.TableMaskFilter cannot be resolved
AppsCustomizedPagedView.javaと同じ(@Hide
)
Launcher.java:
The import android.os.SystemProperties cannot be resolved
The import com.android.common cannot be resolved
The method clearAllAnimations() is undefined for the type ValueAnimator
The method startSearch(String, boolean, ComponentName, Bundle, boolean) in the type SearchManager is not applicable for the arguments (String, boolean, ComponentName, Bundle, boolean, Rect)
SystemProperties cannot be resolved
The method requestAccessibilityFocus() is undefined for the type Cling
PagedViewWidgetImageView.java:
The import android.graphics.Insets cannot be resolved
The method getLayoutInsets() is undefined for the type Drawable
RocketLauncher.java:
The import android.support cannot be resolved
The constructor RocketLauncher.Board(RocketLauncher, null) is undefined
SearchDropTargetBar.java:
The method getCompatibilityInfo() is undefined for the type Resources
Utilities.java:
The import android.graphics.TableMaskFilter cannot be resolved
Workspace.java:
The method getRealMetrics(DisplayMetrics) is undefined for the type Display
The method setChildrenLayersEnabled(boolean) is undefined for the type ViewGroup