117882 Commits

Author SHA1 Message Date
Scott Main
89ec7c781e Merge "some javadoc improvements for virtual display and new meta tag name" into klp-dev 2013-10-16 23:01:02 +00:00
Baligh Uddin
d4c8c87185 Import translations. DO NOT MERGE
Change-Id: I53912ef5db3a4432c95d0936012499ab8a57c791
Auto-generated-cl: translation import
2013-10-16 15:48:14 -07:00
Svetoslav
1c43fceaaa Add APIs for an advanced print options activity.
This is the API part needed to implement support for custom print
options by a print service. Some printers have quite fancy options
and we want users to benefit using them.

bug:11241800

Change-Id: I3a9df771c0ded559b61c597c686795840d702b27
2013-10-16 15:47:44 -07:00
Baligh Uddin
58c564fce9 Import translations. DO NOT MERGE
Change-Id: I35eeda6573625b99277852996769544b8d2f0d37
Auto-generated-cl: translation import
2013-10-16 15:18:56 -07:00
Deepanshu Gupta
81f74f4bc9 Fix DatePicker and Calendar widget in layoutlib.
Issue: https://code.google.com/p/android/issues/detail?id=59732
Change-Id: I281b3fdad88c591281a3645592c84f3e2cb61d09
2013-10-16 15:09:52 -07:00
Deepanshu Gupta
083e3caf66 Fix CalendarView to show the right month and year label.
Change-Id: I95431f1054678d4192bd1621c1f69b29268f55e9
2013-10-16 15:09:52 -07:00
Deepanshu Gupta
1cf5df38f4 Layoutlib Create: Remove references to non-std Java classes.
Do not add the non-standard Java classes. Updates the references to all
non-standard classes to new classes in
com.android.tools.layoulib.create package. This also treats
java.lang.AutoCloseable which is part of Java 7 similarly so that we can
still run on Java 6.

Change-Id: Iac5b272652e2780c9bb72d19f415d150948ca589
2013-10-16 15:09:50 -07:00
Joe Fernandez
2d96a0d342 FileProvider training fix: add note about Support Lib to setup lesson
Change-Id: I7c513705a22bdac390ac260a3d70bdd771c998e7
2013-10-16 15:05:48 -07:00
Michael Wright
6a3dc303cb Merge "Disable unused parameter warning for libinput" 2013-10-16 21:45:49 +00:00
Baligh Uddin
19d0448512 Import translations. DO NOT MERGE
Change-Id: I60e1dfdf59f5790fb58d59946d25b2e14cd252bb
Auto-generated-cl: translation import
2013-10-16 14:41:47 -07:00
Baligh Uddin
d232a6f988 Import translations. DO NOT MERGE
Change-Id: I45af8da3d23c08e5f32133336e1805149dbdba64
Auto-generated-cl: translation import
2013-10-16 14:40:31 -07:00
Baligh Uddin
2280aedc9f Import translations. DO NOT MERGE
Change-Id: I67083211b646acc186939e051ea5218fb00ed1c6
Auto-generated-cl: translation import
2013-10-16 14:39:18 -07:00
Baligh Uddin
f6cfa3de15 Import translations. DO NOT MERGE
Change-Id: I0d8bd44f316030e84c59cfcc88559adfd1215825
Auto-generated-cl: translation import
2013-10-16 14:38:03 -07:00
Baligh Uddin
f667cc58c2 Import translations. DO NOT MERGE
Change-Id: I67a8fe6771ac5cedcba9f75b76f59a7071389e93
Auto-generated-cl: translation import
2013-10-16 14:37:13 -07:00
Baligh Uddin
5c9c04b0a2 Import translations. DO NOT MERGE
Change-Id: I8d3db29afb854493c03f60946e41720a0eea53e0
Auto-generated-cl: translation import
2013-10-16 14:36:28 -07:00
Michael Wright
de83ff24b8 Merge "Fix conditional for glClear call" 2013-10-16 21:09:18 +00:00
Dianne Hackborn
eceecfd224 am 25e7240e: am 519d8895: am 9c446d82: Merge "Fix issue #11217255: Setup Wizard ANR when adding new user profile from settings." into klp-dev
* commit '25e7240e997d9af058f2700f7626b8c9d155ee3a':
  Fix issue #11217255: Setup Wizard ANR when adding new user profile from settings.
2013-10-16 14:08:59 -07:00
Scott Main
cc2195bb56 some javadoc improvements for virtual display and
new meta tag name

Change-Id: If9caba425f825652468a0f3e868f71ed1a778fb1
2013-10-16 14:08:07 -07:00
Dianne Hackborn
25e7240e99 am 519d8895: am 9c446d82: Merge "Fix issue #11217255: Setup Wizard ANR when adding new user profile from settings." into klp-dev
* commit '519d8895a29dd78f5250ee2ececac4e03a6f5b70':
  Fix issue #11217255: Setup Wizard ANR when adding new user profile from settings.
