Commit Graph

35 Commits

Author SHA1 Message Date
Alan Viverette
a2a859932d Remove night mode from developer settings
It's in SysUI Tuner now.

Change-Id: Id8fbce5462fc0a317c56f70ab2dbb2ffc004ffeb
2016-02-22 14:02:17 -05:00
Sudheer Shanka
82f927bd28 Merge "Update string used as summary when an option is disabled by policy." into nyc-dev 2016-02-19 18:15:33 +00:00
Toby Sargeant
a7000fa864 Merge "add developer setting for multiprocess webview" into nyc-dev 2016-02-19 09:14:56 +00:00
Jorim Jaggi
185fa234a2 Fix some strings
Bug: 26411749
Bug: 27022727
Change-Id: I405ba61a46011365bfa2aebfdb0797738237e86b
2016-02-18 00:35:28 +00:00
Tobias Sargeant
da857108f9 add developer setting for multiprocess webview
Change-Id: Ia6e7a1219b3324e9c8e8cee43f1c4d8cd217e725
2016-02-17 21:07:53 +00:00
Sudheer Shanka
579dc13001 Update string used as summary when an option is disabled by policy.
Bug: 25603665
Change-Id: Ibc37fe8f8ab3ae9da9a04a8e18f480ce0e727de4
2016-02-17 20:08:25 +00:00
Jason Monk
a5d7dd9cd5 Fixes and changes to support settings using UsageView
Bug: 27213136
Change-Id: I1796d710379fc92cf21b196459f34dda4570355f
2016-02-17 10:16:31 -05:00
Jason Monk
96ab63640f Battery graph in QS Detail
Add new usage graph view to SettingsLib that shows usage with
same labels and whatnot.

Use that graph in the battery detail panel to show more stuffs.

Change-Id: I397b1314f65f668df566e93bdbc15420e1b3a280
2016-02-16 16:25:44 -05:00
Andre Eisenbach
d4263faf8c Add Developer menu entry to disable Bluetooth absolute volume
NOTE: Original CL updated: Developer-related settings in
res/values/strings.xml are now in SettingsLib .

Bug: 27078729
Change-Id: I499c420b1eb8cafd674cd69f29ed64f6126307f0
2016-02-10 01:54:07 +00:00
Jason Monk
cafda1f90e Settings drawer work
- Final visuals
 - Show under status bar
 - Fix activity flow surrounding drawer use

Change-Id: I161702219c26cabc6b2d1adbaa6fbfb1d9fd5b07
2016-02-08 15:12:25 +00:00
Jason Monk
50b4b1eb39 String updates - touch to tap
Bug: 26749895
Change-Id: I5a6d44269e48aa89076199a825b65329c735437c
2016-02-03 15:43:01 -05:00
Sudheer Shanka
1450173034 Add support for adding preference summary when disabled by admin.
Change-Id: I455c3180266734fa4ba6b5bf7cb5fc2f34177759
2016-01-25 22:40:10 +00:00
Gustav Sennton
32895546c6 Merge "More string resources for WebView implementation setting." 2016-01-12 18:14:45 +00:00
Jason Monk
c06fbb1298 Move battery saver notification to QS
Remove the battery saver notification and instead create a detail
panel within QS that allows it to be turned on and off.

Change-Id: I54654d26183586fa171fda04877a840701f8ef33
2016-01-11 14:29:23 -05:00
Gustav Sennton
77cd9021d5 More string resources for WebView implementation setting.
It is not valid for the user to choose a disabled WebView implementation
so if the user does that we prompt them to enable the chosen package. In
this patch we add a string resource for the message prompting the user
to do this.

Bug: 26400585

Change-Id: I112783135c453c324f9178dcdac6bacdd73d33b1
2016-01-07 18:34:51 +00:00
Jorim Jaggi
6f2efd3d8c Add developer option for freeform window support (1/2)
Also disable default force-resizable on non-user builds.

Bug: 25276672
Bug: 24815256
Bug: 26294625
Bug: 26294534
Change-Id: I5b31e494c993d2d9dad175b94b4f30637e8f3718
2016-01-05 13:49:59 +01:00
Gustav Sennton
6258dcd7ea Add functionality for changing WebView provider.
Make it possible to change WebView provider (through a Developer
setting) and kill all apps using the old provider.
This includes checking the signatures of the WebView providers to make
sure they are valid.

Now that we can change WebView provider through a setting it is possible
to change provider while some provider is being updated. Because of this
we now keep track of which provider should be in use in
WebViewUpdateService to make sure we use the correct provider at all
times.

We now also read WebView package meta data (name, package name, and
signature) from a separate xml file.

Main bug: crbug.com/546185

Bug: 25338573

