Commit Graph

110269 Commits

Author SHA1 Message Date
94fa8956b0 Merge "Fix broken unit test" 2013-08-06 16:56:16 +00:00
708e359503 ImageReader: Add RGB format support.
Bug: 10155122
Change-Id: Id53d6ec815488e73bde6ca62b42c92d16bc813c9
2013-08-06 09:44:29 -07:00
c5663c9f7c am 8154d293: am 58c68d77: Merge "Doc change: Updated reference docs for Google Play Services 3.2." into jb-mr2-docs
* commit '8154d2932a3e4f9800eeff18da640fda7a169ec8':
  Doc change: Updated reference docs for Google Play Services 3.2.
2013-08-06 09:32:56 -07:00
8154d2932a am 58c68d77: Merge "Doc change: Updated reference docs for Google Play Services 3.2." into jb-mr2-docs
* commit '58c68d77596dc81ac6715c8bc7785d1cc430929f':
  Doc change: Updated reference docs for Google Play Services 3.2.
2013-08-06 09:30:12 -07:00
0f922749f4 Extend clearing of mLastPausedActivity.
Add more locations where mLastPausedActivity must be set null before
calling resumeTopActivityLocked().

Also separate the "No History" activity from mLastPausedActivity by
adding mLastNoHistoryActivity. This is necessary because now
mLastPausedActivity will be null when mLastNoHistoryActivity
is checked.

Continues to fix bug 10022212.

Change-Id: Ida543b0638c865127691dc51a6e0635062539659
2013-08-06 08:44:42 -07:00
58c68d7759 Merge "Doc change: Updated reference docs for Google Play Services 3.2." into jb-mr2-docs 2013-08-06 07:35:28 +00:00
7f29a1642f Import translations. DO NOT MERGE
Change-Id: I0c6999034ab12cf0a9e6b7344e03b8b866406fde
Auto-generated-cl: translation import
2013-08-05 20:46:27 -07:00
1ea19f4e49 Merge "Add DEMOTED and UNDEMOTE TO ContactsContract" 2013-08-06 03:42:06 +00:00
5365debd9b Import translations. DO NOT MERGE
Change-Id: I6e94a37fbb63c506d46debba9fd8d3ff9d4e21fe
Auto-generated-cl: translation import
2013-08-05 20:40:16 -07:00
ef96121559 Minor style cleanups.
A few changes to demonstrate a slightly cleaner way to write
JNI code in the framework especially when multiple types are
involved.  We use this pattern in many other places outside
of the media stack.

Added more detail to the UnsupportedOperationException that
occurs when buffer formats don't match.

Change-Id: Ic894dc1bd71b387f1be6ea1798fa59e533e9574f
2013-08-05 20:39:29 -07:00
b87ec537fb Merge "More recents work; filtering and sorting." 2013-08-06 03:15:07 +00:00
ef7184a1aa More recents work; filtering and sorting.
Update DirectoryFragment to render List<Document>, making it more
general purpose.  Feed it documents either from a backend Cursor or
after resolving fields from a recents Cursor.  Start in recents when
no persisted stack available.  Synthesize a root for recents.

Local directory filtering and sorting using predicates and
comparators, all performed on background thread.  Introduce
UriDerivativeLoader which handles ContentObserver updates while
producing a derivative work of a Cursor.

Split data model classes into separate files.

Change-Id: Idb88b4ee22c58c8e508328e678877f7e4c978533
2013-08-05 20:14:12 -07:00
a8b3f7b658 Merge "Whoops, not yet time to be an error." 2013-08-06 02:12:19 +00:00
83524876e0 Whoops, not yet time to be an error.
Change-Id: I869026e1ad33b891010d556150f0b83fa97c4ac4
2013-08-05 19:07:41 -07:00
26502916a8 Merge "Remove an unused C zip API." 2013-08-06 00:54:08 +00:00
1280395539 am 9fe49fc5: am 523db46f: Merge "Set subscription_mode in the database to a default value"
* commit '9fe49fc56ef39facf7b3be5f66256bd15a87961f':
  Set subscription_mode in the database to a default value
