Loading res/drawable/root_item_background.xml +1 −1 Original line number Diff line number Diff line Loading @@ -26,7 +26,7 @@ <selector> <item app:state_highlighted="true" android:drawable="@color/item_doc_background_selected"/> android:drawable="@color/root_hover_color"/> <item app:state_highlighted="false" android:drawable="@android:color/transparent"/> Loading res/drawable/root_list_selector.xml +1 −1 Original line number Diff line number Diff line Loading @@ -19,7 +19,7 @@ <item android:state_focused="true" android:state_pressed="false"> <color android:color="?attr/colorControlHighlight" /> <color android:color="@color/root_focus_color" /> </item> </selector> No newline at end of file res/values/colors.xml +2 −0 Original line number Diff line number Diff line Loading @@ -35,6 +35,8 @@ <color name="root_title_color">#de000000</color> <color name="root_activated_color">@*android:color/Blue_700</color> <color name="root_details_color">#8a000000</color> <color name="root_focus_color">#ffe0e0e0</color> <color name="root_hover_color">#ffe0e0e0</color> <color name="sort_widget_text_color">#de000000</color> Loading src/com/android/documentsui/files/ActionHandler.java +4 −0 Original line number Diff line number Diff line Loading @@ -112,6 +112,10 @@ public class ActionHandler<T extends Activity & Addons> extends AbstractActionHa @Override public boolean dropOn(DragEvent event, RootInfo root) { if (!root.supportsCreate() || root.isLibrary()) { return false; } // DragEvent gets recycled, so it is possible that by the time the callback is called, // event.getLocalState() and event.getClipData() returns null. Thus, we want to save // references to ensure they are non null. Loading src/com/android/documentsui/sidebar/RootItem.java +1 −1 Original line number Diff line number Diff line Loading @@ -97,7 +97,7 @@ class RootItem extends Item { @Override boolean isDropTarget() { return root.supportsCreate() && !root.isLibrary(); return true; } @Override Loading Loading
res/drawable/root_item_background.xml +1 −1 Original line number Diff line number Diff line Loading @@ -26,7 +26,7 @@ <selector> <item app:state_highlighted="true" android:drawable="@color/item_doc_background_selected"/> android:drawable="@color/root_hover_color"/> <item app:state_highlighted="false" android:drawable="@android:color/transparent"/> Loading
res/drawable/root_list_selector.xml +1 −1 Original line number Diff line number Diff line Loading @@ -19,7 +19,7 @@ <item android:state_focused="true" android:state_pressed="false"> <color android:color="?attr/colorControlHighlight" /> <color android:color="@color/root_focus_color" /> </item> </selector> No newline at end of file
res/values/colors.xml +2 −0 Original line number Diff line number Diff line Loading @@ -35,6 +35,8 @@ <color name="root_title_color">#de000000</color> <color name="root_activated_color">@*android:color/Blue_700</color> <color name="root_details_color">#8a000000</color> <color name="root_focus_color">#ffe0e0e0</color> <color name="root_hover_color">#ffe0e0e0</color> <color name="sort_widget_text_color">#de000000</color> Loading
src/com/android/documentsui/files/ActionHandler.java +4 −0 Original line number Diff line number Diff line Loading @@ -112,6 +112,10 @@ public class ActionHandler<T extends Activity & Addons> extends AbstractActionHa @Override public boolean dropOn(DragEvent event, RootInfo root) { if (!root.supportsCreate() || root.isLibrary()) { return false; } // DragEvent gets recycled, so it is possible that by the time the callback is called, // event.getLocalState() and event.getClipData() returns null. Thus, we want to save // references to ensure they are non null. Loading
src/com/android/documentsui/sidebar/RootItem.java +1 −1 Original line number Diff line number Diff line Loading @@ -97,7 +97,7 @@ class RootItem extends Item { @Override boolean isDropTarget() { return root.supportsCreate() && !root.isLibrary(); return true; } @Override Loading