summaryrefslogtreecommitdiffstats
path: root/tests/GadgetHost/src/com/android/gadgethost/GadgetHostActivity.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/GadgetHost/src/com/android/gadgethost/GadgetHostActivity.java')
-rw-r--r--tests/GadgetHost/src/com/android/gadgethost/GadgetHostActivity.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/GadgetHost/src/com/android/gadgethost/GadgetHostActivity.java b/tests/GadgetHost/src/com/android/gadgethost/GadgetHostActivity.java
index 323141e..38073fa 100644
--- a/tests/GadgetHost/src/com/android/gadgethost/GadgetHostActivity.java
+++ b/tests/GadgetHost/src/com/android/gadgethost/GadgetHostActivity.java
@@ -81,9 +81,6 @@ public class GadgetHostActivity extends Activity
}
void addGadgetView(int gadgetId, GadgetInfo gadget) {
- // TODO: Remove this hard-coded value when the GadgetInfo is real.
- gadget.initialLayout = R.layout.test_gadget;
-
// Inflate the gadget's RemoteViews
GadgetHostView view = mHost.createView(this, gadgetId, gadget);