2013-08-05 17:23:01 -07:00
9fe49fc56e am 523db46f: Merge "Set subscription_mode in the database to a default value"
* commit '523db46f6981a40e12007dbbe629bbdc47f861ba':
  Set subscription_mode in the database to a default value
2013-08-05 17:20:13 -07:00
03901667db Merge "Start restricting service calls with implicit intents." 2013-08-06 00:16:04 +00:00
254798f22f Merge "Add a new process state for "service restarting"." 2013-08-06 00:15:16 +00:00
523db46f69 Merge "Set subscription_mode in the database to a default value" 2013-08-06 00:10:03 +00:00
221ea892dc Start restricting service calls with implicit intents.
The bindService() and startService() calls have always had
undefined behavior when used with an implicit Intent and there
are multiple matching services.  Because of this, it is not
safe for applications to use such Intents when interacting with
services, yet the platform would merrily go about doing... something.

In KLP I want to cause this case to be invalid, resulting in
an exception thrown back to the app.  Unfortunately there are
lots of (scary) things relying on this behavior, so we can't
immediately turn it into an exception, even one qualified by the
caller's target SDK version.

In this change, we start loggin a WTF when such a call happens,
and clean up some stuff in Bluetooth that was doing this behavior.

Change-Id: I62e25d07890588d2362104e20b054aebb6c0e007
2013-08-05 16:53:26 -07:00
449ff24353 Merge "Clear last paused activity." 2013-08-05 23:18:07 +00:00
f140fd9cef Clear last paused activity.
Moving an activity to the back used to move it behind the launcher.
This meant that the test in resumeTopActivityLocked() for
mLastPausedActivity being equal to the top activity would fail after
moveTaskToBack(). In the new activity stack model the launcher is
on a different stack so if there is only one task then the test
now passes. Clearing mLastPausedActivity when moving an activity
forward now passes the test.

Fixes bug 10022212.

Change-Id: I17932d5c87d2483f13c29ae85a7067202a08f34e
2013-08-05 16:14:22 -07:00
373673abd6 am 3a5e2013: am ebbcc18e: am 4032217e: Merge "Add option for video playback test to accept media source path." into jb-mr2-dev
* commit '3a5e2013a1296065a4674bdc43f357d3a352a6e9':
  Add option for video playback test to accept media source path.
2013-08-05 16:03:01 -07:00
c44510bb86 Merge "Revert icon changes in "Modify quicksettings to have new location behavior." (b/10184973)" 2013-08-05 22:59:54 +00:00
3a5e2013a1 am ebbcc18e: am 4032217e: Merge "Add option for video playback test to accept media source path." into jb-mr2-dev
* commit 'ebbcc18eaa8a69579fadae484630aa1ba447c031':
  Add option for video playback test to accept media source path.
2013-08-05 15:58:48 -07:00
ebbcc18eaa am 4032217e: Merge "Add option for video playback test to accept media source path." into jb-mr2-dev
* commit '4032217ee939d3b23548e83d9183306d66af6f8f':
  Add option for video playback test to accept media source path.
2013-08-05 15:54:41 -07:00
4032217ee9 Merge "Add option for video playback test to accept media source path." into jb-mr2-dev 2013-08-05 22:51:03 +00:00
799d6bb947 Merge "Fix bug #10185976 Black patch displaying in place of drop down spinner across apps" 2013-08-05 21:49:41 +00:00
c90896a602 Revert icon changes in "Modify quicksettings to have new location behavior." (b/10184973)
This reverts icon changes in commit 03ed0127da.

Change-Id: I78e3af4a745dd4f182369edd9df9c296854e7762
2013-08-05 14:36:58 -07:00
8eea0fcd3b Add a new process state for "service restarting".
This is a process that is not actually running, but would be
if we had enough RAM.

Also rework how service stats are stored to used the nice
compact structure we are already using for processes.

And fix a bug where when we committed the current state data,
we would mistakenly write it under the name of the *next* state
that is now starting.  Ouch.