Change-Id: I660fd1a40a5388f6569a06a7f0d029e8ff65945a
2015-12-11 14:29:44 +00:00
Tony Mantler
5881ebc882 Move strings to SettingsLib
Change-Id: I8dc93cfc206e41b14f894b03ecd8a18225d47fe7
2015-12-04 11:24:34 -08:00
Tony Mantler
e92cf6d739 Move some methods to DeviceInfoUtils in SettingsLib
Change-Id: I646c89c2803e4386a4b24f10ec186871768e7239
2015-11-16 09:44:52 -08:00
Jason Monk
0d72d20c2f Settings Drawer: Handle multi-profile/user correctly
Change-Id: Ibef3cb38325415d514dc86fcd4ce7b95825361f8
2015-11-04 15:04:45 -05:00
Tony Mantler
5fb3a7f666 Move more Accessibility stuff to SettingsLib
Change-Id: I081bffea6ff4da455f9040fc3f45198d1de85d26
2015-10-30 16:20:25 -07:00
Tony Mantler
ed03f451c8 Move some app methods to AppUtils in SettingsLib
Change-Id: If9a1e997ff92957905039cd13143e26324eb7e92
2015-10-21 11:30:49 -07:00
Wei Liu
30275c1924 Refactor UidDetailProvider and its dependencies to SettingsLib.
so that it can be reused by Wear app data usage.

Change-Id: Ifd5709647ba031bb38b2293c35def01bcdee1448
2015-08-25 11:01:36 -07:00
Jason Monk
f05ca67ce4 Move wifi accessibility strings to SettingsLib
Bug: 22468835
Change-Id: I66e85e8adfb3eda194995eda529422a172f00cbd
2015-07-14 13:32:33 -04:00
Sanket Padawe
d187880109 Hotspot 2.0 UI.
Bug: 20182930
Change-Id: Ice6df509889fa7eb0494bb04af65890f07b4a2b1
2015-05-12 10:27:19 -07:00
Sanket Padawe
60137fdcb3 Merge "Saved network summary string fixes in Wifi Settings" into mnc-dev 2015-05-06 20:59:16 +00:00
Sanket Padawe
56cfbfb031 Saved network summary string fixes in Wifi Settings
Bug: 20667217
Change-Id: Ife1b1e7da3270020ef405693252a9e8a1ea5a6ca
2015-05-05 20:10:46 -07:00
Casper Bonde
424681e43e Settings UI for SIM access profile (2/2)
Change-Id: I2e44a858ee3f3349baa401ee7002186d3ae19412
2015-05-05 16:59:24 +00:00
Sanket Padawe
7094d22022 Adding "Connected, no Internet" string in Wifi nw summary.
Bug: 17380953
Change-Id: I9664bcbf33832fe722e7d2b3125939287ee98098
2015-05-01 16:55:00 -07:00
Vinit Deshpande
dcf00c9d0f Implement 'Available via Passpoint' feature [DO NOT MERGE]
This also fixes the issues related to explicit connection
to passpoint AP, and fixes occassional mention of
'connected via Wi-Fi Assistent'

Change-Id: I152cebafa6259194f1d09a6972a3508156335cb6
(cherry picked from commit ff783cd6cf)
2015-04-29 16:40:51 -07:00
Vinit Deshpande
fc40600e30 Fix settings UI for passpoint networks [DO NOT MERGE]
This change includes showing the friendly name in saved
networks list and 'Connected via provider' addition for
passpoint connections.

Change-Id: If330baa96dedb099d5989b3df5b9778bbbcb15e3
(cherry picked from commit 597f49cdda)
2015-04-29 16:32:01 -07:00
Jason Monk
be3c5dbee6 Make QS use SettingsLib's BT code
A couple of changes needed to be made to SettingsLib to support this.
 - SettingsLib needed to track ACTION_CONNECTION_STATE_CHANGED
 - The summary code needed to move from Settings up into SettingsLib
 - Added a getMaxConnectionState to CachedBluetoothDevice
    - This simplifies the states of all of the profiles into
      one.

Change-Id: I7f828f0038ad0cf39274986ece6d486d545f0286
2015-03-02 10:40:21 -05:00
Jason Monk
7ce96b9e61 Move non-ui bt settings code to SettingsLib
Mostly this is moving classes from Settings to SettingsLib but there
were a few changes to support this separation.
 - A bunch of things became public rather than package
 - Moved some settings only code out of these classes
 - Added error callback to handle errors

To see the changes from original classes view the diff against
patch-set 1.

Bug: 19180466
Change-Id: I69fd888362c6dbb325f6113b32c4b15cc6a23a41
2015-02-05 10:43:26 -05:00
Jason Monk
d52356aa5e Move Settings wifi tracking to SettingsLib
Make SettingsLib capable of tracking which wifi networks are
available/saved and their state.

Also modify Quick Settings to use this code rather than having
its own logic.

Bug: 19180466
Change-Id: Iff9f9aed240d79323dba41496496e8076b9fa6f2
2015-02-04 15:08:55 -05:00
Jason Monk
2ba4ce6a06 Create SettingsLib
This will hold common code that SystemUI and Settings (and others)
will share.

Bug: 19180466
Change-Id: I6614b31d6c3b0a2d426a2aa8ce66725245339d22
2015-02-02 11:33:17 -05:00