6878 Commits

Author SHA1 Message Date
Jeff Sharkey
180e484ef0 am be416248: Merge "Remove persisted stacks when app removed/cleared." into klp-dev
* commit 'be416248631c001b846297597b25be9bccc960eb':
  Remove persisted stacks when app removed/cleared.
2013-10-24 15:37:45 -07:00
Jeff Sharkey
be41624863 Merge "Remove persisted stacks when app removed/cleared." into klp-dev 2013-10-24 22:32:58 +00:00
Jeff Sharkey
36dcadf070 am 909924de: am 8dd4c1d0: am 5ecfb557: Merge "Long-press on GET_CONTENT app shows its details." into klp-dev
* commit '909924de9fcf45b5d08e5d2b6b0301e7e0707d47':
  Long-press on GET_CONTENT app shows its details.
2013-10-24 12:40:10 -07:00
Jeff Sharkey
8e0164c566 am 46106ca2: am 686fa2db: am c832ef0d: Merge "Show spinner while waiting for mutations." into klp-dev
* commit '46106ca28e8a679ce2f0609d03ae6ba4b95d7f30':
  Show spinner while waiting for mutations.
2013-10-24 12:40:07 -07:00
Jeff Sharkey
909924de9f am 8dd4c1d0: am 5ecfb557: Merge "Long-press on GET_CONTENT app shows its details." into klp-dev
* commit '8dd4c1d062bfcfd46c48e568870856787852124c':
  Long-press on GET_CONTENT app shows its details.
2013-10-24 12:35:26 -07:00
Jeff Sharkey
46106ca28e am 686fa2db: am c832ef0d: Merge "Show spinner while waiting for mutations." into klp-dev
* commit '686fa2db5b8feeb9e378aeb8e5dbac2f79ef2153':
  Show spinner while waiting for mutations.
2013-10-24 12:35:22 -07:00
Jeff Sharkey
8dd4c1d062 am 5ecfb557: Merge "Long-press on GET_CONTENT app shows its details." into klp-dev
* commit '5ecfb557b1d38537b7a484505b550000980d17f1':
  Long-press on GET_CONTENT app shows its details.
2013-10-24 12:15:40 -07:00
Jeff Sharkey
686fa2db5b am c832ef0d: Merge "Show spinner while waiting for mutations." into klp-dev
* commit 'c832ef0d434f9c3834ef312dcabef43b2787e5ff':
  Show spinner while waiting for mutations.
2013-10-24 12:15:37 -07:00
Jeff Sharkey
5ecfb557b1 Merge "Long-press on GET_CONTENT app shows its details." into klp-dev 2013-10-24 18:23:17 +00:00
Jeff Sharkey
c832ef0d43 Merge "Show spinner while waiting for mutations." into klp-dev 2013-10-24 18:23:11 +00:00
Jeff Sharkey
758f97e46d Remove persisted stacks when app removed/cleared.
When an app's data is cleared, or it's uninstalled, remove any
persisted stacks.

Bug: 11355566
Change-Id: I4e5cf0ec710591ad62f1ad52c2e358616631af41
2013-10-24 11:22:20 -07:00
Daniel Sandler
b4cff47058 am dae53175: am 6714471b: am 9279d45b: DessertCase memory improvements
* commit 'dae531753a1332fac0cab62d0c850b63a88324ad':
  DessertCase memory improvements
2013-10-24 10:49:15 -07:00
Daniel Sandler
dae531753a am 6714471b: am 9279d45b: DessertCase memory improvements
* commit '6714471bffe1a9d1f55d586a4277209e19f7f9ed':
  DessertCase memory improvements
2013-10-24 10:45:13 -07:00
Daniel Sandler
6714471bff am 9279d45b: DessertCase memory improvements
* commit '9279d45b8d26c88c69fa917816ea396142627020':
  DessertCase memory improvements
2013-10-24 10:42:22 -07:00
Daniel Sandler
9279d45b8d DessertCase memory improvements
- reuse intermediate bitmaps when loading resources
  - only use hardware layers on views that are animating

Bug: 11269977
Change-Id: I39ad7aff16468632da47448404416404f3b54cc4
2013-10-24 17:27:33 +00:00
Baligh Uddin
15c33af2a3 Merge "Import translations. DO NOT MERGE" 2013-10-24 02:27:18 +00:00
Baligh Uddin
da13330d9b Merge "Import translations. DO NOT MERGE" into klp-dev 2013-10-24 02:27:01 +00:00
Baligh Uddin
4b6179eb29 Import translations. DO NOT MERGE
Change-Id: I889f14193d7f159c1a9426c74778a3cee3dc1ee2
Auto-generated-cl: translation import
2013-10-23 18:01:15 -07:00
Baligh Uddin
154fd0b2a2 Import translations. DO NOT MERGE
Change-Id: Ia0ce87e181ca1c425b1a4ea2427b267c9e5d1cf0
Auto-generated-cl: translation import
2013-10-23 17:59:26 -07:00
Baligh Uddin
6c36b31124 Import translations. DO NOT MERGE
Change-Id: Ie99771a16508911eeda206d3bb81a27b87168a91
Auto-generated-cl: translation import
2013-10-23 17:10:38 -07:00
Baligh Uddin
ef9d04a2b6 Import translations. DO NOT MERGE
Change-Id: If44c0d3258a9b125cfc1afe930af8f6524200ffd
Auto-generated-cl: translation import
2013-10-23 17:08:47 -07:00
Jeff Sharkey
c24bbd4ce5 Long-press on GET_CONTENT app shows its details.
Matches ResolverActivity behavior.

