Commit Graph

234344 Commits

Author SHA1 Message Date
Felipe Leme
343b9150b2 Merge "Created counter (tron_varz_dumpstate_duration) for dumpstate duration." into nyc-dev
am: fe9731f4f2

* commit 'fe9731f4f287560d43f9af48c5be555e8a727955':
  Created counter (tron_varz_dumpstate_duration) for dumpstate duration.
2016-02-23 18:20:50 +00:00
Felipe Leme
fe9731f4f2 Merge "Created counter (tron_varz_dumpstate_duration) for dumpstate duration." into nyc-dev 2016-02-23 18:14:27 +00:00
Nicolas Geoffray
2cbf51ce01 Merge "Revive the "Optimizing apps" dialog" into nyc-dev
am: 65698a9638

* commit '65698a963822590180af3cd82a4e869f6aa94730':
  Revive the "Optimizing apps" dialog
2016-02-23 18:12:05 +00:00
Aga Wronska
40eb552b17 Merge "Fix RenameDocumentFragment crash on rotation" into nyc-dev
am: c7bf3f7cb8

* commit 'c7bf3f7cb8a2506297c2ccb5ebcb7f0b9aba4ee3':
  Fix RenameDocumentFragment crash on rotation
2016-02-23 18:10:20 +00:00
Nicolas Geoffray
65698a9638 Merge "Revive the "Optimizing apps" dialog" into nyc-dev 2016-02-23 18:04:40 +00:00
Jean-Michel Trivi
49271e3c5e Merge "New constant for BUS audio devices" into nyc-dev
am: 7e2127a970

* commit '7e2127a9700727660794b949f3daaf039501fa1b':
  New constant for BUS audio devices
2016-02-23 18:03:58 +00:00
Philipp Weiß
b737c71611 Merge "Remove deprecated APIs DPM.createUser, createAndInitializeUser" into nyc-dev
am: f398479e06

* commit 'f398479e069c7accb1f96b06b32e086609342669':
  Remove deprecated APIs DPM.createUser, createAndInitializeUser
2016-02-23 18:01:41 +00:00
Aga Wronska
c7bf3f7cb8 Merge "Fix RenameDocumentFragment crash on rotation" into nyc-dev 2016-02-23 18:00:12 +00:00
Felipe Leme
5e43dcfc02 Merge "Initial implementation of logging metrics for bugreport." into nyc-dev
am: 4e34c4e53c

* commit '4e34c4e53c21f004cb575c0d46c83565b33fed88':
  Initial implementation of logging metrics for bugreport.
2016-02-23 17:56:54 +00:00
Jean-Michel Trivi
7e2127a970 Merge "New constant for BUS audio devices" into nyc-dev 2016-02-23 17:55:29 +00:00
Philipp Weiß
f398479e06 Merge "Remove deprecated APIs DPM.createUser, createAndInitializeUser" into nyc-dev 2016-02-23 17:53:58 +00:00
Felipe Leme
4e34c4e53c Merge "Initial implementation of logging metrics for bugreport." into nyc-dev 2016-02-23 17:48:56 +00:00
Shweta Chahar
02dce14839 Merge "Add strings for TTS speech pitch seekbar." into nyc-dev
am: 37550dd344

* commit '37550dd3449df12078eb5562b7c704ff4975a632':
  Add strings for TTS speech pitch seekbar.
2016-02-23 17:46:39 +00:00
Aga Wronska
7113872024 Fix RenameDocumentFragment crash on rotation
Bug: 26972374
Change-Id: I820661bc5363fe8ccc3ea39b3e27510907ddf2ef
2016-02-23 09:43:32 -08:00
Shweta Chahar
37550dd344 Merge "Add strings for TTS speech pitch seekbar." into nyc-dev 2016-02-23 17:40:57 +00:00
Felipe Leme
510e922e47 Created counter (tron_varz_dumpstate_duration) for dumpstate duration.
BUG: 26759986
Change-Id: I18534c127b35776a03e31b9d5cd190d864dff9e6
2016-02-23 09:40:13 -08:00
Felipe Leme
6605bd89c5 Initial implementation of logging metrics for bugreport.
This change logs the following user actions:

  - Interactive bug report initiated from power menu.
  - Full bug report initiated from power menu.
  - Bug report canceled using system notification.
  - Bug report details screen open using system notification.
  - Additional Bug report screen shot taken using system notification.
  - User changed bug report name using the details screen.
  - User changed bug report title using the details screen.
  - User changed bug report description using the details screen.
  - Changes made on bug report details screen were saved by user.
  - Changes made on bug report details screen were canceled by user.

BUG: 26759986
Change-Id: I1aae98b87a4dea66a1030a024dd799b97c25dd6d
2016-02-23 09:08:56 -08:00
Jean-Michel Trivi
fa7c0274bf Merge "Make android.media.AudioFormat parcelable" into nyc-dev
am: a572e4a87b

* commit 'a572e4a87b361398a8a8b4ce485fe9226472c81f':
  Make android.media.AudioFormat parcelable
