Commit Graph

4587 Commits

Author SHA1 Message Date
Dianne Hackborn
782c3de338 App ops: add operations for reading/writing clipboard.
Change-Id: I253d2ae34d95c7afa47af3d122e715c251ff6590
2013-02-25 18:03:06 -08:00
Romain Guy
c85a92e4ca Merge "Add non-rectangular clip debug setting" into jb-mr2-dev 2013-02-26 01:52:54 +00:00
Romain Guy
6b24c45813 Add non-rectangular clip debug setting
This change also reorganizes settings a little bit. A new section
called "Hardware accelerated rendering" now hosts all the 2D/GPU
related settings.

Change-Id: Ife2d466b94d69310c2056c3dcf5c13737319f989
2013-02-25 16:21:58 -08:00
Maggie Benthall
ea6260d887 Respect user restriction against toggling location sharing settings.
Change-Id: I1e629129fc9b3b224d4f4402b56d904df9edc43f
2013-02-25 16:49:32 -05:00
Amith Yamasani
265dfd22e3 Apply the show_password checkbox on the text field on orientation changes
Watch for changes to the checked state and update the password field's
input type.

Bug: 5639618
Change-Id: I4448d888481e5488289692fdf81901410cef72aa
2013-02-24 17:43:36 -08:00
Irfan Sheriff
9d168ee619 Merge "Clean up scan handling" 2013-02-22 18:40:27 +00:00
Irfan Sheriff
13b3882049 Clean up scan handling
use regular scan API instead of obsolete active scan API

Bug: 8158647
Change-Id: I8f70e19219ad789b7501a40529bcd6b6524739e8
2013-02-21 15:44:10 -08:00
Jeff Sharkey
340935404a Merge "Explicit GridLayout alignment to fix warnings." 2013-02-21 23:32:23 +00:00
Jeff Sharkey
1a55f95d45 Explicit GridLayout alignment to fix warnings.
Also show lockdown VPN dialog whenever relaunched.

Change-Id: Ib8aecbd4a7f9d61906f65fee39f1e819c79aabb4
2013-02-21 15:31:09 -08:00
Wink Saville
2ad5255623 am a7d2fd80: Merge "avoid stopping app in case of accessing empty db"
* commit 'a7d2fd80c2f698d46548f949a2988f5f6d30af3d':
  avoid stopping app in case of accessing empty db
2013-02-21 14:23:40 -08:00
Michael Wright
bab5846f05 Merge "Update Settings app to use new brightness dialog" 2013-02-21 18:47:21 +00:00
Wink Saville
ab62f10104 Merge "Move DataConnection related classes to their own package." 2013-02-21 17:57:48 +00:00
Jeff Sharkey
8b78299d94 Improve notification UI for lockdown VPN.
Bug: 7064111
Change-Id: I951c1c116d2e0e22d1b32194d38f1431e806cbca
2013-02-21 09:47:48 -08:00
Wink Saville
08da8a3d85 Move DataConnection related classes to their own package.
RadioInfo was importing DataConnection and GsmDataConnection causing
it to break. As it turns out it isn't using them so I removed them
and all other unused imports.

Change-Id: I34ee9e87545e6b15ebf4d3ec101d4ed3d322f7b2
2013-02-21 05:24:12 -08:00
Jim Miller
dd395e210a Add explicit userId to AppWidget binder calls
Keyguard currently relies on being in the system process to grab the
given user's widgets.  When we split keyguard into a new process,
it will need to have access to user-specific info to instantiate a
specific user's widgets.  In order to accomplish this, we add an
explicit userid to each binder call as well as new permission
check to allow keyguard access.
This also fixes a potential race condition of having an incorrect user id
due to an async call to change the user.  Every binder call now has a specific
user id. The user id is either the calling process user's id or an explicit
one passed by applications like keyguard. It is created once when an
AppWidgetManager is instantiated and remains for the lifetime of the object.

