3624 Commits

Author SHA1 Message Date
John Spurlock
e0de5bfff2 Merge "Fire "dreaming started" and "dreaming stopped" broadcasts." into jb-mr1-dev 2012-09-20 05:45:54 -07:00
Jeff Brown
89d5546d7f Add support for remembering Wifi display devices.
Add a setting to globally disable Wifi display.

Fixed a bug where the wifi display broadcast receiver
was running on the wrong thread.

Removed the wifi-display QuickSettings dialog, all functionality
has been moved to Settings.

Bug: 7178216
Bug: 7192799
Change-Id: I9796baac8245d664cf28fa147b9ed978d81d8ab9
2012-09-19 22:04:44 -07:00
Baligh Uddin
d66228d83f Merge "Import translations. DO NOT MERGE" 2012-09-19 18:17:11 -07:00
Baligh Uddin
51f31edffe Import translations. DO NOT MERGE
Change-Id: I73ec37c211a7c7881cbf3a0bb7380e73a7847e32
Auto-generated-cl: translation import
2012-09-19 16:25:10 -07:00
Baligh Uddin
c8d33ad10e Import translations. DO NOT MERGE
Change-Id: If5bb36909e7536aedb40b72ba0899568dce7264c
Auto-generated-cl: translation import
2012-09-19 16:23:58 -07:00
Dianne Hackborn
79c8c7a4ff am 9b4d528d: am 09ad0832: Merge "Switch to showing top-most thumbnail of recent apps." into jb-mr1-dev
* commit '9b4d528d7edf3d55a925b79ab7ba7664a9cb7a5e':
  Switch to showing top-most thumbnail of recent apps.
2012-09-19 15:20:41 -07:00
John Spurlock
f4f6b4c8b0 Fire "dreaming started" and "dreaming stopped" broadcasts.
Dream manager now fires broadcast intents when entering + exiting
dreamland (except when testing).

Power manager can now listen for dreams ending, using polling only
as a backstop.

Also:
 - Bullet-proof dream-manager/dream against known failure modes
 - Add new read/write dream permissions
 - Refactor dream-manager to delegate work + state management into
   a new DreamController class, via a handler

Bug:6999949
Bug:7152024
Change-Id: I986bb7812209d8c95ae1d660a5eee5998a7b08b1
2012-09-19 17:36:50 -04:00
Dianne Hackborn
09ad0832e0 Merge "Switch to showing top-most thumbnail of recent apps." into jb-mr1-dev 2012-09-19 11:40:18 -07:00
Dianne Hackborn
15491c6a72 Switch to showing top-most thumbnail of recent apps.
The way it should have been, and with the new recents enter animation
the way it must be.

Added a new method to retrieve this thumbnail, since it would be less
efficient to use the existing API (which always returns the "base"
thumbnail).  Probably at some point that existing API should be tweaked
to always return the top thumbnail instead, but that is for a later time.

Also removed code that would clear the thumbnail associated with an
activity when it is resumed.  I don't think there should ever be a
reason to clear a thumbnail -- it's much better to have *something*
for the task, even if it is a little out of date.

Change-Id: I83e6ca6403eb2df5e4de3009dfe8c210e8cf8d5b
2012-09-19 11:25:40 -07:00
Baligh Uddin
7b6ec1f6fd Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-09-19 09:14:59 -07:00
Baligh Uddin
07b199c8b0 Merge "Import translations. DO NOT MERGE" 2012-09-19 09:11:04 -07:00
Winson Chung
f42980f9f7 am bf4a17aa: am 688ca470: Merge "Fixing crash in emulator due to no BluetoothAdapter. (Bug 7188166)" into jb-mr1-dev
* commit 'bf4a17aaf0136690aaf0e3d52217bdea35aebfe5':
  Fixing crash in emulator due to no BluetoothAdapter. (Bug 7188166)
2012-09-18 15:41:22 -07:00
Winson Chung
688ca4708b Merge "Fixing crash in emulator due to no BluetoothAdapter. (Bug 7188166)" into jb-mr1-dev 2012-09-18 15:34:37 -07:00
Winson Chung
84dbf462f8 Fixing crash in emulator due to no BluetoothAdapter. (Bug 7188166)
Change-Id: I63fe4b229a8a460170df153e71b7ad65655dfad1
2012-09-18 14:48:00 -07:00
Christopher Tate
b7688e78d5 am 0bd04ff4: am 6b58fde9: Merge "Settings provider needs to send notifications as itself" into jb-mr1-dev
* commit '0bd04ff4104c14d3c8d3dc71c8b85c275095f64d':
  Settings provider needs to send notifications as itself