2013-10-16 14:05:52 -07:00
Dianne Hackborn
519d8895a2 am 9c446d82: Merge "Fix issue #11217255: Setup Wizard ANR when adding new user profile from settings." into klp-dev
* commit '9c446d82736dde10a9cf13de9165334f4e699afe':
  Fix issue #11217255: Setup Wizard ANR when adding new user profile from settings.
2013-10-16 14:02:40 -07:00
Michael Wright
4d8779fc5b Disable unused parameter warning for libinput
Also, avoid comparing values of mixed signedness.

Change-Id: I9804f69c29fcb1d0a9fe4b833ef1a569738c99fd
2013-10-16 14:01:50 -07:00
Dianne Hackborn
9c446d8273 Merge "Fix issue #11217255: Setup Wizard ANR when adding new user profile from settings." into klp-dev 2013-10-16 21:00:29 +00:00
Dianne Hackborn
2a272d42a3 Fix issue #11217255: Setup Wizard ANR when adding new user profile from settings.
Two problems addressed here:

- If a call to startActivity() comes in on an activity that is finishing, we can
  end up putting the new activity in a stack that isn't actually in use any more
  (if the finishing activity is the last one on that stack).  This is a bad case,
  anyway, so if this happen the treat it as not being called on an existing
  activity and switch to NEW_TASK to find a task for it.

- There was a bug in handling PACKAGE_CHANGE broadcasts that would result in the
  app's processes being killed, even though the cleanup through the activities
  was done.  This could leave the activity stack in a bad state.  Fix this to
  correctly provide an app id for the changing package so that its processes are
  killed.

Change-Id: Iece04e0cf95025c3d30353d68bf3d14fd39d44c3
2013-10-16 13:34:33 -07:00
John Spurlock
59b74dd9b9 Input method root view should have BOTTOM gravity.
The window had BOTTOM gravity, but the root view was using the
LinearLayout default (START | TOP), meaning an IME with a tall
inputArea could effectively push the navigation bar guard view
off screen.

This change simply uses BOTTOM instead of TOP for the root view.

Bug:11237795
Change-Id: I681c2b1eddac53589e0d168f09a183d67b1e5322
2013-10-16 16:28:50 -04:00
Michael Wright
6762a441ef Fix conditional for glClear call
Previously the call to glClear was executed when there was no
available space (i.e. space which the Bitmap would *not* be drawn in
on the background of the launcher), rather than when there was.
Inverting the checks fixes this problem.

Also, remove unnecessary Handler since the call to updateWallpapers
is done via one-way binder interface and wrapped in a synchronize
block anyways. Putting it on the Handler just put it on the main
looper of the context that created WallpaperManager, which isn't
necessary.

Change-Id: Ic7a323303ec6e354d1ef245eec3434ff7128432d
2013-10-16 13:06:18 -07:00
Scott Main
8c317898ee am e2ac9a97: am 315bd412: am 1bab3f53: am a4825fbe: am 655d8c40: am 4aa6b10c: add some search suggestions
* commit 'e2ac9a975c111f4f020b2655f798fa61b942988c':
  add some search suggestions
2013-10-16 11:43:09 -07:00
Scott Main
e2ac9a975c am 315bd412: am 1bab3f53: am a4825fbe: am 655d8c40: am 4aa6b10c: add some search suggestions
* commit '315bd412a7bd7c74fb32c2a6f963320526b3cbb8':
  add some search suggestions
2013-10-16 11:39:51 -07:00
Scott Main
315bd412a7 am 1bab3f53: am a4825fbe: am 655d8c40: am 4aa6b10c: add some search suggestions
* commit '1bab3f5306f0682eafd74d17517a90c0f4ac4d5c':
  add some search suggestions
2013-10-16 11:35:02 -07:00
Scott Main
1bab3f5306 am a4825fbe: am 655d8c40: am 4aa6b10c: add some search suggestions
* commit 'a4825fbe24871c57cc855c7d8640a92d114c0514':
  add some search suggestions
2013-10-16 11:29:58 -07:00
Scott Main
a4825fbe24 am 655d8c40: am 4aa6b10c: add some search suggestions
* commit '655d8c40092730c8029299eb28961263eaad086c':
  add some search suggestions
2013-10-16 11:27:46 -07:00
Scott Main
655d8c4009 am 4aa6b10c: add some search suggestions
* commit '4aa6b10c7f79090ddf72d64dcc3954fbf135e192':
  add some search suggestions
2013-10-16 11:21:41 -07:00
Alan Viverette
e5799cbec2 Merge "Lazily create AccessibilityEvent record list" 2013-10-16 18:19:54 +00:00
Scott Main
4aa6b10c7f add some search suggestions
Change-Id: I6b3026bff30dc27119995d93529874fdfa000d5f
2013-10-16 11:18:04 -07:00
Alan Viverette
502cb33f8d Lazily create AccessibilityEvent record list
Change-Id: Id4e0a403da811498f2b0f748d86e330fff774154
2013-10-16 11:11:11 -07:00
The Android Automerger
f7ff458902 merge in klp-release history after reset to klp-dev 2013-10-16 01:31:51 -07:00
Narayan Kamath
98e1797367 Remove captive portal code that has no effect.
Note that this CL does not change any behaviour.