Change-Id: Iec767fb399677b3cf2f9c0993e06b49951eb1f66
2013-02-20 15:45:56 -08:00
Wink Saville
a7d2fd80c2 Merge "avoid stopping app in case of accessing empty db" 2013-02-20 23:07:59 +00:00
Jeff Sharkey
2f0420be95 Merge "Give Wi-Fi Display settings split actionbar." 2013-02-20 20:36:20 +00:00
Jeff Sharkey
0c3634c97a Give Wi-Fi Display settings split actionbar.
Bug: 8156190
Change-Id: I120398e33cfbbce001a528de04d62cc92fe2f9d9
2013-02-20 12:35:16 -08:00
Michael Wright
e509cba855 Update Settings app to use new brightness dialog
Bug: 7304957
Change-Id: I3894f6fc9ae1aef92bff328006601af518111983
2013-02-20 11:03:38 -08:00
Amith Yamasani
a4a81ff4ce am a5f756c9: Merge "Prevent cursor from causing global reference leaks."
* commit 'a5f756c9e66ee81585ba81d13a8e13f809bdd875':
  Prevent cursor from causing global reference leaks.
2013-02-20 09:17:18 -08:00
Amith Yamasani
a5f756c9e6 Merge "Prevent cursor from causing global reference leaks." 2013-02-20 16:57:51 +00:00
Daniel Sandler
95c73853c9 Merge "Update notification list when notifications are posted." 2013-02-20 14:51:03 +00:00
Amith Yamasani
f6e2f577f3 Merge "Actually use the cache for names and icons." 2013-02-19 18:49:09 +00:00
Amith Yamasani
a521d11796 Actually use the cache for names and icons.
Fixes the flashes in name and icon in Battery usage screen when refreshing.
Bug: 8219466

Some earlier refactoring must have messed up the cache's scope. It will now
avoid reloading name and icon if already present in the cache.

Change-Id: I99c1f14dd53828dcb74cf12c02c47628e2e64d30
2013-02-19 10:40:33 -08:00
Irfan Sheriff
a51d1fb345 Use updated enterprise API
Change-Id: If41fad5fae5864555bb1de3fc99130682b1cdff1
2013-02-15 15:38:21 -08:00
Irfan Sheriff
0e22188088 Fix EAP field display for a new network
We now hide certain EAP fields based on the type chosen. For a
new network, we should set a default and handle this the same
way

Change-Id: I9c8605694ba51bc588a49f711dcf31517ea3f6e4
2013-02-15 15:38:00 -08:00
Irfan Sheriff
ce68912621 Allow only valid EAP configs
We allow configuring all possible EAP fields today even though
some of the configs make no sense and will not result in a
successful connection.

Allow only support configs for various EAP methods

Change-Id: I2e3e8d4d6203acb2eac8cd645df39e1a9ca579ab
2013-02-15 15:37:19 -08:00
Irfan Sheriff
f3a0201202 Update enterprise API usage
Also, remove the unnecessary keystore lock/unlock checks since these
are now controlled at lockscreen

Change-Id: If65c4029d4cf2b8377fbc3512c9f691572125995
2013-02-15 15:36:51 -08:00
Amith Yamasani
07d195ed28 am 1ef6a106: Merge "Fix Settings app crash after enabled multi-user"
* commit '1ef6a106d50f6fce2e2a810075a55bb264fa5c23':
  Fix Settings app crash after enabled multi-user
2013-02-15 10:17:17 -08:00
Amith Yamasani
1ef6a106d5 Merge "Fix Settings app crash after enabled multi-user" 2013-02-15 17:15:41 +00:00
Hyejin Kim
88c80b10a2 avoid stopping app in case of accessing empty db
When accessing empty database, Setting App is stopped, sometimes.
To avoid stopping app, check null for cursor

Change-Id: I71ec067f502d12a9215a9abdbe9e23fc07af17bb
2013-02-16 01:02:30 +09:00
Daniel Sandler
8fd91ae6c9 Update notification list when notifications are posted.
Change-Id: I4b7f1ae117401747d1788a0b009f36388cc2f4eb
2013-02-14 17:06:33 -05:00
Kenny Root
595a891922 resolved conflicts for merge of bbe409d3 to master
Change-Id: I5d64f8d628636f3621b765873aade25eca948576
2013-02-14 13:33:22 -08:00
Kenny Root
ca714d8d0c KeyStore: stop using state()
Change-Id: Ia8fc945666c59c0b9a9bd6f890cc2a6b8859e1d4
2013-02-14 12:06:38 -08:00
Dianne Hackborn
7ff56d331e App ops: new labels, fix crash, fix updating list.
- Add new labels for media ops.
- Fix crash due to missing boolean entry for access notifications op.
- Fix updating op category lists to remain stable (not jump
  back to the top).

