OSDN Git Service
Jeff Sharkey [Wed, 2 Oct 2013 17:11:22 +0000 (10:11 -0700)]
Docs change: annotate media intent actions.
Bug:
11043141
Change-Id: I66777c5ce25014d8e64da5b4ce3f70334befb0b7
Jeff Sharkey [Wed, 2 Oct 2013 00:57:41 +0000 (17:57 -0700)]
Isolate calls to each remote DocumentsProvider.
All background work is going through AsyncTasks, which uses a shared
thread pool. Even with the new ContentProviderClient logic to detect
ANRs, the UI can still appear to be unresponsive for 20 seconds, even
if the user attempted to switch to a different backend. In the worst
case, a backlog of thumbnail requests would end up wedging Loaders
for a long time, since they all share the same THREAD_POOL_EXECUTOR.
This change isolates calls to each provider onto their own thread,
which they're free to wedge and recover from over time.
It also means we no longer need a dedicated thread pool for recents
loading, and can use a simpler Semaphore instead.
Disables thumbnails in recents on svelte devices.
Bug:
10993301,
11014856
Change-Id: I7f8a5bbb5f64437e006cb2c48b7e854136d5c38c
Jeff Sharkey [Tue, 1 Oct 2013 22:32:13 +0000 (15:32 -0700)]
Fix animations, padding in RTL mode.
Show directory animations coming in from left-side when in RTL
language. Also fix NinePatchDrawable to correctly mirror its padding
when auto-mirrored, and fix InsetDrawable to propagate the layout
direction to the wrapped Drawable.
Bug:
10987190,
11030793
Change-Id: I1213802a07d0c4ced93438df1e6ddf5aed3df677
Jeff Sharkey [Mon, 30 Sep 2013 21:26:27 +0000 (14:26 -0700)]
Detect wedged ContentProviders, treat as ANR.
All ContentProvider calls are currently blocking, making it hard for
an app to recover when a remote provider is wedged. This change adds
hidden support to ContentProviderClient to timeout remote calls,
treating them as ANRs. This behavior is disabled by default.
Update DocumentsUI to use a 20 second timeout whenever interacting
with a storage provider.
Bug:
10993301,
10819461,
10852518
Change-Id: I10fa3c425c6a7225fff9cb7a0a07659028230cd3
Daniel Sandler [Tue, 1 Oct 2013 02:57:45 +0000 (02:57 +0000)]
Merge "Update date format in panel on locale change." into klp-dev
Baligh Uddin [Tue, 1 Oct 2013 02:44:01 +0000 (02:44 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Tue, 1 Oct 2013 02:43:38 +0000 (02:43 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Tue, 1 Oct 2013 02:42:38 +0000 (02:42 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Tue, 1 Oct 2013 02:40:41 +0000 (02:40 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Tue, 1 Oct 2013 02:40:00 +0000 (02:40 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev
Igor Murashkin [Tue, 1 Oct 2013 02:10:17 +0000 (02:10 +0000)]
Merge "camera2: Fix CameraMetadata#getKeys" into klp-dev
Michael Wright [Tue, 1 Oct 2013 01:46:53 +0000 (01:46 +0000)]
Merge "Move slide to unlock circle up" into klp-dev
Michael Wright [Tue, 1 Oct 2013 01:38:36 +0000 (18:38 -0700)]
Move slide to unlock circle up
Because HH is such a tall device, we need to move the circle up in
order to put it in the correct physical location.
Bug:
10900855
Change-Id: Idf90839e19f89784a96d110dd897bdacb58cb616
Igor Murashkin [Mon, 30 Sep 2013 19:14:58 +0000 (12:14 -0700)]
camera2: Fix CameraMetadata#getKeys
Bug:
11007040
Change-Id: I08755bf45ae60ff00736af3672a9f6091f460496
Svetoslav [Tue, 1 Oct 2013 00:36:56 +0000 (00:36 +0000)]
Merge "Fix the build" into klp-dev
Svetoslav [Tue, 1 Oct 2013 00:33:05 +0000 (17:33 -0700)]
Fix the build
Change-Id: I2d701199808b1a0d482b9593c8b0730a408c3e8e
Jeff Brown [Tue, 1 Oct 2013 00:15:25 +0000 (00:15 +0000)]
Merge "Reset insets when inset computer is removed." into klp-dev
Dianne Hackborn [Mon, 30 Sep 2013 23:38:19 +0000 (23:38 +0000)]
Merge "Fix issue #
10971287: Make ACCESS_BATTERY_STATS permission system or signature." into klp-dev
Jean-Michel Trivi [Mon, 30 Sep 2013 23:24:01 +0000 (23:24 +0000)]
Merge "Cache RemoteController artwork bitmap size, use it in registration" into klp-dev
Jean-Michel Trivi [Mon, 30 Sep 2013 23:22:58 +0000 (23:22 +0000)]
Merge "Improve RemoteControlDisplay registration" into klp-dev
John Reck [Mon, 30 Sep 2013 23:10:49 +0000 (23:10 +0000)]
Merge "Avoid accidentally using software layers" into klp-dev
Jeff Brown [Mon, 30 Sep 2013 22:57:43 +0000 (15:57 -0700)]
Reset insets when inset computer is removed.
When an inset computer is registered with the view tree observer,
we report content insets to the window manager. When an inset computer
is subsequently unregistered, we must take care to clear these insets.
This patch remembers whether the previously computed insets were
non-empty so that it can force insets to be reset when needed.
Bug:
10840662
Change-Id: I4cce5ba64cc5234b98363b025ac4bb42e64349f1
John Reck [Mon, 30 Sep 2013 22:31:31 +0000 (15:31 -0700)]
Avoid accidentally using software layers
Bug:
10918599
Shaves ~1-2MB of transient memory usage from setting a hardware layer
on a view that's not hardware accelerated, resulting in it falling
back to a software layer which allocates a bitmap
Also a bit of dejanking as a result of not hitting GC_FOR_ALLOC
Change-Id: Iff00d383fca710147a48f31c7eee2b728b8412dc
Matthew Williams [Mon, 30 Sep 2013 21:46:58 +0000 (21:46 +0000)]
Merge "Remove blocking from SM before boot completed." into klp-dev
Alan Viverette [Mon, 30 Sep 2013 21:33:22 +0000 (21:33 +0000)]
Merge "Rebind transient state views when available" into klp-dev
Amith Yamasani [Mon, 30 Sep 2013 21:31:53 +0000 (21:31 +0000)]
Merge "Adjust padding for keyguard pin entry keys" into klp-dev
Robert Greenwalt [Mon, 30 Sep 2013 21:13:23 +0000 (21:13 +0000)]
Merge "Use a build-specific wifi country code" into klp-dev
Jim Miller [Mon, 30 Sep 2013 20:38:20 +0000 (20:38 +0000)]
Merge "Disable keyguard widgets on low memory devices" into klp-dev
Amith Yamasani [Mon, 30 Sep 2013 20:38:14 +0000 (13:38 -0700)]
Adjust padding for keyguard pin entry keys
Increase padding on the left to more visually center the text within the touch target
Bug:
10074982
Change-Id: I2c622b0edd427a4b15f2f3b25a0a124853ed2367
Adam Powell [Mon, 30 Sep 2013 20:24:17 +0000 (20:24 +0000)]
Merge "Make toast frames a little more opaque" into klp-dev
Alan Viverette [Mon, 30 Sep 2013 19:44:54 +0000 (12:44 -0700)]
Rebind transient state views when available
If a view is obtained, it is guaranteed to represent the same data.
BUG:
10901462
Change-Id: Ice2b3508ae8cf444f006c084e6b7a3e79373723b
Daniel Sandler [Mon, 30 Sep 2013 03:25:50 +0000 (23:25 -0400)]
Update date format in panel on locale change.
The logic that updated the locale was only running at times
the DateView should have been updating its display, namely,
when the view was visible on-screen.
The new version trades a small amount of efficiency (the
broadcast receiver is now active at all times, and the date
is re-formatted each TIME_TICK) in exchange for simplicity
and correctness.
Bug:
10725912
Change-Id: I2f0988ed478374ed0eb0c76c3d8caed6c86eb8df
Matthew Xie [Mon, 30 Sep 2013 18:56:39 +0000 (18:56 +0000)]
Merge "Unhide setPin, setPin, setPairingConfirmation, and relevant intent fields" into klp-dev
Adam Powell [Mon, 30 Sep 2013 18:23:46 +0000 (11:23 -0700)]
Make toast frames a little more opaque
Bug
10994053
Change-Id: I719c8e4a44621b8c838b0897e6c486884e735357
Matthew Williams [Fri, 27 Sep 2013 18:32:35 +0000 (11:32 -0700)]
Remove blocking from SM before boot completed.
Bug:
10916655
Add a stash where the SyncHandler can copy and place
msgs rather than run them. After boot is complete
we iterate through the stash in order and send the
messages off.
Change-Id: I9c175ee79fe60952346003a29225b8687979b44e
Craig Mautner [Mon, 30 Sep 2013 18:20:48 +0000 (18:20 +0000)]
Merge "Don't display hidden activities over home screen." into klp-dev
Carlos Valdivia [Mon, 30 Sep 2013 17:35:45 +0000 (17:35 +0000)]
Merge "Prevent authenticators from using Settings to launch arbitrary activities." into klp-dev
Craig Mautner [Mon, 30 Sep 2013 17:34:55 +0000 (10:34 -0700)]
Don't display hidden activities over home screen.
Fixes jank exposed in
10881705. Specifically background activity
animating up along with translucent activity. Repro steps on manta:
1. From home start Settings.
2. Press home.
3. From home start Downloads (translucent activity that takes 85% of
screen).
4. Observe that as Downloads zooms up the 15% boundary that should be
dimly transparent are showing Settings.
The cause was that there is a finishing activity in the Downloads task
that was used to launch the DownloadsActivity. The existence of that
activity kept the logic from recognizing that the home activity was
behind the DownloadsActivity, not the Settings activity.
This fix descends through all of the activities in a task sitting on
home and makes sure that they only keep home from showing if such
activities are not finishing and visible.
Change-Id: I607afce6b0000b4db634f2ce40a6c37fcee369d7
Baligh Uddin [Mon, 30 Sep 2013 17:29:59 +0000 (10:29 -0700)]
Import translations. DO NOT MERGE
Change-Id: I5096e6fda19418f0b61829ccc25cc98ba3d09dfe
Auto-generated-cl: translation import
Baligh Uddin [Mon, 30 Sep 2013 17:20:46 +0000 (10:20 -0700)]
Import translations. DO NOT MERGE
Change-Id: Ibf90ac2ca945f9a5e803f3bbfbb5caa69b08a4ce
Auto-generated-cl: translation import
Jake Hamby [Mon, 30 Sep 2013 17:18:51 +0000 (17:18 +0000)]
Merge "Add android.provider.Telephony to public API." into klp-dev
Dianne Hackborn [Mon, 30 Sep 2013 17:16:10 +0000 (10:16 -0700)]
Fix issue #
10971287: Make ACCESS_BATTERY_STATS permission system or signature.
Change-Id: I432a2ddbd2fe1d095bb3895c5c122acf465d0c9b
Baligh Uddin [Mon, 30 Sep 2013 16:45:00 +0000 (09:45 -0700)]
Import translations. DO NOT MERGE
Change-Id: Ia72602b06a1df0f7d19e4b3aaf201b5a95f88944
Auto-generated-cl: translation import
Baligh Uddin [Mon, 30 Sep 2013 16:32:47 +0000 (09:32 -0700)]
Import translations. DO NOT MERGE
Change-Id: Ib2bedf5a64b306f630e1263fed4a6fa0e8843175
Auto-generated-cl: translation import
Baligh Uddin [Mon, 30 Sep 2013 16:28:55 +0000 (09:28 -0700)]
Import translations. DO NOT MERGE
Change-Id: Ie40b704529f71e71f5c384450a79923c68354bb9
Auto-generated-cl: translation import
Daniel Sandler [Mon, 30 Sep 2013 15:02:43 +0000 (15:02 +0000)]
Merge "Fix configuration changes in status bars." into klp-dev
Daniel Sandler [Mon, 30 Sep 2013 14:21:45 +0000 (10:21 -0400)]
Fix configuration changes in status bars.
- Make sure SystemBars calls onConfigurationChanged on the
status bar
- Remove redundant ACTION_CONFIGURATION_CHANGED receiver in
BaseStatusBar & move this code into onConfigurationChanged
- Force locale refresh even if a configuration change
touches only the layout direction
Bug:
10113357
Change-Id: I92902d25cbae77f2558cfb85482484b11dc7294e
Dianne Hackborn [Mon, 30 Sep 2013 00:21:48 +0000 (00:21 +0000)]
Merge "Fix issue #
10948509: Crash in procstats when there is no data" into klp-dev
Dianne Hackborn [Thu, 26 Sep 2013 18:07:17 +0000 (11:07 -0700)]
Fix issue #
10948509: Crash in procstats when there is no data
Not dealing with the case where there is a null list.
Also fixed some bugs I found while looking at this:
- When resetting the stats, we would use a newly computed time stamp
for the total durations rather than the one we used to reset the
proc/service entries. This would result in them being able to be
slightly > 100%.
- There was a bug in how we split a single process state into its
per-package representation, where we would but the cloned process
state into the new package's entry (instead of properly for its
own package entry), to be immediately overwritten by the new
process state we make for that package. This could result in
bad data for processes that have multiple packages.
- There was a bug in resetting service stats, where we wouldn't
update the overall run timestamp, allowing that time to sometimes
be > 100%.
- There was a bug in computing pss data for processes with multiple
packages, where the pss data was not distributed across all of the
activity per-package process states.
- There was a bug in computing the zram information that would cause
it to compute the wrong value, and then never be displayed.
Finally a little code refactoring so that ProcessState and ServiceState
can now share a common implementation for the table of duration values.
Change-Id: I5e0f4e9107829b81f395dad9419c33257b4f8902
Jean-Michel Trivi [Sun, 29 Sep 2013 20:03:58 +0000 (13:03 -0700)]
Improve RemoteControlDisplay registration
When a new RemoteControlDisplay gets registered, don't cause all
existing RemoteControlDisplays to re-receive RemoteControl
information they already have.
Bug
8417073
Change-Id: Icc8e7104d6870f748fddd702692789dbaef948ac
Robert Greenwalt [Fri, 27 Sep 2013 21:58:43 +0000 (14:58 -0700)]
Use a build-specific wifi country code
This ignores any previous setting and instead uses
a value set at build time. This does not preclude
us from using some other signal to determine country
for wifi channel limits.
bug:
10513734
Change-Id: Ib82c07285af70fbd82eb0466b7391979ebc8be10
Jim Miller [Sun, 29 Sep 2013 21:00:01 +0000 (14:00 -0700)]
Disable keyguard widgets on low memory devices
Fixes bug
10784493
Change-Id: I6271ea94f6832bb061ba9f64efea460d28ee5695
Matthew Xie [Tue, 24 Sep 2013 06:23:13 +0000 (23:23 -0700)]
Unhide setPin, setPin, setPairingConfirmation, and relevant intent fields
bug
9987787
Change-Id: Id1c149964137e35703310e2f2893c8830aacddea
Jean-Michel Trivi [Sun, 29 Sep 2013 19:08:25 +0000 (12:08 -0700)]
Cache RemoteController artwork bitmap size, use it in registration
Allow an app to set the artwork configuration at any point
regardless of the registration state, and cache the width/height
values.
If the RemoteController is already registered, apply them.
If the RemoteController is not registered, use the cached value
when the object gets registered.
Bug
10862527
Change-Id: If633e2b9383e7d59690288d2271113e98b195cd8
Svetoslav Ganov [Sun, 29 Sep 2013 17:26:46 +0000 (17:26 +0000)]
Merge "Printers in the list of printers change position." into klp-dev
Craig Mautner [Sun, 29 Sep 2013 14:26:11 +0000 (14:26 +0000)]
Merge "Ensure correct window ordering." into klp-dev
Craig Mautner [Sun, 29 Sep 2013 14:25:08 +0000 (14:25 +0000)]
Merge "Don't kill home process with the rest of its package." into klp-dev
Craig Mautner [Sun, 29 Sep 2013 14:24:27 +0000 (14:24 +0000)]
Merge "Remove home package name methods." into klp-dev
Carlos Valdivia [Sun, 29 Sep 2013 12:11:56 +0000 (05:11 -0700)]
Prevent authenticators from using Settings to launch arbitrary activities.
Various authenticator results such as getAuthToken and addAccount might
result in an Intent returned to the AccountManager caller. A malicious
authenticator could exploit the fact that the Settings are a system app,
lead the user to launch add account for their account type and thus get
Settings to use the intent to start some arbitrary third parties Activity.
The fix is to make sure that the UID of the app associated with Activity
to be launched by the supplied intent and the Authenticators UID share
the same signature. This means that an authenticator implementer can only
exploit apps they control.
Bug:
7699048
Change-Id: I34330454c341e6a8422ca1ed3b390466a0feedce
Craig Mautner [Sat, 28 Sep 2013 22:58:38 +0000 (15:58 -0700)]
Ensure correct window ordering.
Make sure that moveStackWindowsLocked() is called every time that the
stack ordering changes. This will rebuild the window list. Previously
the call was being made after the moveStack() call which got forgotten
in the addAppToken() causing the home stack to obscure incoming phone
and video calls.
Fixes bug
10023223.
Fixes bug
10678010.
Maybe fixes bug
10858941.
Change-Id: I59922dc979a19210008eac1f528704984c63c886
Craig Mautner [Sat, 28 Sep 2013 19:35:25 +0000 (12:35 -0700)]
Remove home package name methods.
Do not use the shortcut of the package name to identify the home
activity.
Fixes bug
10963726.
Fixes bug
10920950.
Change-Id: I725781a26672b055a816994aee6ea458a7f07c88
Craig Mautner [Sat, 28 Sep 2013 20:46:38 +0000 (13:46 -0700)]
Don't kill home process with the rest of its package.
Killing the GEL search results was killing everything in its package.
This fix keeps the home process from being killed when a task in its
package is killed.
Fixes bug
10927223.
Change-Id: I56e75f0a0118885a1604cbd70320bbdb4f8cf1a2
Svetoslav Ganov [Sat, 28 Sep 2013 19:09:23 +0000 (12:09 -0700)]
Printers in the list of printers change position.
While the logic was correct the array map that holds the list of pritners
does not keep the position of the items constant. Switched to linked hash
map which gives this guarantee.
bug:
10955751
Change-Id: Idbbe14d753e6a1ad1002f2289b10cb62d7f9f040
Svetoslav [Sat, 28 Sep 2013 02:18:33 +0000 (02:18 +0000)]
Merge "Ignore historical printer records for installed services" into klp-dev
Adam Powell [Sat, 28 Sep 2013 00:43:53 +0000 (17:43 -0700)]
Keyguard transport controls: fullscreen art
When the transport controls are active, set the relevant art as a
fullscreen background for the keyguard.
Change-Id: I1e8a87f242153a2a2c5bf94dbd15f0fd3e07dde3
Svetoslav [Sat, 28 Sep 2013 01:29:53 +0000 (18:29 -0700)]
Ignore historical printer records for installed services
When loading historical records for previously used printers we
now ignore the ones whose target print service is not installed.
bug:
10955652
Change-Id: Ib295e7d88ed3c308ef6d8a11bdc1792ebbb6d526
Jim Miller [Sat, 28 Sep 2013 01:30:20 +0000 (01:30 +0000)]
Merge "Fix missing transport in keyguard" into klp-dev
Jim Miller [Sat, 28 Sep 2013 01:18:17 +0000 (01:18 +0000)]
Merge "Fix permissions on WindowManagerService.showAssistant()" into klp-dev
Jim Miller [Fri, 27 Sep 2013 01:11:38 +0000 (18:11 -0700)]
Fix missing transport in keyguard
Keyguard wasn't re-establishing a connection to the RCD after a
crash. This results in a missing transport until the session reboots.
Fixes bug
10204949
Change-Id: Ia030eacbcf1e3cfa9ee948c841c95d2040f9c1e0
Svetoslav Ganov [Sat, 28 Sep 2013 01:06:51 +0000 (01:06 +0000)]
Merge "Print job files and print job records not always cleaned up." into klp-dev
Craig Mautner [Sat, 28 Sep 2013 00:43:56 +0000 (00:43 +0000)]
Merge "Centralize handleAppDied and fix return to home." into klp-dev
Adam Lesinski [Sat, 28 Sep 2013 00:36:29 +0000 (00:36 +0000)]
Merge "Add badging of Payment apps" into klp-dev
Adam Lesinski [Sat, 28 Sep 2013 00:31:33 +0000 (00:31 +0000)]
Merge "Add support for dumping new badging" into klp-dev
Svetoslav Ganov [Sat, 28 Sep 2013 00:28:07 +0000 (00:28 +0000)]
Merge "Adding a timeout for waiting to get the selected printer's capabilities." into klp-dev
Jeff Sharkey [Sat, 28 Sep 2013 00:27:29 +0000 (00:27 +0000)]
Merge "New roots UX, async, performance, docs." into klp-dev
Svetoslav Ganov [Fri, 27 Sep 2013 17:48:31 +0000 (10:48 -0700)]
Print job files and print job records not always cleaned up.
1. We want the files for a print job to be removed as early as possible
typically because the print job was cancelled, completed, the app
or the spooler crashed during print job construction. We were keeping
around in the spooler and hence to disc infos for jobs that are in
final state since the app that created them may hold a reference to
a local print job objec whose info it can access to get the latest
print job state potentially after the job reached final state. The
issue was that we were persisting to disc created print jobs which
were during construction which requires careful handling for the
various cases above. This is tricky and error prone.
We used to tell the spooler to forget the print jobs infos when the
app that created them died. The implementation to forget a print
job was not careful and was nuking currently running print jobs in
addition to the ones in a terminal state. Further, if the app dies
before a print job is completed we were left with a stale print
job in the spooler since we missed the signal to forget it (assuming
we forget only inactive jobs). These issues suggest that the approach
is problematic.
Now we have a cache of print job infos for the jobs an app created.
This cache is updated when the state of a print jobs changes using
the new print job state observation code. When the app dies we
remove the cached jobs for that app. Now if the app calls to get
the print jobs it gets the cached ones, i.e. the print jobs it
created during its lifetime, plus the print jobs that are still
active fetched from the spooler. Note that transient state cannot
be kept in the spooler since we unbind from it if there is no
work and it may get killed.
2. Improved the print sub-system logging code to show the cached
print job infos for apps and also dump the print job PDF file
names.
bug:
10958357
Change-Id: I6f7c1968b6b7ba5be182a10df044ff7ea1fc3a61
Michael Wright [Sat, 28 Sep 2013 00:26:29 +0000 (00:26 +0000)]
Merge "Add missing constructor parameter to KeyEvent" into klp-dev
Jeff Sharkey [Fri, 27 Sep 2013 23:44:11 +0000 (16:44 -0700)]
New roots UX, async, performance, docs.
Yet another iteration from UX on how roots should be ordered. Since
we no longer categorize by type, remove from public API. Updated
asset drop with new dividers.
Update public API docs to be explicit about required columns. Hide
flags and columns that aren't required for third-party apps.
Move remainder of potentially blocking work to AsyncTasks, including
creating directories, picked root resolution, and creation of new
documents once picked.
Improve performance of layouts by removing baseline alignment and
reduce hierarchy depth. Set alpha on ImageViews directly to avoid
offscreen rendering hit.
Limit returned recents to 45 days. Show load in recents when still
waiting for backends. Show empty message when no recents stacks to
create from. Use unique key when saving recent stacks.
Bug:
10941423,
10819454,
10964412,
10960718
Change-Id: I08cf589dcda7e203acf67928f4d30322ae36ee94
Craig Mautner [Sat, 28 Sep 2013 00:02:21 +0000 (17:02 -0700)]
Centralize handleAppDied and fix return to home.
The home activity was being returned to when any activity in a task
that was launched from home crashed. If there were still activities
left in the task then the crash should have brought up those
activities next, not home.
This may be a partial fix for crashes where the back stack was showing
up under launcher icons. Bug
10858941.
Change-Id: I840a25bd8395bfce46f4e21b112d78b12884706d
Zhijun He [Fri, 27 Sep 2013 23:58:27 +0000 (23:58 +0000)]
Merge "Camera2: remove CameraDevice#getProperties" into klp-dev
Jim Miller [Thu, 19 Sep 2013 22:50:11 +0000 (15:50 -0700)]
Fix permissions on WindowManagerService.showAssistant()
Since binder call permissions are not transitive by design,
the proper way to fix this is to have the call talk directly
to keyguard from the navigation bar.
Fixes bug
9409008
Change-Id: Ibd90a79bb638c969b514455a2ad93c6ff668222d
Scott Main [Fri, 27 Sep 2013 23:04:16 +0000 (16:04 -0700)]
am
584d4f69: am
57177492: am
4a9999f1: remove Remembering Your Users class from nav. Separate CL will redirect these pages to the Google Auth doc.
* commit '
584d4f69e2f8e904f50169ad223b244de72aa5ed':
remove Remembering Your Users class from nav. Separate CL will redirect these pages to the Google Auth doc.
Amith Yamasani [Fri, 27 Sep 2013 22:58:08 +0000 (15:58 -0700)]
am
01c2e173: (-s ours) am
49039929: am
49eb1d95: am
d084cc44: am
4f59a921: am
12fd0f16: am
f6a0c116: am
9bf1a139: am
72c5e376: am
ba1ae3af: am
42786418: Don\'t instantiate non-Fragments in Fragment.instantiate
* commit '
01c2e173d99cf4dd1c91cacb9b461082091cbeb3':
Don't instantiate non-Fragments in Fragment.instantiate
David Friedman [Fri, 27 Sep 2013 22:58:05 +0000 (15:58 -0700)]
am
afd85f82: am
c6d085a5: am
37453a83: Merge "Docs: Changed" into jb-mr2-docs
* commit '
afd85f820e032e12887c820883bf1f7d1df14374':
Docs: Changed
David Friedman [Fri, 27 Sep 2013 22:58:02 +0000 (15:58 -0700)]
am
f0a5a844: am
165489da: am
2fe85a10: Merge "Docs: "radio button"->"checkbox" in "Tip" at bottom of doc Bug:
10641902" into jb-mr2-docs
* commit '
f0a5a844a94e3eec386b8fb08d7b405e1e95ed6f':
Docs: "radio button"->"checkbox" in "Tip" at bottom of doc Bug:
10641902
David Friedman [Fri, 27 Sep 2013 22:57:59 +0000 (15:57 -0700)]
am
ff379fc4: am
707bac2b: am
0b1cfc1f: Merge "Docs: In the section "Determine if You Have an Internet Connection," I added to the code snippet so that it also checks whether activeNetwork is null. Bug:
10797360" into jb-mr2-docs
* commit '
ff379fc45c70ab92e6b5422646c9aa67a86002e0':
Docs: In the section "Determine if You Have an Internet Connection," I added to the code snippet so that it also checks whether activeNetwork is null. Bug:
10797360
David Friedman [Fri, 27 Sep 2013 22:57:56 +0000 (15:57 -0700)]
am
233a341b: am
1b8e3197: am
8c38ea39: Merge "Docs: Fixed wrong parameter in SoundPool file; fixed typo in security file. Bug:
10807931 10796994" into jb-mr2-docs
* commit '
233a341b6d9477f7f41d5a954fa7f7a150972ccb':
Docs: Fixed wrong parameter in SoundPool file; fixed typo in security file. Bug:
10807931 10796994
David Friedman [Fri, 27 Sep 2013 22:57:53 +0000 (15:57 -0700)]
am
657343d7: am
b648f950: am
23bd5927: Docs: Fixed a typo, such that "C+++"-->"C++"; there was supposed to be another file with extra apostrophes, but it looks like that one had already been fixed. Bug:
10796099
* commit '
657343d782b5ddd8144c724d9131d3f51f39cd8c':
Docs: Fixed a typo, such that "C+++"-->"C++"; there was supposed to be another file with extra apostrophes, but it looks like that one had already been fixed. Bug:
10796099
Lajos Molnar [Fri, 27 Sep 2013 22:57:22 +0000 (22:57 +0000)]
Merge "Make SubtitleController thread safe" into klp-dev
Scott Main [Fri, 27 Sep 2013 22:36:28 +0000 (15:36 -0700)]
am
57177492: am
4a9999f1: remove Remembering Your Users class from nav. Separate CL will redirect these pages to the Google Auth doc.
* commit '
571774922ce5ace09c746fdb83cbdce243dad3e4':
remove Remembering Your Users class from nav. Separate CL will redirect these pages to the Google Auth doc.
Scott Main [Fri, 27 Sep 2013 22:33:18 +0000 (15:33 -0700)]
am
4a9999f1: remove Remembering Your Users class from nav. Separate CL will redirect these pages to the Google Auth doc.
* commit '
4a9999f1ad20830df4aa38d3d3a42d73cb9986f0':
remove Remembering Your Users class from nav. Separate CL will redirect these pages to the Google Auth doc.
Scott Main [Fri, 27 Sep 2013 22:24:35 +0000 (15:24 -0700)]
remove Remembering Your Users class from nav.
Separate CL will redirect these pages to the Google Auth doc.
Change-Id: Ib47b8e0fffbe776626b463c1199f435a82e64170
Lajos Molnar [Fri, 20 Sep 2013 15:45:31 +0000 (08:45 -0700)]
Make SubtitleController thread safe
Add the concept of an anchor looper.
Allow show/hide/selectTrack/selectDefaultTrack to be called from thread
other than anchor looper.
Change-Id: Iaf2f3d3c46d1b00a0a24156745ec16b301c80c04
Signed-off-by: Lajos Molnar <lajos@google.com>
Bug:
10919206
Zhijun He [Fri, 27 Sep 2013 20:43:25 +0000 (13:43 -0700)]
Camera2: remove CameraDevice#getProperties
Also cleanup some unnecessary imports.
Bug:
10360518
Change-Id: Id54aa4c9e3dff2bd354e3ebb83687b000842ea3f
Michael Wright [Fri, 27 Sep 2013 21:03:13 +0000 (14:03 -0700)]
Add missing constructor parameter to KeyEvent
When in the SyntheticKeyHandler, a missing constructor paramater caused the
wrong contstructor to be called. This would cause the device id, scan code and
flags to be incorrect.
Bug:
10966229
Change-Id: Ib84ef88d28c0da517b376c5493a851cf8fe0a9f7
Raph Levien [Fri, 27 Sep 2013 20:36:24 +0000 (13:36 -0700)]
Fix for jank when fast-scrolling DeskClock's world cities list in RTL
This is a fix for bug
10863979.
The onPreDraw() method in TextView was canceling the draw every time a
the horizontal scroll changed. These dropped frames were visible as
jank. The fix is to never cancel the draw. It seems likely that the
previous rationale for canceling draw is no longer valid, due to other
fixes, because the scroll state will have been fully updated.
Change-Id: I8c2da5450723f993055a49b1cb57320c08f2a11e
Amith Yamasani [Fri, 27 Sep 2013 18:55:34 +0000 (11:55 -0700)]
am
49039929: am
49eb1d95: am
d084cc44: am
4f59a921: am
12fd0f16: am
f6a0c116: am
9bf1a139: am
72c5e376: am
ba1ae3af: am
42786418: Don\'t instantiate non-Fragments in Fragment.instantiate
* commit '
490399292d2160cf94231df7a9e07e8aa8237489':
Don't instantiate non-Fragments in Fragment.instantiate
Amith Yamasani [Fri, 27 Sep 2013 18:51:09 +0000 (11:51 -0700)]
am
49eb1d95: am
d084cc44: am
4f59a921: am
12fd0f16: am
f6a0c116: am
9bf1a139: am
72c5e376: am
ba1ae3af: am
42786418: Don\'t instantiate non-Fragments in Fragment.instantiate
* commit '
49eb1d958198b2a88455c340c9d072469d065785':
Don't instantiate non-Fragments in Fragment.instantiate
Amith Yamasani [Fri, 27 Sep 2013 18:46:29 +0000 (11:46 -0700)]
am
d084cc44: am
4f59a921: am
12fd0f16: am
f6a0c116: am
9bf1a139: am
72c5e376: am
ba1ae3af: am
42786418: Don\'t instantiate non-Fragments in Fragment.instantiate
* commit '
d084cc44eb59407c851399d548256c145eb45342':
Don't instantiate non-Fragments in Fragment.instantiate
Amith Yamasani [Fri, 27 Sep 2013 18:31:18 +0000 (11:31 -0700)]
am
4f59a921: am
12fd0f16: am
f6a0c116: am
9bf1a139: am
72c5e376: am
ba1ae3af: am
42786418: Don\'t instantiate non-Fragments in Fragment.instantiate
* commit '
4f59a9216e76207a7003bfe010076aa78eee629a':
Don't instantiate non-Fragments in Fragment.instantiate