Commit Graph

4261 Commits

Author SHA1 Message Date
Daniel Sandler
738b8715ab Optimizations in the notification list:
- sort notifications by timestamp
	- deal with notification bursts better by waiting to
	  refresh the list until things settle down

Change-Id: Ie41051afcb0a7a917f2a97a3311628b34626c125
2013-03-19 00:12:41 -04:00
Daniel Sandler
e16dcfb16a Keep up with INotificationListener changes.
Requires change Ia69f2ba0 in f/b.

Change-Id: I4a8f719150651bbf94c48ef83fcad2f82db9582b
2013-03-18 23:06:05 -04:00
Irfan Sheriff
474958fc67 Merge "Allow user to change scan always available setting" into jb-mr2-dev 2013-03-14 21:32:42 +00:00
Elliott Hughes
1b4c6c1cc9 am 93692c36: am 53309365: Merge "use date from 1970-01-01 to 2037-12-31 in DatePickerDialog"
* commit '93692c363213736f1c37413ac35a95d4be9a3bea':
  use date from 1970-01-01 to 2037-12-31 in DatePickerDialog
2013-03-13 23:10:56 -07:00
Sungmin Choi
7ccfa0614c use date from 1970-01-01 to 2037-12-31 in DatePickerDialog
In case of using DatePickerDialog, user could select any date
before 1970-01-01. However, the system clock cannot be set to
a date before 1970-01-01.
As a result, user couldn't select date before 1970-01-01.
So, use date from 1970-01-01 to 2037-12-31 of DatePickerDialog.

Steps to reproduce:
1. Settings -> Date & time
2. uncheck Automatic date & time
3. Set Date
4. choose any date before 1970 and Done

Change-Id: I075b3fcaa86df1c314c85dd3dd85474a28b8c637
2013-03-13 17:11:28 -07:00
Chris Wren
d0ed1212a2 Merge "allow daydream settings to be keyboard driven." into jb-mr2-dev 2013-03-13 13:44:42 +00:00
Irfan Sheriff
1019ec10e3 Allow user to change scan always available setting
Bug: 8141918
Change-Id: I3595812eccf5f7760f7521b9cbe6dece6fd658f1
2013-03-12 17:57:57 -07:00
Amith Yamasani
1f8ce37de8 am 8749f35f: am 506b68e1: Merge "Moved KEY_VIBRATE to NEED_VOICE_CAPABILITY"
* commit '8749f35f71c984a189a50e65625983b5cf7274f3':
  Moved KEY_VIBRATE to NEED_VOICE_CAPABILITY
2013-03-12 15:46:56 -07:00
Chris Wren
797805909b allow daydream settings to be keyboard driven.
Bug: 8339092
Change-Id: I9ef93a6633cdaee9bb823da424cd422efffd2475
2013-03-12 16:32:40 -04:00
John Spurlock
5ddc19957f Relative component names for dream settings activities.
If no package name is provided when declaring a dream settings
activity, use the dream service component package name.

Bug:8370189
Change-Id: I36fabc4e7f10fe7deb5bd7a670c66b2c23d5fc20
2013-03-12 15:38:18 -04:00
Daniel Sandler
9471675c0a Merge "Show new and old notifications in the same list." into jb-mr2-dev 2013-03-12 15:56:00 +00:00
Henrik Baard
2ac8da37d8 Moved KEY_VIBRATE to NEED_VOICE_CAPABILITY
There is an array (NEED_VOICE_CAPABILITY) with all keys that
should not be present in a device that does not have voice
capability.

The key KEY_VIBRATE was not part of this array, it was handled
separately in the code.

Moved KEY_VIBRATE to NEED_VOICE_CAPABILITY and remove the
special treatement.

Change-Id: I96aa066cec373ccbfe89c46b530feb484f6f8164
2013-03-11 13:40:46 +01:00
Amith Yamasani
36db0471bd am 6e0bff0d: Merge "Fix the message when Bluetooth is turning off while on the tethering menu."
* commit '6e0bff0d1bc52b90a4219b26f93ed41329415098':
  Fix the message when Bluetooth is turning off while on the tethering menu.
2013-03-08 10:35:04 -08:00
Ryan Baxter
232e6fb382 Fix the message when Bluetooth is turning off while on the tethering menu.
Currently says "Turning Wifi off..."
This change will display "Turning Bluetooth off..." instead.

Change-Id: I697d19ca4d7a69cc6b3729ad09fcf38bf5ab2427
Signed-off-by: Ryan Baxter <rbryanbaxter@gmail.com>
2013-03-07 20:36:22 -05:00
Daniel Sandler
c00e410b35 Show new and old notifications in the same list.
Relies on change-id I008afefc in f/b.

Change-Id: Id474639910ec54f129395e1734cf92203879723d
2013-03-07 16:39:06 -05:00
Daniel Sandler
8194449cf3 Merge "Listen for the current user's notifications only." into jb-mr2-dev 2013-03-07 20:46:15 +00:00
Daniel Sandler
c97593b9fd Listen for the current user's notifications only.
Bug: 8328357
Change-Id: I4fe21ed5c49a1eafee7ede1d4e5e9cb8f34d5120
2013-03-07 15:43:30 -05:00
Jeff Sharkey
e6c5003278 Remove guava dependency to speed up build.
Change-Id: I4cee4b6324e72e94c1241e10f3cdc507d65512cd
2013-03-06 11:47:26 -08:00
Irfan Sheriff
b805ceda30 am ba6a68c8: Merge "Fix not updating error message when authentication fails"
* commit 'ba6a68c8c135c112117c56562b4e159e859a36bd':
  Fix not updating error message when authentication fails
2013-03-05 19:23:11 +00:00
Irfan Sheriff
ba6a68c8c1 Merge "Fix not updating error message when authentication fails" 2013-03-05 19:08:15 +00:00
Jaewan Kim
0085de7999 Fix not updating error message when authentication fails
If attempt to configure the first network fails, AccessPoints fails to
update error message because it only checks the error code if it is not
active.

With this change, user may see saved network message for a second
because SupplicantStateTracker retries on authentication failure so
intermediate status is displayed between each trial.

Bug: 8284024
Change-Id: I8b976b03878e27e46726ee8a176f131115b7a409
2013-03-05 12:59:56 +09:00
Daniel Sandler
1aeea8600f Request fewer historical notifications.
Bug: 8280039
Change-Id: I1cf2f96d0f159f58fc61572e78ea33f1c49cfed9
2013-02-27 13:38:30 -05:00
Martijn Coenen
fbefc9453d Merge "Fix Android Beam toggle switch on Manta." into jb-mr2-dev 2013-02-26 23:47:16 +00:00
Martijn Coenen
658508c8f6 Fix Android Beam toggle switch on Manta.
Bug: 7974617
Change-Id: I9200c070a13415b5c0ca545211a31b3e9c544cac
2013-02-26 15:46:02 -08:00
Dianne Hackborn
23aa56bfde Merge "App ops: add operations for reading/writing clipboard." into jb-mr2-dev 2013-02-26 18:28:17 +00:00
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