84240 Commits

Author SHA1 Message Date
Winson Chung
eaa5ab01a1 Updating assets, fixing Battery tile to show proper states.
Change-Id: I0df6d62f57e8034f17d6add31416b050af8a0c15
2012-09-13 16:36:59 -07:00
Craig Mautner
dcd8c81bf4 Merge "Propagate systemUiVisibility changes to window manager" into jb-mr1-dev 2012-09-13 13:55:51 -07:00
Craig Mautner
7eac0f557c Propagate systemUiVisibility changes to window manager
The mAttachInfo.mSystemUiVisibility value was changing in
View.dispatchAttachedToWindow but
mAttachInfo.mRecomputeGlobalAttributes was not being set.
Consequently ViewRootImpl.collectViewAttributes was returning
without updating the subtreeSystemUiVisibility. This is fixed
by calling needGlobalAttributesUpdate in dispatchAttachedToWindow.

WIthin ViewRootImpl.collectViewAttributes the assignment to
subtreeSystemUiVisibility was only being made if
mAttachInfo.mSystemUiVisibility was changed within
collectViewAttributes. But mAttachInfo.mSystemUiVisibility
was changing outside of collectViewAttributes in
dispatchAttachedToWindow. Consequently subtreeSystemUiVisibility
was never updated. By looking for a mismatch between
subtreeSystemUiVisibility and mSystemUiVisibility
subtreeSystemUiVisibility gets assigned whenever it is out of
sync.

Fixes bug 7091817.

Change-Id: I1e97a7dec14dc9594876175ae26370fb9030a8a6
2012-09-13 13:14:14 -07:00
Guang Zhu
79d45660f2 dodging the @JavascriptInterface bullet
The reason for not to fix the test instead with new annotation
is that it's preferable to have a single version that works for
all platforms.

This can be revisted once we have enough platforms released to
not to care about the older ones.

Change-Id: I42557f920702e5a65e39a3fea80533bd07b54367
2012-09-13 12:03:10 -07:00
Adam Powell
8a788cbfe5 Fix build.
Add new permission constants to public api

Change-Id: Iedde8c43f3738b51b74a81b72e9a39f51b43fc9d
2012-09-13 11:44:20 -07:00
Michael Jurka
86398b6946 Merge "Fix crash in recents" into jb-mr1-dev 2012-09-13 11:17:31 -07:00
Eino-Ville Talvala
f353f948a5 Merge "NEW_API: Unhide android.hardware.Camera#enableShutterSound" into jb-mr1-dev 2012-09-13 11:15:15 -07:00
Michael Jurka
482f159dc4 Fix crash in recents
Bug: 7128044

Change-Id: Icaec50ef9dfbc5da78d71925215c3363f58d7d3d
2012-09-13 11:12:00 -07:00
Geremy Condra
f60921d921 Merge changes I69689a73,Iaaef6d41,I7e3cb47a,I42307f58 into jb-mr1-dev
* changes:
  DO NOT MERGE Push event logging down into libcore.EventLogger
  DO NOT MERGE Added event logging for config installation failures.
  DO NOT MERGE Create intermediate directories when installing config data.
  DO NOT MERGE Add components for the Android Config Updater to system server.
2012-09-13 10:42:22 -07:00
Dianne Hackborn
e00138285f Merge "Bring back new permission organization." into jb-mr1-dev 2012-09-13 10:40:55 -07:00
Katie McCormick
fd2ccaffc7 am d21b9a9e: am 2f140f96: Merge "Doc change: GCM changes" into jb-dev
* commit 'd21b9a9e2192e1a1803c2a19290e6badc7f69caf':
  Doc change: GCM changes
2012-09-13 09:41:57 -07:00
Katie McCormick
d21b9a9e21 am 2f140f96: Merge "Doc change: GCM changes" into jb-dev
* commit '2f140f9692c3f8e8ae278839637ff5f72d145c60':
  Doc change: GCM changes
2012-09-13 09:39:50 -07:00
Katie McCormick
2f140f9692 Merge "Doc change: GCM changes" into jb-dev 2012-09-13 09:36:48 -07:00
Kenny Root
aefd73d2b9 Merge "Try to avoid possible NPE" into jb-mr1-dev 2012-09-13 08:38:26 -07:00
Kenny Root
0f001d3ee0 Try to avoid possible NPE
For some reason .getParent() appears to be returning null for a data
directory. We don't need to use the parent; we can just use the path.