Change-Id: I505cfd91b1ff92587a627d33f3ac7a21145a9bbd
2013-02-13 11:02:12 -08:00
Irfan Sheriff
7bb10dbca5 Merge "Use updated enterprise API" 2013-02-12 22:57:14 +00:00
Daniel Sandler
328e2d2666 Show the user's list of notifications in Settings.
Requires new APIs in change I41338230 and change Icce8d6f9
from frameworks/base.

Change-Id: I21b645bdc265b477453f9b177f6776e2c58bd323
2013-02-12 14:33:04 -05:00
Irfan Sheriff
c577427b55 Use updated enterprise API
Change-Id: If41fad5fae5864555bb1de3fc99130682b1cdff1
2013-02-12 10:41:13 -08:00
Dianne Hackborn
acc495a935 Merge "App ops: add "draw on top" op, improve switch ordering." 2013-02-07 08:09:02 +00:00
Dianne Hackborn
d69e8dc441 App ops: add "draw on top" op, improve switch ordering.
Change-Id: Ibe490305650f986f3ccf1ea25012272287455f59
2013-02-07 00:01:10 -08:00
Irfan Sheriff
bd4e10579b am 5c879e48: am 414d9e9c: Merge "P2PSetting:Avoid p2p_find on group removal event"
# By sunil duttu
# Via Android Git Automerger (1) and others
* commit '5c879e48eddfe617125733f2be46854a0266a23b':
  P2PSetting:Avoid p2p_find on group removal event
2013-02-06 11:20:40 -08:00
Irfan Sheriff
5c879e48ed am 414d9e9c: Merge "P2PSetting:Avoid p2p_find on group removal event"
# By sunil duttu
# Via Gerrit Code Review (1) and sunil duttu (1)
* commit '414d9e9c6928581d4f91b008c109a6a4630bfaae':
  P2PSetting:Avoid p2p_find on group removal event
2013-02-06 11:16:24 -08:00
Irfan Sheriff
e58d6da635 Merge "Fix EAP field display for a new network" 2013-02-06 19:03:37 +00:00
Irfan Sheriff
d181bb62bc Fix EAP field display for a new network
We now hide certain EAP fields based on the type chosen. For a
new network, we should set a default and handle this the same
way

Change-Id: I9c8605694ba51bc588a49f711dcf31517ea3f6e4
2013-02-06 10:51:13 -08:00
sunil duttu
7c872478eb P2PSetting:Avoid p2p_find on group removal event
Immediately after group termination p2p_find is being issued
from settings and this causing issue whenever user sends
connection request immediately after group_removal_event.

Change-Id: I41e5f520f7d9475d0ec890d40eea172d9d66d06e
2013-02-06 23:18:30 +05:30
Irfan Sheriff
4cd0f1191b am 6639dee4: am 203631b2: Merge "wifiSettings: Updating the networkinfo on supplicant event"
# By sunil duttu
# Via Android Git Automerger (1) and others
* commit '6639dee497304c359141caf9b0452699a6d64aa9':
  wifiSettings: Updating the networkinfo on supplicant event
2013-02-06 09:02:26 -08:00
Irfan Sheriff
6639dee497 am 203631b2: Merge "wifiSettings: Updating the networkinfo on supplicant event"
# By sunil duttu
# Via Gerrit Code Review (1) and sunil duttu (1)
* commit '203631b24cd3947bcba2ab24789e4cfec487eff7':
  wifiSettings: Updating the networkinfo on supplicant event
2013-02-06 08:58:31 -08:00
sunil duttu
f99d52cf71 wifiSettings: Updating the networkinfo on supplicant event
In framework we update the networkId on supplicant state change
these changes in the network info should be reflected in settings.
there by updating the networkinfo.
The problem we are facing without this fix is when we have single
saved AP profile Switching off the AP when we are in connecting
tate resulting in a behavior Where UI keep showing connecting
to that AP instead of showing it as out of range.

Change-Id: I04073b9a4068f4b75216ebfd431adc126583f15c
2013-02-06 12:04:37 +05:30
Dianne Hackborn
2ae050796a Merge "App ops: add modify settings op." 2013-02-06 01:36:47 +00:00
Dianne Hackborn
3b13d2b786 App ops: add modify settings op.
Change-Id: I7aab6c7f565a20fe24156956895a7db20c8d3aaa
2013-02-05 17:31:10 -08:00