1c7e3c76d6965f520a9651d309052c5f01726cd58Bobby Georgescu/* 2c7e3c76d6965f520a9651d309052c5f01726cd58Bobby Georgescu * Copyright (C) 2012 The Android Open Source Project 3c7e3c76d6965f520a9651d309052c5f01726cd58Bobby Georgescu * 4c7e3c76d6965f520a9651d309052c5f01726cd58Bobby Georgescu * Licensed under the Apache License, Version 2.0 (the "License"); 5c7e3c76d6965f520a9651d309052c5f01726cd58Bobby Georgescu * you may not use this file except in compliance with the License. 6c7e3c76d6965f520a9651d309052c5f01726cd58Bobby Georgescu * You may obtain a copy of the License at 7c7e3c76d6965f520a9651d309052c5f01726cd58Bobby Georgescu * 8c7e3c76d6965f520a9651d309052c5f01726cd58Bobby Georgescu * http://www.apache.org/licenses/LICENSE-2.0 9c7e3c76d6965f520a9651d309052c5f01726cd58Bobby Georgescu * 10c7e3c76d6965f520a9651d309052c5f01726cd58Bobby Georgescu * Unless required by applicable law or agreed to in writing, software 11c7e3c76d6965f520a9651d309052c5f01726cd58Bobby Georgescu * distributed under the License is distributed on an "AS IS" BASIS, 12c7e3c76d6965f520a9651d309052c5f01726cd58Bobby Georgescu * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13c7e3c76d6965f520a9651d309052c5f01726cd58Bobby Georgescu * See the License for the specific language governing permissions and 14c7e3c76d6965f520a9651d309052c5f01726cd58Bobby Georgescu * limitations under the License. 15c7e3c76d6965f520a9651d309052c5f01726cd58Bobby Georgescu */ 16c7e3c76d6965f520a9651d309052c5f01726cd58Bobby Georgescu 17c7e3c76d6965f520a9651d309052c5f01726cd58Bobby Georgescupackage com.android.gallery3d.data; 18c7e3c76d6965f520a9651d309052c5f01726cd58Bobby Georgescu 19c7e3c76d6965f520a9651d309052c5f01726cd58Bobby Georgescuimport com.android.gallery3d.R; 20c7e3c76d6965f520a9651d309052c5f01726cd58Bobby Georgescuimport com.android.gallery3d.app.GalleryApp; 21c7e3c76d6965f520a9651d309052c5f01726cd58Bobby Georgescu 22c7e3c76d6965f520a9651d309052c5f01726cd58Bobby Georgescupublic class EmptyAlbumImage extends ActionImage { 23c7e3c76d6965f520a9651d309052c5f01726cd58Bobby Georgescu @SuppressWarnings("unused") 24c7e3c76d6965f520a9651d309052c5f01726cd58Bobby Georgescu private static final String TAG = "EmptyAlbumImage"; 25c7e3c76d6965f520a9651d309052c5f01726cd58Bobby Georgescu 26c7e3c76d6965f520a9651d309052c5f01726cd58Bobby Georgescu public EmptyAlbumImage(Path path, GalleryApp application) { 27856ab5b77b39e4acf454a957f08eba7cc86ae0fcBobby Georgescu super(path, application, R.drawable.placeholder_empty); 28c7e3c76d6965f520a9651d309052c5f01726cd58Bobby Georgescu } 29c7e3c76d6965f520a9651d309052c5f01726cd58Bobby Georgescu 30c7e3c76d6965f520a9651d309052c5f01726cd58Bobby Georgescu @Override 31c7e3c76d6965f520a9651d309052c5f01726cd58Bobby Georgescu public int getSupportedOperations() { 32c7e3c76d6965f520a9651d309052c5f01726cd58Bobby Georgescu return super.getSupportedOperations() | SUPPORT_BACK; 33c7e3c76d6965f520a9651d309052c5f01726cd58Bobby Georgescu } 34c7e3c76d6965f520a9651d309052c5f01726cd58Bobby Georgescu} 35