2016-02-23 16:58:22 +00:00
Jean-Michel Trivi
a572e4a87b Merge "Make android.media.AudioFormat parcelable" into nyc-dev 2016-02-23 16:54:12 +00:00
shwetachahar
686570a618 Add strings for TTS speech pitch seekbar.
Bug: 27137452
Change-Id: Id9cb836c0e802444f0cfc611c715d7e3e2c359de
2016-02-23 16:33:53 +00:00
Jorim Jaggi
ebe80b5f43 Merge changes I78305f7f,I6faf0167 into nyc-dev
am: 5dea9e79c2

* commit '5dea9e79c240064526a2a20931e1fc9e0eea89f0':
  Fix disappearing windows after moving divider to side
  Recents transition fixes
2016-02-23 16:21:18 +00:00
Wale Ogunwale
7c8b1a873a Merge "Only copy layout param title if it is different from the current one." into nyc-dev
am: 70c0817b76

* commit '70c0817b76c255ac3c17e513a5545d7ef9e4126c':
  Only copy layout param title if it is different from the current one.
2016-02-23 16:08:12 +00:00
Jorim Jaggi
5dea9e79c2 Merge changes I78305f7f,I6faf0167 into nyc-dev
* changes:
  Fix disappearing windows after moving divider to side
  Recents transition fixes
2016-02-23 16:03:41 +00:00
Wale Ogunwale
70c0817b76 Merge "Only copy layout param title if it is different from the current one." into nyc-dev 2016-02-23 16:01:23 +00:00
David Brazdil
d6fd63d47f Revive the "Optimizing apps" dialog
Since we do spend some non-trivial time extracting APKs at OTA, we
should show a descriptive dialog. Currently the screen would read
"Optimizing storage" which is misleading.

bug:26813999

Change-Id: I4954e3b486840b5d806db8b45242fdc8ca9d0379
2016-02-23 16:01:00 +00:00
Wale Ogunwale
a0a9609ab3 Merge "Make accessing mWaitingForDrawn thread-safe" into nyc-dev
am: fa52124d1e

* commit 'fa52124d1e04cac3667989728d9c3387b5dd0592':
  Make accessing mWaitingForDrawn thread-safe
2016-02-23 15:56:32 +00:00
Wale Ogunwale
1f240c9fbf Only copy layout param title if it is different from the current one.
Fixes WindowManager_LayoutParamsTest failure introduced in ag/866860

Bug: 27297744
Change-Id: I27ebf5d35b074d6b9c1634bc7cd18bba2844352e
2016-02-23 07:54:03 -08:00
Wale Ogunwale
1fc73e655d Merge "Make accessing mWaitingForDrawn thread-safe" am: f0cf899033
am: 2850a42a9f  -s ours

* commit '2850a42a9f330e0d5bed27f89464cb095d7057c0':
  Make accessing mWaitingForDrawn thread-safe
2016-02-23 15:53:11 +00:00
Wale Ogunwale
fa52124d1e Merge "Make accessing mWaitingForDrawn thread-safe" into nyc-dev 2016-02-23 15:53:00 +00:00
Jorim Jaggi
5e6968db63 Fix disappearing windows after moving divider to side
Because we only hide the surface when the clip rect got empty
but never showed it again if it got non-empty, app windows
disappeared after moving the docked stack divider to the
edge of the screen. Now we reshow the surfaces if the clip-rect
gets non-empty.

However, this introduces another bug while dismissing the docked
stack: Because we move all windows to the fullscreen stack, we resize
them but until the app transition starts, it can take a while and
during this time the app surface would be visible with the wrong
bounds. To fix this, we notify the windows that we are repositioning
ourselves in our stack. When applying the clip-rect, we detect that
situation and then we set the clip rect to empty if it was just empty
before and we just moved in the stack, to fix this very specific
issue.

I'm really not proud of this solution but at this point we can't
revisit how app transitions are executed in terms of timing and
ordering, so I thought this little hack is the best solution at
this point.

Bug: 26588506
Change-Id: I78305f7f7ef6c3da3c126a58d751117fcee23ca9
2016-02-23 10:50:55 -05:00
Jorim Jaggi
8fa4522b24 Recents transition fixes
- Make sure to destroy the saved surfaces while we resize a task. The
usual destroying mechanism doesn't work here because we don't add the
windows to WMS.mResizingWindows.
- Make sure not to save the surface when a resize happened after the
window has been marked as gone (exiting). In this case, we resize the
task, so we add the window to mResizingWindows, but then when we don't
layout the window because win.isGoneForLayout() == true, so it would
save a surface that has the wrong size.
- Ensure the configuration of the top task when dismissing the docked
stack. First, this speeds up when the user navigates to it in the
fullscreen stack. Second, it fixes some other weirdness with saving
surfaces.
- Only exclude windows from layout when hidden is requested, so when
transitioning from hidden -> shown, the app immediately gets the
updated size when the task was resized when the window was hidden.

