OSDN Git Service
Fan Zhang [Mon, 10 Apr 2017 23:26:42 +0000 (16:26 -0700)]
Revert "Revert "Convert BT preference to use TwoTargetPreference""
This reverts commit
457c3cbec2cf38a671a101e9c9426b318aff1564.
Revert with fix/test.
The fix is that we removed DevicePickerFragment#initDevicePreference(),
which incorrectly set a useless widget on preference, and removes the
gear icon from preference, preventing bind() call to go through
Change-Id: Ia70cdb51d13cca6035a4e7fe8008d195f7f00c6e
Fix:
36511169
Test: runtest --path tests/app/src/com/android/settings/bluetooth/DevicePickerActivityTest.java
Fan Zhang [Mon, 10 Apr 2017 22:42:00 +0000 (15:42 -0700)]
Update string char limits
Fix:
36852178
Fix:
36851715
Fix:
36657781
Fix:
36700992
Fix:
36650008
Fix:
36657636
Test: builds and robotests
Change-Id: I14c21b2cb37b911c14dff40343fa094d7150f201
TreeHugger Robot [Tue, 11 Apr 2017 15:44:29 +0000 (15:44 +0000)]
Merge "Add "Current screen saver" string" into oc-dev
Doris Ling [Tue, 11 Apr 2017 15:24:43 +0000 (15:24 +0000)]
Merge "Update text for security preference." into oc-dev
TreeHugger Robot [Tue, 11 Apr 2017 07:22:51 +0000 (07:22 +0000)]
Merge "Allow user to specify EAP-SIM under PEAP" into oc-dev
TreeHugger Robot [Tue, 11 Apr 2017 01:24:08 +0000 (01:24 +0000)]
Merge "Remove Night Light suggestion. DO NOT MERGE" into oc-dev
TreeHugger Robot [Mon, 10 Apr 2017 23:54:54 +0000 (23:54 +0000)]
Merge "Reindex on OTA and locale change" into oc-dev
Sean Stout [Mon, 10 Apr 2017 22:31:25 +0000 (15:31 -0700)]
Remove Night Light suggestion. DO NOT MERGE
Test: make ROBOTEST_FILTER=SettingsSuggestionsTest RunSettingsRoboTests
Bug:
37207263
Change-Id: Ieeb660abdcbe07cb66f1ae3b6e86d8fd27a26478
Doris Ling [Mon, 10 Apr 2017 22:21:18 +0000 (15:21 -0700)]
Update text for security preference.
Swap location to screen lock in title and summary.
Bug:
37161482
Test: builds
Change-Id: Ie95f1d8c984587bf3898a431edde0868b0e17fce
Matthew Fritze [Mon, 3 Apr 2017 18:35:48 +0000 (11:35 -0700)]
Reindex on OTA and locale change
When the user gets an OTA or changes language, settings
will clear the database and reindex it.
Test: make RunSettingsRoboTests
Change-Id: I379ece86b2d41d673bbbffbcf947774f3ccd4cb9
Fixes:
36859162
Evan Laird [Mon, 10 Apr 2017 20:31:06 +0000 (16:31 -0400)]
Add "Current screen saver" string
This one was missed originally.
Test: none
Bug:
35031991
Change-Id: I9b1bff9a9c834c306fe03e4405950bc1ac3ac3ac
Garfield Tan [Mon, 10 Apr 2017 20:24:19 +0000 (20:24 +0000)]
Merge "Fix the intent to launch storage details." into oc-dev
Daniel Nishi [Mon, 10 Apr 2017 17:27:24 +0000 (17:27 +0000)]
Merge "Add user icon to the other user preferences." into oc-dev
Lei Yu [Mon, 10 Apr 2017 17:06:44 +0000 (17:06 +0000)]
Merge "Add log for BatteryUtils" into oc-dev
TreeHugger Robot [Sat, 8 Apr 2017 08:06:36 +0000 (08:06 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
Garfield Tan [Sat, 8 Apr 2017 01:42:32 +0000 (18:42 -0700)]
Fix the intent to launch storage details.
Test: Manual tests & robo tests.
Bug:
37164357
Change-Id: Ia73a6286edadb9c9e1691dcc0c9e391ce2981dee
Daniel Nishi [Fri, 24 Mar 2017 19:23:27 +0000 (12:23 -0700)]
Add user icon to the other user preferences.
This icon is loaded in the background to avoid doing IO on
the main thread. Once we know there are more users and also
have the icon loaded, we add the category to the view.
Fixes:
36252572
Test: Robotest
Change-Id: Ib50287bb7ed323f22fbe407b56be1bf2fe98f121
Lei Yu [Fri, 7 Apr 2017 21:03:15 +0000 (21:03 +0000)]
Merge "Extend the translation limit to 60" into oc-dev
TreeHugger Robot [Fri, 7 Apr 2017 20:55:10 +0000 (20:55 +0000)]
Merge "renaming/removing fingerprints should be reflected in UI immediately" into oc-dev
TreeHugger Robot [Fri, 7 Apr 2017 20:03:35 +0000 (20:03 +0000)]
Merge "Add summary text to Lock screen preferences." into oc-dev
TreeHugger Robot [Fri, 7 Apr 2017 19:55:53 +0000 (19:55 +0000)]
Merge "Increase char limit for adaptive brightness text." into oc-dev
Daniel Nishi [Fri, 7 Apr 2017 19:38:26 +0000 (19:38 +0000)]
Merge "Update the automatic storage management preferences." into oc-dev
Kevin Chyn [Thu, 6 Apr 2017 18:11:57 +0000 (11:11 -0700)]
renaming/removing fingerprints should be reflected in UI immediately
Fixes
30252265
Test: manual
Change-Id: I5b1bcfff6a6a9ae407db6084562d0244cc5c45c2
jackqdyulei [Wed, 5 Apr 2017 22:21:36 +0000 (15:21 -0700)]
Add log for BatteryUtils
This cl add logs to get more data for app usage time.
Also refactor BatteryUtils to singleton pattern because we need
to extract package name from uid.
Bug:
36909166
Test: RunSettingsRoboTests
Change-Id: I6ede354035c46e46cb856b7cf57bd1b7ccbd6d4f
Doris Ling [Thu, 6 Apr 2017 23:01:37 +0000 (16:01 -0700)]
Add summary text to Lock screen preferences.
Each time we refresh the security preference page, get the current
summary text from "On the lock screen" and populate to Lock screen
preferences summary.
Bug:
36540633
Test: make RunSettingsRoboTests
Change-Id: I317e3892b35b30981b62f7b7aee9cfdacd04a3ed
Lei Yu [Fri, 7 Apr 2017 17:37:17 +0000 (17:37 +0000)]
Merge "Remove misc data in battery main page." into oc-dev
jackqdyulei [Fri, 7 Apr 2017 17:29:58 +0000 (10:29 -0700)]
Extend the translation limit to 60
Bug:
36830908
Test: Build
Change-Id: Ib7664ac4e625701d928359104ef5e75d158e74ee
Paul Stewart [Thu, 26 Jan 2017 04:54:27 +0000 (20:54 -0800)]
Allow user to specify EAP-SIM under PEAP
Allow the user to select EAP-SIM methods as a second phase after
an outer PEAP authentication. This hides the "identity" and
"password" fields if one of these methods is selected.
Bug:
34835771
Test: Manual: Connect to PEAP/EAP-SIM AP
Change-Id: I7e448fbebd352a4b0facbfafa74afaff6b704386
Andrew Sapperstein [Thu, 6 Apr 2017 19:46:00 +0000 (12:46 -0700)]
Increase char limit for adaptive brightness text.
Change-Id: I4bab996d94812cf9a2a148ef3dc1119c5dab7a8e
Fixes:
37014409
Test: string change
Bill Yi [Fri, 7 Apr 2017 16:27:04 +0000 (09:27 -0700)]
Import translations. DO NOT MERGE
Change-Id: Ibe3f320c6df848eea67091636daf2edeab020c51
Auto-generated-cl: translation import
Filip Pavlis [Fri, 7 Apr 2017 10:31:39 +0000 (10:31 +0000)]
Merge "Omit using ctor of PreferenceViewHolder in tests." into oc-dev
TreeHugger Robot [Fri, 7 Apr 2017 05:47:32 +0000 (05:47 +0000)]
Merge "Don't enable a11y service if scary dialog obscured" into oc-dev
TreeHugger Robot [Fri, 7 Apr 2017 04:47:59 +0000 (04:47 +0000)]
Merge "Don't crash if we get a onRemove() callback from Fingerprint" into oc-dev
TreeHugger Robot [Fri, 7 Apr 2017 02:40:12 +0000 (02:40 +0000)]
Merge "Add summary text for Encryption & credential." into oc-dev
TreeHugger Robot [Fri, 7 Apr 2017 02:28:46 +0000 (02:28 +0000)]
Merge "Add test to verify no crash on selecting brightness level." into oc-dev
TreeHugger Robot [Fri, 7 Apr 2017 02:27:54 +0000 (02:27 +0000)]
Merge "Update USb preference controller to use the new summary texts." into oc-dev
TreeHugger Robot [Fri, 7 Apr 2017 02:09:35 +0000 (02:09 +0000)]
Merge "Update summary text for Trust agent." into oc-dev
TreeHugger Robot [Fri, 7 Apr 2017 01:41:50 +0000 (01:41 +0000)]
Merge "Add subtext to Default apps." into oc-dev
Lei Yu [Fri, 7 Apr 2017 01:34:36 +0000 (01:34 +0000)]
Merge "Remove PowerUsageDetail.java" into oc-dev
Jim Miller [Fri, 7 Apr 2017 01:08:10 +0000 (18:08 -0700)]
Don't crash if we get a onRemove() callback from Fingerprint
Before this fix, it was possible to get a callback after the activity
finishes. This just ensures the operation is a no-op.
Fixes bug
37106041
Test: remove all but last fingerprint and hit back while rotating; check that
Settings doesn't crash.
Change-Id: I99df4f7c06e345d1ed6041a75606b0cc43edb300
TreeHugger Robot [Fri, 7 Apr 2017 00:42:04 +0000 (00:42 +0000)]
Merge "Bluetooth: only unregisterReceiver if we register" into oc-dev
Doris Ling [Thu, 6 Apr 2017 21:22:18 +0000 (14:22 -0700)]
Update summary text for Trust agent.
Update the summary text to show the number of active trust agent.
Bug:
36540633
Test: make RunSettingsRoboTests
Change-Id: I6627564a8356022c89694c84cfd47e875a0916b1
Doris Ling [Wed, 5 Apr 2017 23:03:02 +0000 (16:03 -0700)]
Add subtext to Default apps.
Retrieve the default Sms app, default Browser app, and default Phone app
and append the label together to form the summary text for Default apps
settings.
Bug:
36376411
Test: make RunSettingsRoboTests
Change-Id: I8ccf71dde43bba04c4bc4a900c9a181513e7710b
Doris Ling [Thu, 6 Apr 2017 23:31:02 +0000 (16:31 -0700)]
Add summary text for Encryption & credential.
Add the static summary to the preference in the xml.
Bug:
36540633
Test: visual
Change-Id: Ie1bb01a42acf969e26c3c9b036d2db68d1817e97
Daniel Nishi [Thu, 6 Apr 2017 23:19:17 +0000 (23:19 +0000)]
Merge ""% used" instead of "% full" in storage donut." into oc-dev
Daniel Nishi [Thu, 6 Apr 2017 22:49:23 +0000 (22:49 +0000)]
Merge "Re-add the option to migrate data back." into oc-dev
TreeHugger Robot [Thu, 6 Apr 2017 22:25:55 +0000 (22:25 +0000)]
Merge "Update foreground string in battery page" into oc-dev
Doris Ling [Thu, 6 Apr 2017 22:10:29 +0000 (15:10 -0700)]
Add test to verify no crash on selecting brightness level.
Add UI test to launch Settings->Display->Brightness level and Settings
app does not crash.
Change-Id: I526f44961bd0efbcacde334affbe2b7a93da0ce3
Fix:
36647069
Test: make SettingsTests
jackqdyulei [Tue, 4 Apr 2017 20:04:36 +0000 (13:04 -0700)]
Remove misc data in battery main page.
The removed types are:
1. DrainType.UNACCOUNTED
2. DrainType.OVERCOUNTED
This cl removes the above types in PowerUsageSummary and
PowerUsageAdvanced
Bug:
36874846
Test: RunSettingsRoboTests
Change-Id: I1807c44a2c0a9c2fa124cdef962a6411ae6830ca
TreeHugger Robot [Thu, 6 Apr 2017 21:50:06 +0000 (21:50 +0000)]
Merge "Fix crash when clicking item in Battery screen" into oc-dev
TreeHugger Robot [Thu, 6 Apr 2017 21:44:10 +0000 (21:44 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
Daniel Nishi [Thu, 2 Mar 2017 23:58:23 +0000 (15:58 -0800)]
Re-add the option to migrate data back.
Currently, users can use an SD card or USB drive and adopt it as
internal storage using existing flows. They can manage this drive
perfectly fine using the old storage screen, which is still around.
One functionality that was lost was the ability to migrate data from
the adopted drive back to the private internal storage. This appeared
in a dropdown in the old storage settings.
By duplicating the code to create just that specific menu item and its
click behavior, we can restore this functionality to the new storage
view.
Change-Id: Id0e01c560e7249acccfe86c5da44466dd58fe5d4
Merged-In: I4b8c06912d2c0b2c5be5bce8b217d45accf34d4b
Fixes:
35926028
Test: Settings Robotest
Doris Ling [Thu, 6 Apr 2017 20:03:23 +0000 (20:03 +0000)]
Merge "Add summary text to Display->Brightness level." into oc-dev
jackqdyulei [Thu, 6 Apr 2017 19:48:52 +0000 (12:48 -0700)]
Fix crash when clicking item in Battery screen
"last full charge/Screen usage since full charge" goes crash when
clicking on it. This is because The default behaviour for
PowerGaugePreference is to start detail page and the above two items
are PowerGaugePreference.
This cl set these two items as non-selectable.
Bug:
37080048
Test: make -j40 SettingsTest
Change-Id: Ide4e151dcd0b44fb795a5753c91f2197b2a24a56
Bill Yi [Thu, 6 Apr 2017 19:36:34 +0000 (12:36 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
36981734
Change-Id: I2d0ef02f962fd737c6269feb97dc9ca9336671a5
Doris Ling [Thu, 6 Apr 2017 18:35:52 +0000 (18:35 +0000)]
Merge "Update summary for Connected devices->Printing." into oc-dev
Doris Ling [Thu, 6 Apr 2017 17:04:44 +0000 (17:04 +0000)]
Merge "Update Wifi off summary text." into oc-dev
Doris Ling [Thu, 6 Apr 2017 17:01:45 +0000 (17:01 +0000)]
Merge "Re-order the display settings items." into oc-dev
Christine Franks [Thu, 6 Apr 2017 16:47:52 +0000 (16:47 +0000)]
Merge "Prevent apps from displaying over Settings" into oc-dev
Marie Janssen [Thu, 23 Mar 2017 21:36:45 +0000 (14:36 -0700)]
Bluetooth: only unregisterReceiver if we register
We can get to onDestroy() without registering now.
Test: none
Fixes:
36501241
Change-Id: I90da3b350f9951993238d51f9fde86ccb335cafd
(cherry picked from commit
af34ed06f1b4b3734d883c7398b713b20585e1bd)
TreeHugger Robot [Thu, 6 Apr 2017 01:41:42 +0000 (01:41 +0000)]
Merge "Link to "scanning settings" when Wi-Fi is off." into oc-dev
TreeHugger Robot [Thu, 6 Apr 2017 01:41:27 +0000 (01:41 +0000)]
Merge "Update saved networks screen after forget." into oc-dev
TreeHugger Robot [Thu, 6 Apr 2017 01:25:06 +0000 (01:25 +0000)]
Merge "Add resource string for Security dashboard summary." into oc-dev
Christine Franks [Wed, 15 Mar 2017 22:13:44 +0000 (15:13 -0700)]
Prevent apps from displaying over Settings
Specifically, the DrawOverlayDetails fragment only.
Bug:
36070413
Test: make RunSettingsRoboTests -j100
Change-Id: I0069f0cacf8c963c8c6878dc89a32b205983a568
TreeHugger Robot [Wed, 5 Apr 2017 22:45:46 +0000 (22:45 +0000)]
Merge "Fix crash when opening battery page" into oc-dev
TreeHugger Robot [Wed, 5 Apr 2017 22:13:00 +0000 (22:13 +0000)]
Merge "Ui changes in battery main page" into oc-dev
Daniel Nishi [Wed, 5 Apr 2017 22:06:55 +0000 (22:06 +0000)]
Merge "Lower case the first letter of storage type." into oc-dev
TreeHugger Robot [Wed, 5 Apr 2017 21:27:36 +0000 (21:27 +0000)]
Merge "Create Espresso test class for WifiSettings." into oc-dev
TreeHugger Robot [Wed, 5 Apr 2017 21:20:09 +0000 (21:20 +0000)]
Merge "wifi: allow manual connection to a Passpoint provided network" into oc-dev
jackqdyulei [Wed, 5 Apr 2017 21:20:06 +0000 (14:20 -0700)]
Remove PowerUsageDetail.java
Now we use AdvancedPowerUsageDetail instead.
This cl also:
1. Remove PowerUsageDetail in SearchIndexableResources since we
don't want to index PowerUsageDetail
2. Add AdvancedPowerUsageDetail in SettingsGateway
Bug:
36992358
Test: Build
Change-Id: I598bb159aa2b5a4889071ae9a17d29554e6afe11
jackqdyulei [Fri, 31 Mar 2017 21:26:38 +0000 (14:26 -0700)]
Fix crash when opening battery page
The settings crashes when opening battery usage detail page from
installed app page. Main reason is that it trying to open obsolete
page. This cl directs it to open AdvancedPowerUsageDetail instead.
Following cl will make InstalledAppDetail show calibrated percentage,
which is trakced in b/
36816681
Bug:
36792973
Test: RunSettingsRoboTests
Change-Id: Ie63e64e543ed3b28974ffdda8b42c97e7749a0f7
(cherry picked from commit
fac713318c8834ded349bc6d187499f61d399748)
TreeHugger Robot [Wed, 5 Apr 2017 20:25:36 +0000 (20:25 +0000)]
Merge "Removed deprecated auto(F)ill settings." into oc-dev
Daniel Nishi [Wed, 5 Apr 2017 20:10:58 +0000 (20:10 +0000)]
Merge "Revert "renaming/removing fingerprints should be reflected in UI if fingerprintservice lags"" into oc-dev
Daniel Nishi [Wed, 5 Apr 2017 20:04:55 +0000 (20:04 +0000)]
Revert "renaming/removing fingerprints should be reflected in UI if fingerprintservice lags"
This reverts commit
bb994166cb12378be5c3b0372379f5cdb0ffceb0.
Change-Id: I713012a3c449311b5daf8af81b97c050889560c7
Daniel Nishi [Wed, 5 Apr 2017 19:59:12 +0000 (19:59 +0000)]
Merge "Fix a unit test regression." into oc-dev
Doris Ling [Wed, 5 Apr 2017 19:57:58 +0000 (12:57 -0700)]
Add resource string for Security dashboard summary.
Add the summary text to be shown when fingerprint sensor is not
available.
Bug:
36889582
Test: builds
Change-Id: I868ced81ad3b3177c8ca366adba937342b67ce65
Amin Shaikh [Wed, 5 Apr 2017 18:35:08 +0000 (11:35 -0700)]
Update saved networks screen after forget.
Bug:
36891459
Test: m RunSettingsRoboTests and manual testing
Change-Id: Ie125bd9e66ddbb25a1bbad93af19d4eb1e0a8c8b
Phil Weaver [Wed, 5 Apr 2017 16:28:32 +0000 (09:28 -0700)]
Don't enable a11y service if scary dialog obscured
We were only checking if the OK button itself was obscured.
Changing to check if any part of the window is obscured.
Bug:
31855267
Test: Created a sample a11y service that displays a UI to cover
part of the window, but not the OK button. It was possible to
enable an a11y service before this change, but now it displays
a warning toast.
Change-Id: I21974535aba734da6ea9d7accf67fb9237fd16fc
Filip Pavlis [Wed, 5 Apr 2017 10:01:10 +0000 (11:01 +0100)]
Omit using ctor of PreferenceViewHolder in tests.
See the topic for related change in the support lib.
Bug: b/
33774880
Test: N/A
Change-Id: I3514821db649e26068f151bd69c687faab5ae222
Kevin Chyn [Thu, 23 Mar 2017 18:12:26 +0000 (11:12 -0700)]
renaming/removing fingerprints should be reflected in UI if fingerprintservice lags
Bug:
30252265
Test: manual
Change-Id: I27761608e52f1437fc7a43bfb48a1f09922d1c0f
Amin Shaikh [Wed, 5 Apr 2017 00:54:44 +0000 (17:54 -0700)]
Link to "scanning settings" when Wi-Fi is off.
Always link to scanning settings when wifi is off. Previously, the link
was only shown when wifi was off and scanning settings were on.
Bug:
36033488
Test: m RunSettingsRoboTests and manually testing on device
Change-Id: I0abc6f4a25072c78fea6a971621cebc1a97b658b
Felipe Leme [Tue, 4 Apr 2017 23:39:21 +0000 (16:39 -0700)]
Removed deprecated auto(F)ill settings.
Bug:
35956626
Test: manual verification
Test: mmm -j90 packages/apps/Settings/tests/robotest
Change-Id: I5d0a02477204d273f331d8af93737c88e5af90e8
TreeHugger Robot [Tue, 4 Apr 2017 21:25:16 +0000 (21:25 +0000)]
Merge "Merge intent filters so intent forwarding works." into oc-dev
Peter Qiu [Tue, 4 Apr 2017 20:58:02 +0000 (13:58 -0700)]
wifi: allow manual connection to a Passpoint provided network
While connected to other WiFi network, a Passpoint AP with its
provider installed will shown as "<SSID> available via
<Provider Name>", since the installed provider contained
necessary credentials needed to connect to that AP.
This CL will trigger a connection to that AP when the user
taps on it for manual connection.
Bug:
36357280
Test: manual connecting to a Passpoint network while connected
to other network
Change-Id: Idec440aa1606e80bcea56054e77ef2dc50a7ac93
Daniel Nishi [Tue, 4 Apr 2017 20:50:54 +0000 (13:50 -0700)]
"% used" instead of "% full" in storage donut.
This aligns the string with the summary text on the top level
Settings view.
Change-Id: If7316bff48c9174cb9f72b5bf80e13f0c7b97066
Fixes:
36873524
Test: None for this string change.
TreeHugger Robot [Tue, 4 Apr 2017 20:31:41 +0000 (20:31 +0000)]
Merge "Add AvailableVirtualKeyboardFragment to TV" into oc-dev
Kenny Guy [Tue, 4 Apr 2017 17:01:13 +0000 (18:01 +0100)]
Merge intent filters so intent forwarding works.
Settings forwards intent filters from work to
personal profile based on intent filter returned
from resolving activities.
Test: CTSVerifier, Open BYOD Managed Provisioning test, Click on "Cross profile intent filters are set " test.
Bug:
36275359
Change-Id: I83b7112c4a00a08f0af2be59669a073691fbda0b
TreeHugger Robot [Tue, 4 Apr 2017 17:50:00 +0000 (17:50 +0000)]
Merge "Adds the Clear App dialog for Instant Apps" into oc-dev
TreeHugger Robot [Tue, 4 Apr 2017 17:49:54 +0000 (17:49 +0000)]
Merge "Removes instant apps from certain screens" into oc-dev
Christine Franks [Tue, 4 Apr 2017 17:24:39 +0000 (17:24 +0000)]
Merge "Changed description for system alert window setting" into oc-dev
Sean Stout [Tue, 4 Apr 2017 17:19:43 +0000 (17:19 +0000)]
Merge "Added Night Light Suggestion and tests" into oc-dev
jackqdyulei [Tue, 28 Mar 2017 23:22:20 +0000 (16:22 -0700)]
Ui changes in battery main page
1. Refine the battery header view
2. Move stats section to the place above power management
3. Add last full charge battery stat
4. Add the disclaimer as a footer
Also update the method name in test file, and this ui changes
also fix the header flash problem.
Bug:
36576021
Bug:
36494178
Test: RunSettingsRoboTests
Change-Id: I9784dbbbe16e61da7287f300183347dd4eee6a2b
(cherry picked from commit
edfd09d5908746ea688494b39fe905ad0150e7d4)
Tony Mantler [Fri, 31 Mar 2017 20:54:17 +0000 (13:54 -0700)]
Add AvailableVirtualKeyboardFragment to TV
Allows enabling/disabling IMEs on TV.
Moves InputMethodPreference to SettingsLib.
Also minor code tidying
Bug:
36079941
Test: Keyboard settings still work on Fugu and Ryu
Change-Id: Idf42cf5c46d5bb32db59924819d64f73d533d105
(cherry picked from commit
2ec69563cdfbeae7cf4f729d93b4cf32f7065698)
Jesse Evans [Fri, 31 Mar 2017 00:09:12 +0000 (17:09 -0700)]
Removes instant apps from certain screens
Removes instant apps from the Special Access screens, as well as
notifications.
Test: make RunSettingsRoboTests
Bug:
36515324
Change-Id: I5b2f0ee3219acd89e2cbdcefed4d9608450395c0
(cherry picked from commit
1c9b6092eeb4a6eea7ba0d1db5fbe01c73adff37)
Jesse Evans [Wed, 29 Mar 2017 02:53:09 +0000 (19:53 -0700)]
Adds the Clear App dialog for Instant Apps
Adds a confirmation dialog for the user when tapping clear app.
From this dialog the user can either cancel, or confirm they
want to clear the app.
Test: make RunSettingsRoboTests
Bug:
36536695
Change-Id: Idffcf5ef318578ae2e075ea2cbb35323d41acade
Christine Franks [Fri, 31 Mar 2017 18:39:19 +0000 (11:39 -0700)]
Changed description for system alert window setting
Bug:
36070413
Test: make -j100, updated string appears in Settings
Change-Id: I962b17344ea5fc948c35e4d779ed5686df0d09a3
jackqdyulei [Tue, 4 Apr 2017 01:59:47 +0000 (18:59 -0700)]
Update foreground string in battery page
Change foreground app title to "While in active use"
Bug:
36781909
Test: Build
Change-Id: Ideadc5f6efafe22b014380a5c023e4e5e6a47df5
Jack He [Tue, 4 Apr 2017 01:06:06 +0000 (18:06 -0700)]
Fix a crash when an app requests Bluetooth to be discoverable
* When an app requests Bluetooth to be discoverable with a timeout and a
non null EXTRA_PACKAGE_NAME, Settings app should put in the correct
timeout values in the dialog string
Bug:
36870303
Test: make, try making Bluetooth discoverable via
ACTION_REQUEST_DISCOVERABLE intent
Change-Id: I0cebc2f20371c9de5f28feb26425422c0777aa45
TreeHugger Robot [Tue, 4 Apr 2017 01:18:11 +0000 (01:18 +0000)]
Merge "Don't try using a detached fragment." into oc-dev
Jeff Sharkey [Mon, 3 Apr 2017 23:19:17 +0000 (17:19 -0600)]
Don't try using a detached fragment.
Test: builds, boots
Bug:
36486843
Change-Id: I3e2d2bcd56edcc86370f4b64dabdf155d63f40d3