773 Commits

Author SHA1 Message Date
Brad Fitzpatrick
c026d5cf2f am 603a1f59: am cc033bd3: Merge "Fix some bugs in SettingsProvider that I introduced the other day." into gingerbread
Merge commit '603a1f59703109c89ec0fdeceb0f8d28c7cede22'

* commit '603a1f59703109c89ec0fdeceb0f8d28c7cede22':
  Fix some bugs in SettingsProvider that I introduced the other day.
2010-08-27 15:52:56 -07:00
Daniel Sandler
63cbc4c03e Turn off spammy RSSI logs.
Change-Id: Ifab951afdbbb5fb8e9c6f58f5b8d47139596f7a3
2010-08-27 14:34:15 -04:00
Joe Onorato
88e517ec71 Hand merge bc5d9d22: Need to close the windowshade on ACTION_CLOSE_SYSTEM_DIALOGS and ACTION_SCREEN_OFF." into
master

Change-Id: I4e42155d231f92893c48ffe911e3dfce9d70eb49
2010-08-27 11:21:26 -04:00
Brad Fitzpatrick
3a2952baf1 Fix some bugs in SettingsProvider that I introduced the other day.
BUG=2953979

Change-Id: Ic9813e0ce629c56050d626ed52de67e6ab1ab07e
2010-08-26 17:51:22 -07:00
Jim Miller
c70bd1921b Merge "Fix 2797185: Integrate 3D RecentApps View into system." 2010-08-26 14:24:44 -07:00
Joe Onorato
246ba1121c Need to close the windowshade on ACTION_CLOSE_SYSTEM_DIALOGS and ACTION_SCREEN_OFF.
Bug: 2827958
Change-Id: I1f9467a2a80fdc1d004a678327a47e7bc8917a18
2010-08-26 16:53:16 -04:00
Jim Miller
e6ad1a8ba2 Fix 2797185: Integrate 3D RecentApps View into system.
This adds 3D recents to the platform.  Enabling it is a
matter of setting 'config_enableRecentApps3D' on devices
capable of supporting it (those with OGLES2.0 at the moment).

Change-Id: Ife7bfe8ca02e7657821b68f915e31b0dab50cd2c
2010-08-25 20:43:00 -07:00
Daniel Sandler
764b4da4a8 System bar improvements.
- Updated artwork for buttons and signal/battery meters.
- Layout change: meters on either side of clock
- RSSI for mobile data. The algorithm is more or less the
  same as the one used in the phone status bar. Note that
  mobile data is only shown if Wi-Fi is unavailable.

Bug: 2924643
Change-Id: Idaa0c52422db4a63616475bde96626d1953830b4
2010-08-25 16:36:30 -04:00
Christopher Tate
176d0af368 am 384759b1: am 2b81d6dd: am 02e18d4d: Merge "Make the default backup configuration "disabled; local transport selected"" into froyo
Merge commit '384759b1c5e39d0f99fa551a369ae73197ab26c5'

* commit '384759b1c5e39d0f99fa551a369ae73197ab26c5':
  Make the default backup configuration "disabled; local transport selected"
2010-08-24 18:27:01 -07:00
Christopher Tate
2b81d6dd8a am 02e18d4d: Merge "Make the default backup configuration "disabled; local transport selected"" into froyo
Merge commit '02e18d4d4eed949da02fd8aa87801858d99b902a' into gingerbread

* commit '02e18d4d4eed949da02fd8aa87801858d99b902a':
  Make the default backup configuration "disabled; local transport selected"
2010-08-24 18:21:39 -07:00
Brad Fitzpatrick
268957bcaf am d335f9a9: am bb0eb5ca: Merge "Negatively cache settings and proactively slurp settings into cache." into gingerbread
Merge commit 'd335f9a90375db18b2f77f22f62379ac2d257384'

* commit 'd335f9a90375db18b2f77f22f62379ac2d257384':
  Negatively cache settings and proactively slurp settings into cache.
2010-08-24 18:17:09 -07:00
Brad Fitzpatrick
f366a9b007 Negatively cache settings and proactively slurp settings into cache.
The settings database cache is tiny (or should be tiny) and can be
slurped into memory.  Once it's in memory and we know we have it all
we can avoid going to disk at all for keys not in the cache.

This is a big percentage of the StrictMode violations & latency.

Change-Id: I649411be0c40d348f58376ccfb3eda059fd69fbc
2010-08-24 18:07:33 -07:00
Christopher Tate
02e18d4d4e Merge "Make the default backup configuration "disabled; local transport selected"" into froyo 2010-08-24 18:05:09 -07:00
Christopher Tate
09dedc998f Make the default backup configuration "disabled; local transport selected"
By default out of the box, an Android build will have the backup mechanism in
its "disabled" state and pointed to the LocalTransport test transport.  We
do not want retail devices built without the Google backend to have backup
enabled out of the box; it would cause them to gradually grind away the
cache partition for no good reason.  On those devices with this change,
developers would need to enable backup manually (possibly using the normal
Settings UI; more probably using the 'bmgr' shell tool), but would no longer
also have to manually configure the active transport name.

