a278962dbc545f69ca3712159d438f2e50dab0a5 |
|
23-Mar-2017 |
Fan Zhang <zhfan@google.com> |
Refactor DefaultAppPicker to a general radio button picker Bug: 36557316 Test: make RunSettingsRoboTests Change-Id: I52985e527e55697cf29f8d97d775d4bbed025beb
/packages/apps/Settings/src/com/android/settings/webview/WebViewAppPicker.java
|
75f0b1b2e43881a19802362763e28b0f693ae724 |
|
10-Mar-2017 |
Gustav Sennton <gsennton@google.com> |
WebView implementation Dev setting: Show the version number after name Show the package version of each WebView implementation after their package name in the WebView Implementation Dev Setting. Showing a package version is useful for debugging purposes. Bug: 35621558 Test: run make RunSettingsRoboTests Test: Ensure package version is shown in titles of items in WebView Implementation Dev Setting. Change-Id: If195dd87aebeac1783600b7c9f376ff8e791c3be
/packages/apps/Settings/src/com/android/settings/webview/WebViewAppPicker.java
|
3c89d8e2cfe5bc338f3e285945b6836cd2f69b05 |
|
23-Feb-2017 |
Gustav Sennton <gsennton@google.com> |
Fix disabled WebView packages being shown as enabled in Dev Setting. WebView packages that cannot be chosen as WebView implementation should be shown as disabled in the 'WebView Implementation' Dev Setting. Simplify the logic in DefaultAppInfo a little bit to avoid special-casing for the WebView Dev setting. Also add tests to ensure we are correctly disabling WebView packages in the Dev setting and showing their disabled-reasons. Bug: 35707106 Test: 'make RunSettingsRoboTests' Test: Ensure disabled WebView packages show up as being disabled in the 'WebView Implementation' Dev Setting. Change-Id: Ic2f5265c3451b6396e55b7bc29689c3d889ddb5e
/packages/apps/Settings/src/com/android/settings/webview/WebViewAppPicker.java
|
5b596285a04c503b52278a54389d2034f83f85b4 |
|
03-Feb-2017 |
Gustav Sennton <gsennton@google.com> |
Have WebView Implementation Dev Setting use DefaultAppPickerFragment. Make the WebView Implementation Dev Setting look like the fullscreen settings deriving from DefaultAppPickerFragment. Point the Activity opened through Settings.ACTION_WEBVIEW_SETTINGS to the class WebViewAppPicker which is our new implementation of the WebView Implementation setting. Ensure the new setting closes if it is reached from a user that isn't an admin of the device. Bug: 34806477 Bug: 34966439 Test: Ensure WebView implementation Dev Setting looks ok (disabled packages should have a text showing why they cannot be chosen). Test: Start Intent with action Settings.ACTION_WEBVIEW_SETTINGS and ensure the started Activity looks similar to the WebView Implementation Dev Setting. Test: Ensure picking a package that is no longer active, updates the setting (so that package isn't visible anymore). Change-Id: I08007c515193739ad61dfd735bb5130fc07bd6e6
/packages/apps/Settings/src/com/android/settings/webview/WebViewAppPicker.java
|
4d3334c50b07c60c137085a35a8fb670eabd2aca |
|
13-Dec-2016 |
Gustav Sennton <gsennton@google.com> |
Update WebView implementation Dev Setting - new looks + descriptions. Now that we are changing the WebView package mechanism so that a package can only be used as WebView implementation if that package is enabled for all users of the device we need to tell the user why a package can't be chosen as WebView implementation. With this CL we do so in the 'Set WebView Implementation' Developer Setting. We code for the WebView implementation Developer Setting is now based on the same code as that of the Debug App Developer Setting. Bug: 32894154 Test: Ensure WebView Implementation setting shows correct packages. Test: Ensure WebView Implementation setting shows correct descriptions for why a package is not usable - including the case where packages are disabled/uninstalled for a second user. Test: Ensure the summary for the WebView Implmentation setting is updated after changing WebView package. Test: Ensure the WebView package Activity (Settings.ACTION_WEBVIEW_SETTINGS) is similar to the Dev Setting. Test: ensure non-admin user cannot start WV-picker activity through 'adb shell am start -n com.android.settings/.WebViewImplementation' Change-Id: Ia6e6e9e12ce8f8f45ec539807cd0c6479acb8ecb
/packages/apps/Settings/src/com/android/settings/webview/WebViewAppPicker.java
|