Bug: 7151733
Change-Id: I5e17cc14fe53669882329d67d8a7b4ec35b81104
2012-09-13 08:36:49 -07:00
Jeff Sharkey
cae22d83a7 Merge "Give DefaultContainerService all external storage." into jb-mr1-dev 2012-09-13 01:31:04 -07:00
Jeff Sharkey
dfa45309e0 Give DefaultContainerService all external storage.
Now we can bind to just one instance of DCS, instead of requiring
one-per-user. This also means we can operate on otherwise-stopped
users.

Bug: 7003520
Change-Id: I4881e064ae8942907f6a02c6b868926223455cdc
2012-09-13 01:04:15 -07:00
Dianne Hackborn
cd403fc031 Bring back new permission organization.
Change-Id: I83e7dd06989ab7b0116bcff5ad52d36e01b851d1
2012-09-13 00:24:38 -07:00
Dianne Hackborn
f5736aa50d Merge "Fix build." into jb-mr1-dev 2012-09-12 22:00:32 -07:00
Dianne Hackborn
bd7057f777 Fix build.
Change-Id: Ie655344e7752393b231f093beb7575def437cc77
2012-09-12 21:58:25 -07:00
Stephen Hines
c2c5cd09ae Merge "Updated tests for simpler ScriptC constructors." into jb-mr1-dev 2012-09-12 21:52:21 -07:00
Stephen Hines
58b2b24128 Updated tests for simpler ScriptC constructors.
Change-Id: Ia1f66a3598a979924ccbf857093693135012c4c9
2012-09-12 21:45:56 -07:00
Svetoslav Ganov
27d9183223 Merge "Core accessibility settings should not be cleared on restore." into jb-mr1-dev 2012-09-12 21:40:55 -07:00
Svetoslav Ganov
818d204590 Core accessibility settings should not be cleared on restore.
1. The core accessibility settings required for a blind user to use
   the device should not be overwritten on restore. There could have
   been enabled via a global gesture from setup wizard, hence the
   user definitely needs them. Restoring disabled values for these
   settings render the device useless unless sighted help is sought.

bug:7138401

Change-Id: Idc593889aa61fada65b0407623720517c827df53
2012-09-12 21:40:21 -07:00
Dianne Hackborn
3e451fa128 Merge "New permissions UI, again." into jb-mr1-dev 2012-09-12 21:36:52 -07:00
Svetoslav Ganov
1803e5e5c7 Merge "Enforcing BIND_ACCESSIBILITY_SERVICE for connecting to an accessibility service." into jb-mr1-dev 2012-09-12 20:34:09 -07:00
Svetoslav Ganov
19f4a29fa4 Enforcing BIND_ACCESSIBILITY_SERVICE for connecting to an accessibility service.
1. This change enforces an accessibility service to require the system
   defined BIND_ACCESSIBILITY_SERVICE permission.

bug:6507771

Change-Id: If5e16bb4fa97891be0ccbb35e343773712e33b98
2012-09-12 20:26:30 -07:00
Victoria Lease
e2052a33f6 Merge "Secure setting for LocationFudger's accuracy" into jb-mr1-dev 2012-09-12 19:03:04 -07:00
Dianne Hackborn
7454d3b73c New permissions UI, again.
Change-Id: I0bbecd88ff1f212b30d1ef32d5bcaa49cdf1e9ce
2012-09-12 18:57:07 -07:00
Winson Chung
2a4057d2e9 Updating IME tile with proper subtype name.
Change-Id: Ie7fed20873f51e3b2b4def14532df00d71762418
2012-09-12 18:30:53 -07:00
Amith Yamasani
5efc533be6 Merge "Fix service binding for singleUser services" into jb-mr1-dev 2012-09-12 18:25:20 -07:00
Amith Yamasani
4076bc5046 Fix service binding for singleUser services
Bug: 7137147

No need to try to retrieve the service again as user 0.

Change-Id: I910aca3fae91dc709ef2265ed0fce09f46f5b769
2012-09-12 18:19:40 -07:00
Winson Chung
43229d7075 Adding IME tile.
- Adding checks for telephony before showing RSSI tile

