113971 Commits

Author SHA1 Message Date
Dianne Hackborn
4c51de4933 Increase size of broadcast history lists on non-svelte devices.
Change-Id: Ibd25379778dac8eb1aed30d4788e032f290d9b69
2013-10-16 23:34:35 -07:00
Deepanshu Gupta
39e7583539 Fix layoutlib for KK
Fix a NPE, update the native methods for NinePatch and update an ICU
method to return the right value as required by DatePicker widget.

Bug: 11140701
Change-Id: Id92fc5359acf6dde1bcdbc781aaf637fdb6eecbf
2013-10-16 21:49:02 -07:00
Jim Miller
e5f910a667 Fix issue where keyguard adds widgets before the system is ready
While under heavy system load,  keyguard was able to create widgets before
before ActivityManagerService was ready.  The result was a race
between keyguard adding widgets and ActivityManagerService being
ready to send broadcasts.

This fix provides keyguard with an additional signal to know when
the system is booted and widgets are safe to load.

Fixes bug b/11217169

Change-Id: I7a714d65b068678f961e52bdde4e1c20f9c287f0
2013-10-16 19:42:34 -07:00
Baligh Uddin
192a856df2 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-10-17 01:08:31 +00:00
Baligh Uddin
829ebd42b2 Import translations. DO NOT MERGE
Change-Id: I0642a5841c24a7866dfe8a72ab2fc9acb696fd7d
Auto-generated-cl: translation import
2013-10-16 17:57:29 -07:00
Ed Heyl
41e6e50ce6 merge in klp-release (no-op) 2013-10-16 17:42:40 -07:00
Svetoslav
b196106a43 Printer list items have wrong width.
1. There was leftover code in the printers adapter that was
   hard coding the item width with no reason to do so.

2. Changed the icon view visibility to invisible to allow
   the text of all list items including save to PDF and all
   printers to be left aligned.

bug:11225340

Change-Id: I5b51d0d30577699f5cd73c7c58521358653d135b
2013-10-16 16:45:33 -07:00
Adam Powell
b6ed2b1cff Register receivers from ViewFlipper with an explicit Handler
Make sure that the BroadcastReceiver registered by ViewFlipper
enforces that messages come in on the correct (UI) thread.

Bug 11228463

Change-Id: I97f2a1c392f9c58a99afebc60170c9656bba86ad
2013-10-16 16:43:41 -07:00
Joe Fernandez
4928e2cef5 am e90993bb: am 61884867: am 2d96a0d3: FileProvider training fix: add note about Support Lib to setup lesson
* commit 'e90993bb5d30521fcb858702493b55836628b8b2':
  FileProvider training fix: add note about Support Lib to setup lesson
2013-10-16 16:40:17 -07:00
Zhijun He
6355103bca Merge "Camera2: filter bad faces" into klp-dev 2013-10-16 23:39:24 +00:00
Joe Fernandez
e90993bb5d am 61884867: am 2d96a0d3: FileProvider training fix: add note about Support Lib to setup lesson
* commit '6188486766230318ee1e4b91164f3c69c5a4359a':
  FileProvider training fix: add note about Support Lib to setup lesson
2013-10-16 16:37:48 -07:00
Svetoslav
265a099c10 Merge "Add APIs for an advanced print options activity." into klp-dev 2013-10-16 23:35:35 +00:00
Jeff Sharkey
5aca2b8dc4 Plumb through physical device UUID and label.
vold now parse out UUID and label for inserted physical devices,
and reports them to framework.  Add these to hidden StorageVolume
class for use by DocumentsUI and MediaProvider.

Remove last JNI method in FileUtils!

Bug: 11175082
Change-Id: I1cfcd1ade61767b103f693319ea2600008ee2e3c
2013-10-16 16:34:21 -07:00
Joe Fernandez
6188486766 am 2d96a0d3: FileProvider training fix: add note about Support Lib to setup lesson
* commit '2d96a0d3424314b53b46b0fd6fd5b0dad71e7790':
  FileProvider training fix: add note about Support Lib to setup lesson