Device vendors producing Google-enabled products will simply use resource
overlays to configure the default state and transport name for their builds.
When building a product that points to the Google backup transport by default,
the "def_backup_enabled" boolean resource should still be set to 'false' --
the Google backup disclosure activity supplied by GSF will take care of
enabling the backup services if the user opts in to it.  (Basically, vendors
will never have to overlay the def_backup_enabled resource -- the default
value of 'false' is correct for any retail device regardless of whether it
can use the Google backup transport.)

In the SDK build, the default transport will remain the local one, but
the default enable state overridden and set to "true".  This is the ideal
situation for developers: all aspects of the backup mechanism immediately
operative with no manual configuration needed.

Change-Id: I866f8f627b023b338bc7757e61604e6d8a901a34
2010-08-24 17:52:45 -07:00
Daniel Sandler
aead95f339 More final artwork for status bar.
Change-Id: Iaa79567bf6f1c36bd4249eb756e694dc74730fef
2010-08-24 15:41:28 -04:00
Daniel Sandler
35887dc152 Final status bar artwork.
Change-Id: I7933388ec090a049447ff1b2b3e1560df064c32b
2010-08-24 15:24:04 -04:00
Doug Zongker
7e84159f5f am 36c051c7: am a695cbc9: am 0fe27cf5: make android_id random seed depend on time as well as ro.serialno
Merge commit '36c051c717391afe12a1fe8163960286175f2f7e'

* commit '36c051c717391afe12a1fe8163960286175f2f7e':
  make android_id random seed depend on time as well as ro.serialno
2010-08-21 09:43:58 -07:00
Daniel Sandler
fb970e9204 Notification.fullScreenIntent support.
Bug: 2911617
Change-Id: I1b4cd6ff0f760bad721a3a8eed61209b44b64c02
2010-08-20 10:57:52 -04:00
Daniel Sandler
3f677b1b3e Merge "Fix periodically disappearing status icons." into gingerbread 2010-08-20 06:01:20 -07:00
Doug Zongker
a695cbc943 am 0fe27cf5: make android_id random seed depend on time as well as ro.serialno
Merge commit '0fe27cf5bd1407bc7b4eabefaa91ff535582badc' into gingerbread

* commit '0fe27cf5bd1407bc7b4eabefaa91ff535582badc':
  make android_id random seed depend on time as well as ro.serialno
2010-08-19 14:05:27 -07:00
Daniel Sandler
0398bf70e7 Fix periodically disappearing status icons.
Occasionally the animation listener wasn't being told that
the ticker animation had completed; this callback was
essential to keeping the status bar's internal state correct
(namely, setting mTicking=false). The safest thing to do is
simply set mTicking to false immediately upon tickerDone()
or tickerHalting().

Bug: 2915280
Change-Id: I997911b12fa2985fa83b42154fb3485220886219
2010-08-19 16:59:11 -04:00
Doug Zongker
0fe27cf5bd make android_id random seed depend on time as well as ro.serialno
Change-Id: I0a48aacd8da30896d91fa05b7791335e6ed751e5
2010-08-19 13:38:26 -07:00
Eric Fischer
4b4b039d75 Merge "Import Romansh translations." 2010-08-19 12:00:34 -07:00
Daniel Sandler
05691455f5 Merge "Wi-Fi signal strength and status in the system bar & panel." 2010-08-19 06:13:04 -07:00
Daniel Sandler
d7db7b1eaf Wi-Fi signal strength and status in the system bar & panel.
Change-Id: I67b948b7c87650b51e5785471b66b4b2cca218ed
2010-08-19 01:26:21 -04:00
Eric Fischer
4203c1e56c Import Romansh translations.
Change-Id: I798cc041fc1d93c3e51a1598a80781453229a523
2010-08-18 16:24:55 -07:00
Eric Fischer
ba4048c028 Import revised translations.
Change-Id: I03d83a241843f1fe88471425e4a7f7e6f33fee16
2010-08-17 16:50:06 -07:00
Eric Fischer
f870000ff0 Import revised translations. DO NOT MERGE
Change-Id: Id47f0897de1361ba755f149b2886d7d1f79ff494
2010-08-17 16:43:35 -07:00
Daniel Sandler
5ecbbbfeae am e03e6d30: am 80810f86: Merge "Fix crash in status bar ticker." into gingerbread
Merge commit 'e03e6d3072592b2a49ee4a43c5977e7462bf9fd0'

* commit 'e03e6d3072592b2a49ee4a43c5977e7462bf9fd0':
  Fix crash in status bar ticker.
2010-08-16 15:19:33 -07:00
Daniel Sandler
f8d5809eee Fix crash in status bar ticker.
Bug: 2900850
Change-Id: Iaf71e093578501258a24cd43e5deaf624d28461e
2010-08-16 15:15:41 -04:00
Irfan Sheriff
72d54efd3d DO NOT MERGE Fix wifi status icon
Doing a setIcon makes the icon visible and overrides
setIconVisibility