2012-09-18 13:59:46 -07:00
Daniel Sandler
d3d26cd0d3 am cb1ec20a: am 63bcc14c: Merge "Remove settings and rotation buttons from notification panel." into jb-mr1-dev
* commit 'cb1ec20a2c27f5dd9e6e31f385990c6bec4b9a5a':
  Remove settings and rotation buttons from notification panel.
2012-09-18 13:59:42 -07:00
Christopher Tate
6b58fde99a Merge "Settings provider needs to send notifications as itself" into jb-mr1-dev 2012-09-18 13:35:59 -07:00
Daniel Sandler
63bcc14c43 Merge "Remove settings and rotation buttons from notification panel." into jb-mr1-dev 2012-09-18 13:33:21 -07:00
Christopher Tate
c8459dc85e Settings provider needs to send notifications as itself
... and not as its ultimate caller, who may be a less-privileged
application.  Fixes bug 7188309

Change-Id: Iffd37b8da84f683bf665bf3d48c0b7fbc8dd721d
2012-09-18 13:27:36 -07:00
Baligh Uddin
10ee0404af Import translations. DO NOT MERGE
Change-Id: I9f48dc9210eff95ef753a7743920dec4558496db
Auto-generated-cl: translation import
2012-09-18 10:17:10 -07:00
Baligh Uddin
76a10e86ca Import translations. DO NOT MERGE
Change-Id: I52f25aba49edd4070c02b351adefeeb764e15866
Auto-generated-cl: translation import
2012-09-18 10:15:46 -07:00
Christopher Tate
012bdf5406 am 1c9f740a: am f1aa107b: Merge "Per-user content observer APIs" into jb-mr1-dev
* commit '1c9f740adbee3ddcfd163ea030415630f277c950':
  Per-user content observer APIs
2012-09-18 00:09:50 -07:00
Christopher Tate
f1aa107b18 Merge "Per-user content observer APIs" into jb-mr1-dev 2012-09-17 17:34:00 -07:00
Christopher Tate
16aa973617 Per-user content observer APIs
Callers with INTERACT_ACROSS_USERS_FULL permission can now observe content
for a given user's view (and can notify content uri changes targeted to a
specific user).  An observer watching for UserHandle.USER_ALL will see all
notifications for the given uri across all users; similarly, a notifier
who specifies USER_ALL will broadcast the change to all observers across
all users.

The API handles both USER_ALL or USER_CURRENT, and explicitly forbids
any other "pseudouser" designations.

This CL also revs the Settings provider to notify with USER_ALL for
changes to global settings, and with only the affected user's handle
for all other changes.

Bug 7122169

Change-Id: I94248b11aa91d1beb0a36432e82fe5725bb1264f
2012-09-17 16:35:36 -07:00
Winson Chung
92e5da39c2 am 97b927a6: am f9c6a10d: Merge "Making QS scrollable and making numerous tweaks." into jb-mr1-dev
* commit '97b927a665fbd24d42d98ffc5a7e94c9b0b9fcef':
  Making QS scrollable and making numerous tweaks.
2012-09-17 15:04:15 -07:00
Winson Chung
f9c6a10d3f Merge "Making QS scrollable and making numerous tweaks." into jb-mr1-dev 2012-09-17 14:59:45 -07:00
Winson Chung
5f623011db Making QS scrollable and making numerous tweaks.
- Updating new assets (all line up)
- Updating brightness tile to reflect auto state
- Fixing network tile asset colors
- Adding press feedback

Change-Id: I857f141258eefec65243454cb69905cbd2a10bf6
2012-09-17 14:59:39 -07:00
Michael Jurka
39d9e7207f am 6b045d3a: am 7109aad6: Merge "Fix issue where recents would not show up sometimes" into jb-mr1-dev
* commit '6b045d3a138c4b56d39aba9648c05bcefb08a500':
  Fix issue where recents would not show up sometimes
2012-09-17 14:54:19 -07:00
Siva Velusamy
b98c8342b9 am 0a164f8e: am 9d7657c5: Merge "PhoneStatusBar: Fix NPE while accessing quick settings." into jb-mr1-dev
* commit '0a164f8efee58d949b745210085a2a321a2f0e91':
  PhoneStatusBar: Fix NPE while accessing quick settings.
2012-09-17 14:52:55 -07:00
Michael Jurka
7109aad6a1 Merge "Fix issue where recents would not show up sometimes" into jb-mr1-dev 2012-09-17 13:29:03 -07:00
Christopher Tate
5067ea3751 am 5bae602c: am 2892dfbe: Merge "Fix default population of wifi settings" into jb-mr1-dev
* commit '5bae602cbbb96af3290d430ab25600149d4d073d':
  Fix default population of wifi settings