Bug: 11319259
Change-Id: Id7f2a73b225e4cfd9bdef3b1c7cecb77d9bd2b90
2013-10-23 16:05:56 -07:00
Jeff Sharkey
04d45a0bdd Show spinner while waiting for mutations.
When mutation operations are waiting for a storage backend, show a
spinner in place of the save button.

Bug: 11333249
Change-Id: I2b620b4532ad977a2b60d4bdc5caa55f89021456
2013-10-23 15:48:05 -07:00
Wink Saville
b896b9f742 Enhance pin/puk support
Add supplyPinReportResult & supplyPukReportResult that
returns the result code and attempts remaining.

Display "Attempts remaining" in Keyguard

Bug: 9928717
Change-Id: Ibad0635dd1375fabce11ba2b7b9f95f8868489e6
2013-10-23 15:44:26 -07:00
Chet Haase
28e8db1940 am 43757cc8: am 2a8eaff4: am c9d8e383: Merge "Fix leak with transitions when views get removed" into klp-dev
* commit '43757cc8438e85bf0633580c660c4861338f1da2':
  Fix leak with transitions when views get removed
2013-10-23 12:30:20 -07:00
Chet Haase
43757cc843 am 2a8eaff4: am c9d8e383: Merge "Fix leak with transitions when views get removed" into klp-dev
* commit '2a8eaff4ec10f5d554043c73c0e3424186e09a8a':
  Fix leak with transitions when views get removed
2013-10-23 12:27:27 -07:00
Chet Haase
2a8eaff4ec am c9d8e383: Merge "Fix leak with transitions when views get removed" into klp-dev
* commit 'c9d8e38317947c7860dcf6e8df032373ace183e9':
  Fix leak with transitions when views get removed
2013-10-23 12:24:16 -07:00
Chet Haase
c9d8e38317 Merge "Fix leak with transitions when views get removed" into klp-dev 2013-10-23 19:17:10 +00:00
Jeff Sharkey
ae25a1a89b am 05f92b7c: am 6599c128: am 871cb5d5: Merge "Update roots when data cleared, refresh UI." into klp-dev
* commit '05f92b7c5810dfc4e96cd5dddff1f7f380739136':
  Update roots when data cleared, refresh UI.
  Treat document thumbnails as preemptable.
2013-10-23 11:18:35 -07:00
Victoria Lease
3efe709991 am df5ba9bf: am d19e7af0: am 5eb3e07c: Merge "add accessibility string for location quicksetting" into klp-dev
* commit 'df5ba9bfeb8e77522fbea7cb60bd0d9da8fb5276':
  add accessibility string for location quicksetting
2013-10-23 11:18:32 -07:00
Jeff Sharkey
05f92b7c58 am 6599c128: am 871cb5d5: Merge "Update roots when data cleared, refresh UI." into klp-dev
* commit '6599c12843fe3c82a5a02978afeb262eeb76f3f4':
  Update roots when data cleared, refresh UI.
2013-10-23 11:13:06 -07:00
Jeff Sharkey
75b96875be am 3a27585d: am a9a6007c: Merge "Treat document thumbnails as preemptable." into klp-dev
* commit '3a27585df77997b5ea01a086b739ee6866000444':
  Treat document thumbnails as preemptable.
2013-10-23 11:13:01 -07:00
Victoria Lease
df5ba9bfeb am d19e7af0: am 5eb3e07c: Merge "add accessibility string for location quicksetting" into klp-dev
* commit 'd19e7af02ab2d3d21921e5a313c78285b308ad9c':
  add accessibility string for location quicksetting
2013-10-23 11:12:57 -07:00
Jeff Sharkey
6599c12843 am 871cb5d5: Merge "Update roots when data cleared, refresh UI." into klp-dev
* commit '871cb5d53f14ce6ead2c65ee3a4354e22276a169':
  Update roots when data cleared, refresh UI.
2013-10-23 11:11:11 -07:00
Jeff Sharkey
3a27585df7 am a9a6007c: Merge "Treat document thumbnails as preemptable." into klp-dev
* commit 'a9a6007c0d0acf6d908c897b471492dabbd9ae80':
  Treat document thumbnails as preemptable.