Change-Id: I7a177cc07e46f211d421e4aa86203ece5936c3fb
2010-08-15 15:55:44 -07:00
Daniel Sandler
1e3ed8fc95 Battery meter now functioning in the system bar and settings panel.
Change-Id: I08881a597f166eaeabd01d550a59109661535639
2010-08-13 15:04:40 -04:00
Eric Fischer
3d173c3040 Import revised translations.
Change-Id: I0b89d1baf9ed02c492e8845f45fad1bee56e8d56
2010-08-12 16:44:07 -07:00
Daniel Sandler
c9faccccb4 Merge "System bar settings panel: first pass." 2010-08-12 04:58:40 -07:00
Daniel Sandler
6425ef950c System bar settings panel: first pass.
Implemented: Clock, brightness, silent toggle, airplane mode
(although this seems not to be working well yet on the
device).

Unimplemented: Orientation lock, battery, wifi signal, date.

Change-Id: Iec9cc833103a68aecccf46cd6eeffc2128d64eea
2010-08-12 02:29:57 -04:00
Kenny Root
bf0cb26a1c am f5ee5358: am ac9717ab: Merge "Move OBB file reading to DefaultContainerService" into gingerbread
Merge commit 'f5ee5358c187107b2e5a1e1fbcb5a648d793c798'

* commit 'f5ee5358c187107b2e5a1e1fbcb5a648d793c798':
  Move OBB file reading to DefaultContainerService
2010-08-11 14:15:10 -07:00
Kenny Root
a02b8b05dd Move OBB file reading to DefaultContainerService
The system_server shouldn't touch files on the SD card. This change
moves the things that touch the SD card out to the
DefaultContainerService so that it will get killed if the SD card goes
away instead of the system_server.

Change-Id: I0aefa085be4b194768527195532ee6dddc801cfc
2010-08-11 11:20:53 -07:00
Daniel Sandler
6327b957e0 Apparently people want to know what time it is.
Bug: 2897410
Change-Id: I8a9a995cf50d197f1f8894455372d0e325eb3eae
2010-08-11 11:45:22 -04:00
Daniel Sandler
dfa08db165 Incremental system bar improvements.
- scrolling list of notifications
 - fixed crashes when inserting notifications
 - new "expand" icon in prep for different touch behavior on
   notification icons
 - adjustments to the Ticker API in preparation for Kicker
   work

Change-Id: I18908cbb2bbbfb7969c7bb48dbda67697732c438
2010-08-10 16:19:33 -04:00
Daniel Sandler
7bff7e6e84 Fix startup crash on phones.
Bug: 2899243
Change-Id: I344fdd4cd3acce64f78cb9b71848b888f59fadfa
2010-08-06 15:06:18 -04:00
Daniel Sandler
0f0b11c871 Basic support for notification payloads in the panel.
Line-item veto is there, but allows you to cancel some
notifications you probably shouldn't be canceling. (Should
hide the "X" in those cases.)

No preference given to "sticky" notifications, because
there's no such thing yet.

Notifications are now limited to 4 visible icons, per spec.
The implementation is a total hack for now.

Change-Id: Ibdf433ae94189117f983c510fe5e0cff0bf5c44c
2010-08-05 09:34:50 -04:00
Daniel Sandler
b64ffdf0aa Merge "Cleaning up the notification data structures." 2010-08-04 13:12:15 -07:00
Eric Fischer
33dc1d7cd0 Import revised translations. DO NOT MERGE
Change-Id: Ibc3e9f1f83159835c2e6c3bcdaa8ff6a7e7fa384
2010-08-04 10:37:25 -07:00
Gilles Debunne
ed3cfb5e1b Generated hdpi drawable size reduced
Change-Id: Id17bb27500ba8729c33613bbf457f1b3193ced38
2010-08-03 16:13:54 -07:00
Gilles Debunne
d1ce7496f1 Merge "frameworks/base/ : added scaled hdpi version of assets that were moved to drawable-mdpi" 2010-08-03 11:01:25 -07:00
Daniel Sandler
379020aec6 Cleaning up the notification data structures.
Change-Id: I2e39fee81a2bd99245b9de6edd2ce5c45bd733c7
2010-08-03 13:58:02 -04:00
Gilles Debunne
389878e49d frameworks/base/ : added scaled hdpi version of assets that were moved to drawable-mdpi
Change-Id: I95c7e6afb84af981867c32fe7f86b140f643b5b9
2010-08-03 10:47:05 -07:00
Gilles Debunne
8fbe89d2d1 Merge "Move pngs from drawable to drawable-mdpi in project frameworks/base" 2010-08-02 15:39:41 -07:00
Gilles Debunne
b0dde8e9b5 Move pngs from drawable to drawable-mdpi in project frameworks/base
After error during file transfer...

Change-Id: I21da694f81a4290e9af1f7647a8ceb6c6d3d806b
2010-08-02 15:21:27 -07:00
Kenny Root
b0289f62af am 59d4a536: am 739cdab7: Merge "Do not deference before null check" into gingerbread
Merge commit '59d4a5369cd68d4b65809ded407611b62b013f9a'

* commit '59d4a5369cd68d4b65809ded407611b62b013f9a':
  Do not deference before null check
2010-08-02 13:31:41 -07:00