2012-09-17 12:47:03 -07:00
Daniel Sandler
dc5a1b8758 am 2dd7cb6f: am 8dd9206a: Fix NPE in rotation lock QS.
* commit '2dd7cb6f6af8622c2b0b3c4f07466010f45b9460':
  Fix NPE in rotation lock QS.
2012-09-17 12:46:59 -07:00
Michael Jurka
cbe69206c0 Fix issue where recents would not show up sometimes
Change-Id: Iea78f447b71ae23630c76c8982e69c780eef9df6
2012-09-17 11:51:18 -07:00
Winson Chung
fb573e3084 am 832cf1f2: am 4f49d945: Adding data type overlay to network tile.
* commit '832cf1f2c0a021703d2c73877c56cfabd7d4b633':
  Adding data type overlay to network tile.
2012-09-17 11:29:13 -07:00
Winson Chung
17a947d561 am 90cfc3d1: am 49321ec4: Merge "Suppress ExpandHelper on quick settings." into jb-mr1-dev
* commit '90cfc3d1333edc629ea52d2ba0e6ea2484bf23a6':
  Suppress ExpandHelper on quick settings.
2012-09-17 11:09:50 -07:00
Winson Chung
136dac4356 am e9738d14: am d4726d06: Adding rotation lock tile to quick settings (on tablets).
* commit 'e9738d144b7221d6f6bf4a633fd9ae9026b87177':
  Adding rotation lock tile to quick settings (on tablets).
2012-09-17 11:09:45 -07:00
Christopher Tate
ed1c549a7d am 45b2dce9: am 0dbc4108: Merge "Fix Settings writes to a different user" into jb-mr1-dev
* commit '45b2dce9822caefe69f3f680f9e60f076f9e2eaf':
  Fix Settings writes to a different user
2012-09-17 11:09:11 -07:00
Baligh Uddin
5dbeb6a8ff Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-09-17 08:55:59 -07:00
Siva Velusamy
9d7657c5b5 Merge "PhoneStatusBar: Fix NPE while accessing quick settings." into jb-mr1-dev 2012-09-17 08:42:05 -07:00
Daniel Sandler
6e5fe432f3 Remove settings and rotation buttons from notification panel.
Thanks to quick settings, these are redundant.

Bug: 7142026
Change-Id: If38abda3635c4f11a7fa7fa221f4d821f998e445
2012-09-16 15:34:36 -04:00
Christopher Tate
2892dfbeaf Merge "Fix default population of wifi settings" into jb-mr1-dev 2012-09-14 17:59:00 -07:00
Christopher Tate
6f5a9a9652 Fix default population of wifi settings
Various wifi settings that are explicitly defaulted did not get their
default code properly converted to refer to the correct settings
database table.

A collection of moved-to-Global settings that had not yet been
marked @deprecated in the Secure.* namespace are now so marked.

Also updated the namespace used to refer to wifi settings from the
Wifi Service.  These changes are cosmetic, but they do eliminate a
number of runtime log messages.

Bug 7153671

Change-Id: I9e5b6464d025cfb480ef97373996e38e82f90593
2012-09-14 17:57:35 -07:00
Daniel Sandler
8dd9206abb Fix NPE in rotation lock QS.
Bug: 7172228
Change-Id: I3ac35e18fe7ce5af13ee4c54dabae80df696c819
2012-09-14 17:29:21 -07:00
Siva Velusamy
537421bed2 PhoneStatusBar: Fix NPE while accessing quick settings.
Fixes Bug 7137026

Change-Id: Id156cf8ebb1a31202015a167185a6588283128f8
2012-09-14 14:48:58 -07:00
Winson Chung
4f49d9450f Adding data type overlay to network tile.
Change-Id: Iae3c188e2f7f03bd1ebaddc756021be312ddb0aa
2012-09-14 14:02:07 -07:00
Baligh Uddin
61e2ce248d Import translations. DO NOT MERGE
Change-Id: Ie4ec01bdcc80660c40c34b6afff04ae177a1e0ca
Auto-generated-cl: translation import
2012-09-14 12:53:02 -07:00
Baligh Uddin
4a0c3b1ff0 Import translations. DO NOT MERGE
Change-Id: Ie3512f874a89b0d99d4533a9d0620aaa5b85b555
Auto-generated-cl: translation import
2012-09-14 12:51:51 -07:00
Winson Chung
d4726d062e Adding rotation lock tile to quick settings (on tablets).
Change-Id: Ia68c07051acc1f0f42dde0b1322db034b5d54506
2012-09-14 12:28:40 -07:00
Winson Chung
49321ec4fb Merge "Suppress ExpandHelper on quick settings." into jb-mr1-dev 2012-09-14 12:27:55 -07:00
Christopher Tate
0dbc410800 Merge "Fix Settings writes to a different user" into jb-mr1-dev 2012-09-14 11:35:19 -07:00