Change-Id: I1dc4fb7a07d9693d8c6a96678ac9d4ff9abafe44
2012-09-12 18:06:23 -07:00
Geremy Condra
69689a7356 DO NOT MERGE Push event logging down into libcore.EventLogger
This changes the default behavior of the EventLogger from logging
to the normal logs to logging to the event logs.

Change-Id: I4338a1605928b82246a369adb3514bd31cd552e8

Conflicts:

	core/java/android/app/ActivityThread.java
2012-09-12 17:54:10 -07:00
Geremy Condra
7c65e39964 DO NOT MERGE Added event logging for config installation failures.
This just logs the directory the data is being written to, which
will tell us whether we've pushed a bad update and are about to
start wedging devices.

Change-Id: Iaaef6d41b2ab18bcce295c583ee13f49e337ed65
2012-09-12 17:54:04 -07:00
Geremy Condra
755b877423 DO NOT MERGE Create intermediate directories when installing config data.
This prevents an issue where a user factory data resets and
hoses the default directory layout- it will now be recreated
on first update.

Change-Id: I7e3cb47a0fa3aa941a74d46fba7e15865484b66d
2012-09-12 17:53:59 -07:00
Geremy Condra
b631084613 DO NOT MERGE Add components for the Android Config Updater to system server.
This adds the necessary bits to verify and install configuration
updates using system server. It also includes the cert pinning
updater as the first user.

Change-Id: I42307f58074157b33b6e01216aab10022340d449
2012-09-12 17:53:53 -07:00
Christopher Tate
79cf1a2291 Merge "Moved a few telephony settings from Secure to Global" into jb-mr1-dev 2012-09-12 17:51:36 -07:00
Christopher Tate
c868b645b4 Moved a few telephony settings from Secure to Global
Also tidy up the bookkeeping for a few settings that were earlier
moved to Global without the redirect tables being fixed up.

Change-Id: I69275db3b2636cd6ba9c8c51b88e97d8ba4b7b7d
2012-09-12 17:42:43 -07:00
Fabrice Di Meglio
bbbb154c89 Merge "Fix Javadoc spelling" into jb-mr1-dev 2012-09-12 17:41:27 -07:00
Romain Guy
5fe7fbf889 Merge "Don't crash when copying a null Rect Bug #7158068" into jb-mr1-dev 2012-09-12 17:30:45 -07:00
Chet Haase
0c348b6dd7 Merge "end() a reverse()'d animation correctly" into jb-mr1-dev 2012-09-12 17:30:16 -07:00
Romain Guy
dd4b1fec4c Don't crash when copying a null Rect
Bug #7158068

Change-Id: I8f5f3ee12b2c4fd1fe28212b0c6de1214f2ce5f9
2012-09-12 17:28:02 -07:00
Ruei-sung Lin
51e67a0a74 Merge "Fix b/7087723 Patch leftover after tapping the red eye area" into jb-mr1-dev 2012-09-12 17:22:09 -07:00
Jeff Brown
fd218245d2 Merge "Wait for installd to finish starting before booting." into jb-mr1-dev 2012-09-12 17:06:45 -07:00
Victoria Lease
df9ec6171f Secure setting for LocationFudger's accuracy
This replaces the ACCURACY_METERS constant and all derived values with
a secure setting. This value defaults to 2km and has a hardcoded floor
of 500m.

Bug: 6982024
Change-Id: Ibf97ab57145abf28c4a9747444f40250adddf23c
2012-09-12 17:06:07 -07:00
Dianne Hackborn
3c78702db5 Merge "Maybe fix issue #7146119: exception in FragmentManager" into jb-mr1-dev 2012-09-12 17:04:42 -07:00
Jeff Brown
f69c812f49 Wait for installd to finish starting before booting.
Fixes a race condition where the system server might
try to access /data/user/0 before it was created.  In so
doing, the system server could end up creating a directory
in that location with the wrong permissions and everything
would promptly crash.

Bug: 7151686
Change-Id: I349c12fd2b9685d2e7f6305e74f6bf7d5816b752
2012-09-12 17:00:34 -07:00
Jim Miller
39de2b0e19 Merge "Music in keyguard improvements - fix overscroll issue with workaround described in bug 7137941 - ignore noisy signals from music player that sometimes hide it" into jb-mr1-dev 2012-09-12 16:58:17 -07:00
Craig Mautner
4be2975453 Merge "Rename variables and methods for clarity." into jb-mr1-dev 2012-09-12 16:48:15 -07:00