Merge "Create WebView using Activity context"
This commit is contained in:
committed by
Android (Google) Code Review
commit
13ed2e29c6
@@ -85,7 +85,7 @@ public class SliceStoreActivity extends Activity {
|
||||
|
||||
SliceStoreBroadcastReceiver.updateSliceStoreActivity(mCapability, this);
|
||||
|
||||
mWebView = new WebView(getApplicationContext());
|
||||
mWebView = new WebView(this);
|
||||
setContentView(mWebView);
|
||||
mWebView.loadUrl(mUrl.toString());
|
||||
// TODO(b/245882601): Get back response from WebView
|
||||
|
||||
Reference in New Issue
Block a user