2013-10-16 16:34:06 -07:00
Baligh Uddin
a41d7d9c6d Merge "Import translations. DO NOT MERGE" into klp-dev 2013-10-16 23:21:04 +00:00
Baligh Uddin
477af29d35 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-10-16 23:20:39 +00:00
Baligh Uddin
b65ab00e10 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-10-16 23:20:10 +00:00
Baligh Uddin
fde69a5370 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-10-16 23:19:58 +00:00
Zhijun He
844b3520cc Camera2: filter bad faces
Filter bad face score and ids.

Bug: 11257538
Change-Id: I9beb042e8c0d2f08a3efcd2877deee036b80482f
2013-10-16 16:13:50 -07:00
Dirk Dougherty
afb3a418c3 Merge "Doc change: add i/o 2013 design video embeds to videos page." into klp-dev 2013-10-16 23:10:12 +00:00
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
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
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
f6cfa3de15 Import translations. DO NOT MERGE
Change-Id: I0d8bd44f316030e84c59cfcc88559adfd1215825
Auto-generated-cl: translation import
2013-10-16 14:38:03 -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
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
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
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
Scott Main
4aa6b10c7f add some search suggestions
Change-Id: I6b3026bff30dc27119995d93529874fdfa000d5f
2013-10-16 11:18:04 -07:00
Svetoslav
5fe07aa7a8 Clear the caller identity when dumping print system state.
bug:11251806

Change-Id: I295db22f327bc81f911cf638295415689d54fe56
2013-10-16 11:15:45 -07:00
The Android Automerger
f7ff458902 merge in klp-release history after reset to klp-dev 2013-10-16 01:31:51 -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
Jeff Brown
9ef0997139 Make dump messages asynchronous.
Prevents the dump actions from being blocked by traversals.

Removed a stale comment on queueOrSendMessage and renamed it to
reflect its current implementation since it no longer has a secondary
queue.  Removed an unnecessary lock as well.

Bug: 10948648
Change-Id: Ic5fcc567212fb9cc07566c12f5f419af13c2b0b1
2013-10-15 20:52:31 -07:00
Jim Miller
db148b6556 Merge "Fix memory leak and slowness in keyguard" into klp-dev 2013-10-16 03:52:10 +00:00
Jeff Brown
5182c780a8 Log view root, input and looper state in bug reports.
Bug: 10948648
Change-Id: I956cce2a0fb516c02f9bbbc021f6238bcb226891
2013-10-15 20:31:52 -07: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
49b6d38fe7 Merge "Fix dodgy states of keyguard transport controls" into klp-dev 2013-10-16 01:41:22 +00:00
Adam Powell
bdb5ac7ddb Fix dodgy states of keyguard transport controls
If a layout has already been requested when we want to show the
correct widget pane, post the event for later and immediately return.

This works because PagedView has some interesting ideas about
maintaining a consistent state. It will attempt to recalculate the
current page position during measurement, but thanks to a reliance on
this measurement to establish scrolling boundaries that scrollTo uses
for clamping plus other code that depends on the idea that it can add
a new widget pane view and immediately scroll to it, this attempt to
scroll fails if the target page was added and measurement is not yet
complete. This patch ensures we don't hit these edge cases in a few
known ways.

While this ends things in the correct state, it predictably has a few
visual artifacts. Situations where things would completely fail
before, positioning pages incorrectly or fading out wrong pages now
will briefly flash and fade the widget frames or in some cases will
visibly animate from the starting page to the correct one. We should
address these issues in a future release.

Bug 11217368
Bug 9760604

Change-Id: I989d03b5bfdd5b6403a6b67a8aae7585ca0c8ae0
2013-10-15 18:10:41 -07:00
Jim Miller
ed80f3f01e Fix issue where keyguard reports a valid token but doesn't draw
This fixes an issue where keyguard isn't showing but tells
PhoneWindowManager to wait anyway.  The fix is to send a null token
when keyguard isn't showing.

Fixes bug 11216030

Change-Id: I4985fe50c63819415d9d5a1de0b741c8aa6391d8
2013-10-15 17:50:17 -07:00