At the center of this change is
CaptivePortalTracker#detectCaptivePortal(), which does nothing
except call back into ConnectivityService. Removing it allows us to
simplify code in ConnectivityService. It also allows us to remove
ConnectivityService#captivePortalCheckComplete which was only ever
called in response to this method.

While this does not change any behaviour, it preserves existing
bad behaviour, i.e, that the CAPTIVE_PORTAL_CHECK NetworkInfo
state does not correspond to actual captive portal detection.
We transition into that state and immediately (and unconditionally)
out of it and into CONNECTED.

Change-Id: Ib3797f956d2db5e3cacaaa53e899d81aa8e958af
2013-10-16 08:10:55 +00:00
Jim Miller
805f7a1d01 am a4738bdb: am 7c95ae91: am 67fc6b0b: Merge "Fix issue where keyguard reports a valid token but doesn\'t draw" into klp-dev
* commit 'a4738bdbd2d310842bc55aecfcd5105ade83e146':
  Fix issue where keyguard reports a valid token but doesn't draw
2013-10-16 00:13:46 -07:00
Jim Miller
a4738bdbd2 am 7c95ae91: am 67fc6b0b: Merge "Fix issue where keyguard reports a valid token but doesn\'t draw" into klp-dev
* commit '7c95ae91b69a1aaae8e0ec41d0e76c66ee52f31a':
  Fix issue where keyguard reports a valid token but doesn't draw
2013-10-16 00:10:31 -07:00
Jim Miller
7c95ae91b6 am 67fc6b0b: Merge "Fix issue where keyguard reports a valid token but doesn\'t draw" into klp-dev
* commit '67fc6b0b4708161bc8e716f7effc47e7c15d1ca6':
  Fix issue where keyguard reports a valid token but doesn't draw
2013-10-16 00:08:06 -07:00
Jim Miller
67fc6b0b47 Merge "Fix issue where keyguard reports a valid token but doesn't draw" into klp-dev 2013-10-16 07:05:22 +00:00
The Android Automerger
ca40d51907 merge in klp-release history after reset to klp-dev 2013-10-15 21:14:08 -07:00
Jim Miller
c9cc6907ac am 5e3ab35c: am f3cad918: am db148b65: Merge "Fix memory leak and slowness in keyguard" into klp-dev
* commit '5e3ab35c0aaadcec496d18d1a66e79c35a7f8ffd':
  Fix memory leak and slowness in keyguard
2013-10-15 21:00:33 -07:00
Jim Miller
5e3ab35c0a am f3cad918: am db148b65: Merge "Fix memory leak and slowness in keyguard" into klp-dev
* commit 'f3cad9184f6ef56be403369d87fd0fa1cbd9de86':
  Fix memory leak and slowness in keyguard
2013-10-15 20:58:27 -07:00
Jim Miller
f3cad9184f am db148b65: Merge "Fix memory leak and slowness in keyguard" into klp-dev
* commit 'db148b655633ed554fed70347fb227bf2f23f7de':
  Fix memory leak and slowness in keyguard
2013-10-15 20:55:47 -07:00
Jim Miller
db148b6556 Merge "Fix memory leak and slowness in keyguard" into klp-dev 2013-10-16 03:52:10 +00:00
Jim Miller
b2c64690a3 Fix memory leak and slowness in keyguard
This fixes an issue where the mUpdateSeekBars runnable was being
repeatedly posted to the handler while keeping a reference to
the transport control (and hence keyguard).  Even after the view
was detached from keyguard it would continue to post events that
would ultimately keep the instance of keyguard from being GC'd and
cause keyguard to slow down.

Fixes 11169793

Change-Id: If2bb238adf6d78101589926b60a61d9f187c6d1c
2013-10-15 20:11:50 -07:00
Adam Powell
3b435fb2f0 Fix stale data in keyguard transport control display
Make sure that caches are cleared at the right times and views have
their data populated correctly. Also fix a caching issue in
RemoteController.

Bug 11218218

Change-Id: Ieb833b5dc440ccd1b82050f12eb7059a4e0a412f
2013-10-15 19:18:04 -07:00
Adam Powell
4a99019d66 am 1af10256: am cb13a546: am 49b6d38f: Merge "Fix dodgy states of keyguard transport controls" into klp-dev
* commit '1af10256cd07c2c096e22038379210866dff82a2':
  Fix dodgy states of keyguard transport controls
2013-10-15 18:48:37 -07:00
Adam Powell
1af10256cd am cb13a546: am 49b6d38f: Merge "Fix dodgy states of keyguard transport controls" into klp-dev
* commit 'cb13a5460495d7b05e1667397166330bb3ac412a':
  Fix dodgy states of keyguard transport controls
2013-10-15 18:44:47 -07:00
Adam Powell
cb13a54604 am 49b6d38f: Merge "Fix dodgy states of keyguard transport controls" into klp-dev
* commit '49b6d38fe7308d4641046af4a2d062cdc6033c30':
  Fix dodgy states of keyguard transport controls
2013-10-15 18:43:03 -07:00