Bug: 27276087
Change-Id: I6faf016724136d984b259d184af58d41684f3425
2016-02-23 10:50:34 -05:00
tiger_huang
826a2c12a6 Make accessing mWaitingForDrawn thread-safe
mWaitingForDrawn can be accessed by multiple threads, but it was not
protected by the mWindowMap lock perfectly.

Change-Id: I128ba1a00f40af83b051c0d1df4350d0635a9dff
2016-02-23 07:49:21 -08:00
Vadim Tryshev
ba053bb55b Merge "Don\'t show UNLOCK button when there are no users." into nyc-dev
am: e2f0f73591

* commit 'e2f0f73591d9d81d4b573bd4b412821d632726fe':
  Don't show UNLOCK button when there are no users.
2016-02-23 15:42:36 +00:00
Vadim Tryshev
e2f0f73591 Merge "Don't show UNLOCK button when there are no users." into nyc-dev 2016-02-23 15:40:08 +00:00
Wale Ogunwale
2850a42a9f Merge "Make accessing mWaitingForDrawn thread-safe"
am: f0cf899033

* commit 'f0cf8990330dd592b114374ad15b75bc01f69e47':
  Make accessing mWaitingForDrawn thread-safe
2016-02-23 15:39:45 +00:00
Wale Ogunwale
f0cf899033 Merge "Make accessing mWaitingForDrawn thread-safe" 2016-02-23 15:34:53 +00:00
Jesse Hall
03d2fb32c1 Merge "PackageManager: add Vulkan system features" into nyc-dev
am: 791a7df8b2

* commit '791a7df8b2d4cef843b109aa98a0a9e2ff429462':
  PackageManager: add Vulkan system features
2016-02-23 15:15:43 +00:00
Kenny Guy
edb75601ac Merge "Don\'t load profile widgets until parent is unlocked." into nyc-dev
am: 0a6909cdfd

* commit '0a6909cdfd105a64b1ff51a64621b4c5778a2cc0':
  Don't load profile widgets until parent is unlocked.
2016-02-23 15:13:06 +00:00
Jesse Hall
791a7df8b2 Merge "PackageManager: add Vulkan system features" into nyc-dev 2016-02-23 15:11:52 +00:00
Kenny Guy
0a6909cdfd Merge "Don't load profile widgets until parent is unlocked." into nyc-dev 2016-02-23 15:09:02 +00:00
Kenny Guy
63f4ef0b7d Don't load profile widgets until parent is unlocked.
Wait for parent user to be unlocked before attempting
to load widgets for a user.
Fixes issue with profile being unlocked and AppWidgetServiceImpl
thinking it has loaded parents widgets while locked and
therefore not seeing any widgets.

Bug: 27037962
Change-Id: Ice9c5e6e1dd062a622c5f984eeb3531de893f9be
2016-02-23 14:55:01 +00:00
Julia Reynolds
e24dabdfdb Merge "Scale volume panel with density changes." into nyc-dev
am: bdcc9b77c8

* commit 'bdcc9b77c83639896b69f2e03675744dc6c1fcf3':
  Scale volume panel with density changes.
2016-02-23 14:54:37 +00:00
Julia Reynolds
bdcc9b77c8 Merge "Scale volume panel with density changes." into nyc-dev 2016-02-23 14:51:35 +00:00
Alan Viverette
d5ee1dff34 Merge "Fix build" into nyc-dev
am: e44310cd95

* commit 'e44310cd9521a9a9c98a84005f814753280b4d9c':
  Fix build
2016-02-23 14:47:17 +00:00
Alan Viverette
e44310cd95 Merge "Fix build" into nyc-dev 2016-02-23 14:44:25 +00:00
Alan Viverette
64eed5b1ee Fix build
Change-Id: I61a63e66831bbbcade17b3656f9ec18ced8ad628
2016-02-23 09:00:26 -05:00
Jason Monk
fbeeeb1c98 Merge "Fix NPE in BaseStatusbar in onListenerConnected" am: ffef959ca4
am: c3eb211b70

* commit 'c3eb211b702035d3dba79708c0550ac821eb9f39':
  Fix NPE in BaseStatusbar in onListenerConnected
2016-02-23 13:59:00 +00:00
Jason Monk
c3eb211b70 Merge "Fix NPE in BaseStatusbar in onListenerConnected"
am: ffef959ca4

* commit 'ffef959ca4e2607a3e4e3f0f23e4aaa3e1b3aafa':
  Fix NPE in BaseStatusbar in onListenerConnected
2016-02-23 13:55:28 +00:00
Benjamin Franz
6bd76ca08a Merge "Make user provisioning state SystemApi" into nyc-dev
am: 72283fdb61

* commit '72283fdb61df5c057d105644f0ae35ae9ae248b5':
  Make user provisioning state SystemApi
2016-02-23 13:55:20 +00:00
Jason Monk
ffef959ca4 Merge "Fix NPE in BaseStatusbar in onListenerConnected" 2016-02-23 13:51:22 +00:00