2013-10-23 11:11:08 -07:00
Victoria Lease
d19e7af02a am 5eb3e07c: Merge "add accessibility string for location quicksetting" into klp-dev
* commit '5eb3e07c5d8647f2bc250d37feb0c905621b2f90':
  add accessibility string for location quicksetting
2013-10-23 11:11:04 -07:00
Jeff Sharkey
871cb5d53f Merge "Update roots when data cleared, refresh UI." into klp-dev 2013-10-23 18:09:54 +00:00
Jeff Sharkey
a9a6007c0d Merge "Treat document thumbnails as preemptable." into klp-dev 2013-10-23 18:09:40 +00:00
Victoria Lease
5eb3e07c5d Merge "add accessibility string for location quicksetting" into klp-dev 2013-10-23 17:56:54 +00:00
Jeff Sharkey
46de7b5024 Update roots when data cleared, refresh UI.
Data cleared usually means accounts went away, so kick off roots
refresh.  Also update any visible UI after a refresh finishes.

Bug: 10899793
Change-Id: Id68c80b5e635e358cfd75f4961ce13cd1c7c5f82
2013-10-23 09:59:06 -07:00
Jeff Sharkey
b3d42635aa Treat document thumbnails as preemptable.
When a more important request comes along, preempt all outstanding
thumbnail requests.

Bug: 11317901
Change-Id: I164fc8d804bb9c471e6da3f8127228043b3ca482
2013-10-23 09:23:13 -07:00
Jim Miller
ca71f48e03 Remove '?' icon in layout for "Forgot pattern" button
Fixes bug 11234297

Change-Id: I5fbb54997b7a2bcf29b3a98b10a2ba4e908283ef
2013-10-22 16:29:17 -07:00
Chet Haase
df32aa8715 Fix leak with transitions when views get removed
Transitions, when started, add an OnPreDrawListener to the current
ViewTreeObserver (which is global to the view hierarchy). This listener
is removed when the listener is called.

It is possible to add this listener and then remove the view from
the hierarchy before the listener is called. This could result in
either the listener not getting called at all (since there was no
drawing event) or (in the case of this bug) the listener getting called
when the sceneRoot had no AttachInfo (which is the case when that
root has been removed from the hierarchy). This results in the listener
trying to remove itself from a *different* ViewTreeObserver than the one
it added itself to, leaving the actual listener still sitting on a list
of listeners in that original VTO. This can result in a growing list of
listeners and a growing amount of work that gets done on every frame.
It can also lead to a serious memory leak, since the objects referred to
by the transition may be non-trivial (as in the case of this bug).

The fix is to add another mechanism for the listener to get removed.
Specifically, we now listen for detach events on the sceneRoot. If that
view gets detached before the listener is called, then we have a chance to
remove it from the correct VTO before the AttachInfo becomes null.

Issue #11307391 keyguard is slow after updating to krt16c and playing music

Change-Id: I108413ea2f18f5351df0a11d4ae56fec0b4aa154
2013-10-22 16:27:56 -07:00
Baligh Uddin
d271d054a9 Merge "Import translations. DO NOT MERGE" 2013-10-22 19:48:09 +00:00
Baligh Uddin
f56d8694f2 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-10-22 19:48:05 +00:00
John Spurlock
42197263bc Optimize system bar background drawable.
Out with TransitionDrawable.

The new background drawable knows about all possible
background styles, and optimizes the transitions
between them - including picking up from the current
state, force finishing on screen off, and using
SystemClock.elapsedRealtime() for timing.

Bug:11254317
Change-Id: Ice83dc966f6674ef97f7008f2a1b62d67ec59e7d
2013-10-22 15:39:54 -04:00
Jim Miller
85d7ecfa4b am 6ed3ce0b: am 253f7295: am 1693f6a5: Prevent having multiple seek runnables in flight.
* commit '6ed3ce0b71b8d2c180fc9f610eb13cd35dc8ab5e':
  Prevent having multiple seek runnables in flight.
2013-10-21 17:30:29 -07:00
Jim Miller
6ed3ce0b71 am 253f7295: am 1693f6a5: Prevent having multiple seek runnables in flight.
* commit '253f7295c820bf960c0411288495145582a0d3b2':
  Prevent having multiple seek runnables in flight.
2013-10-21 17:27:25 -07:00
Jim Miller
253f7295c8 am 1693f6a5: Prevent having multiple seek runnables in flight.
* commit '1693f6a5639a1f993bdc1dca9dade5e3eb3c14f2':
  Prevent having multiple seek runnables in flight.
2013-10-21 17:23:54 -07:00
Jim Miller
1693f6a563 Prevent having multiple seek runnables in flight.
This fix ensures that only one runnable is running at a time, no matter how
many events come in.  There's probably a better way to do this, but this is a
safe fix.

Fixes bug 11307391

Change-Id: I007c95062b20285571f39603c95fb9174b9a2da3
2013-10-21 17:17:40 -07:00