Change-Id: I9f2b84b8b3f305301fd48dcd9d4e6c232abe8ef9
2013-08-05 14:19:44 -07:00
bf34122a96 In CaptiviePortalTracker a socket timeout is probably a captive portal.
On a AT&T warm SIM a socket is not possible so a timeout occurs.
In CheckMp a timing out on a socket is declared as a "warm" sim,
make CaptivePortalTracker the same.

Bug: 10038362
Change-Id: Icb9fb0a1b67704dc9adf6a6348a3781fb9582a89
2013-08-05 14:17:02 -07:00
42d4f08db2 Have CaptivePortalTracker use gservices updateable provisioning urls.
After detecting there is a captive portal the url used in the
notification for mobile networks should be updateable via gservices.
These urls will be the same as used by CheckMp and is needed for
carriers that have specific provisioning urls such as AT&T and Verizon.

Bug: 9622647
Change-Id: Idcf4dabc72ece1dbbe1d5e5a21e550dd06fe16c7
2013-08-05 14:15:54 -07:00
83ad4e393a Remove an unused C zip API.
Change-Id: I10ae849bdedf3e3bb97547c4f9e5a20742e9d6b1
2013-08-05 14:12:50 -07:00
0281b40636 Add string that was accidentally deleted.
Change-Id: I575cc0a26ab2e701a97d9fedadfb5d54d6f0d2e1
2013-08-05 14:06:50 -07:00
3585e1a611 Add DEMOTED and UNDEMOTE TO ContactsContract
Change-Id: I060e9ce7d5de3f32fc55ba619b9a931ef938bd7b
2013-08-05 13:08:55 -07:00
117d23f0fe Merge "Import translations. DO NOT MERGE" 2013-08-05 19:55:19 +00:00
7034771e81 Merge "Import translations. DO NOT MERGE" 2013-08-05 19:53:51 +00:00
0e2edb49a1 Merge "Revert "Revert "be more robust with handling unknown sensors""" 2013-08-05 19:51:50 +00:00
58df6cd66e Fix bug #10185976 Black patch displaying in place of drop down spinner across apps
This CL introduced the regression  from https://googleplex-android-review.git.corp.google.com/#/c/336753/

- use "nine-patch" instead of "bitmap" where needed
- fix also a file naming issue

Change-Id: Ib28c3622809e55fc3ed543e6ef34cc3df3421510
2013-08-05 12:48:14 -07:00
882c246003 Fix build, updates current APIs
Change-Id: I34deb72207e6eb7c37dd57d781a66582cef62b95
2013-08-05 12:28:19 -07:00
2191a0c857 Merge "Move caption style to its own class, add presets" 2013-08-05 18:32:20 +00:00
78804fc6d8 Merge "Disable print dialog spinners if there is only one option." 2013-08-05 18:28:36 +00:00
55b5f8028a Disable print dialog spinners if there is only one option.
Change-Id: Ic9a46c737b592aeb6f78c962a7f9d53391a2b164
2013-08-05 11:26:16 -07:00
6037ec56af Add new app ops method to reset all op modes.
Change-Id: I5ee6764de8dc31d812e5a788914ab0099bbef4c0
2013-08-05 11:13:14 -07:00
f2ce9f994a am eab8e18d: am 8a736129: Merge "If graphics wants ASCII lowercasing, it needs to ask for it."
* commit 'eab8e18d8f6f34a9d35fbb120148956789ad48a2':
  If graphics wants ASCII lowercasing, it needs to ask for it.
2013-08-05 11:10:06 -07:00
eab8e18d8f am 8a736129: Merge "If graphics wants ASCII lowercasing, it needs to ask for it."
* commit '8a736129faa9e41b5f33c42bbeae1f68cb42d38f':
  If graphics wants ASCII lowercasing, it needs to ask for it.
2013-08-05 11:07:13 -07:00
3c9c091863 Revert "Revert "be more robust with handling unknown sensors""
This reverts commit 17548b3c70.
2013-08-05 11:03:28 -07:00
8a736129fa Merge "If graphics wants ASCII lowercasing, it needs to ask for it." 2013-08-05 18:01:33 +00:00
f7d280396c Merge "Replace run-time PCM encodings by compile-time constants" 2013-08-05 18:01:27 +00:00