233580 Commits

Author SHA1 Message Date
Dongwon Kang
df1e10ddac TIF: Add @NonNull for Programs.Genres.encode/decode
Bug: 27292029
Change-Id: Ib74f6383f3b0880179b51268e730ea8e88ab20c3
2016-02-23 12:43:58 -08:00
Wale Ogunwale
f8df4d0d43 Merge "Changed sys-ui manifest to use resizeableActivity attribute..." into nyc-dev 2016-02-23 18:37:49 +00:00
Jae Seo
47d1f420bb Merge "TIF: Hide android.permission.READ_TV_LISTINGS" into nyc-dev 2016-02-23 18:37:41 +00:00
Felipe Leme
978b4d0e43 Merge "Fixed MetricsLogger usage." into nyc-dev 2016-02-23 18:33:03 +00:00
Felipe Leme
d426d12bb4 Fixed MetricsLogger usage.
BUG: 26759986
Change-Id: Ice16c58f09de8778240ae845917e59bf36ccd112
2016-02-23 10:32:16 -08:00
Chris Wren
34f6f699f0 Merge "hide the nanos even harder" into nyc-dev 2016-02-23 18:25:14 +00:00
Selim Cinek
729166fb44 Merge "Fixed a bug where QS could fling up even when collapsing" into nyc-dev 2016-02-23 18:21:11 +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
65698a9638 Merge "Revive the "Optimizing apps" dialog" into nyc-dev 2016-02-23 18:04:40 +00:00
Wale Ogunwale
dc62575dd2 Changed sys-ui manifest to use resizeableActivity attribute...
Instead of resizeable attribute. resizeableActivity is what is used
for multi-window. The code currently works because it targets N :/

Change-Id: I82f1b1b46f66ea39ae682ed1d45f97bc6247b0bd
2016-02-23 10:02:58 -08:00
Aga Wronska
c7bf3f7cb8 Merge "Fix RenameDocumentFragment crash on rotation" into nyc-dev 2016-02-23 18:00:12 +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
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
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
Chris Wren
2633e24ed8 hide the nanos even harder
Bug: 26925668
Change-Id: Ic56460926bd62ac41e64f4d37f52d962976ca644
2016-02-23 11:10:44 -05: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
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
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
e2f0f73591 Merge "Don't show UNLOCK button when there are no users." into nyc-dev 2016-02-23 15:40:08 +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
bdcc9b77c8 Merge "Scale volume panel with density changes." into nyc-dev 2016-02-23 14:51:35 +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
Benjamin Franz
72283fdb61 Merge "Make user provisioning state SystemApi" into nyc-dev 2016-02-23 13:51:08 +00:00
Benjamin Franz
eed2a8e165 Make user provisioning state SystemApi
These APIs are used by the SUW. To go with the convention that all SUW
APIs should be SystemApi, adding it to these ones.

Bug: 25858670
Change-Id: Icffc9cdc13fa87da3543d92308f87dd0c9764c81
2016-02-23 13:02:57 +00:00
Toby Sargeant
cf7518f78a Merge "add @SystemApi to WEBVIEW_MULTIPROCESS to enable it to be used in WebView glue" into nyc-dev 2016-02-23 10:35:09 +00:00
Tony Mak
38e638696a Merge "Update javadoc of DISALLOW_OUTGOING_CALLS" into nyc-dev 2016-02-23 10:24:50 +00:00
Lorenzo Colitti
2a452d48d5 Merge "Add a unit test for MessageUtils." into mm-wireless-dev
am: 6f027b4f06

* commit '6f027b4f0651837877e0f291bbf121436dfe3958':
  Add a unit test for MessageUtils.
2016-02-23 07:49:06 +00:00
Lorenzo Colitti
6f027b4f06 Merge "Add a unit test for MessageUtils." into mm-wireless-dev 2016-02-23 07:43:40 +00:00
Seigo Nonaka
ae90f5ff23 Merge "Stop unexpected truncation of suggestion items." into nyc-dev 2016-02-23 06:26:41 +00:00
Tomasz Mikolajewski
0d47cd2912 Merge "Cleanup error handling in jobs." into nyc-dev 2016-02-23 06:00:11 +00:00
Jae Seo
b1f7fab4e4 TIF: Hide android.permission.READ_TV_LISTINGS
Bug: 21959866
Change-Id: Ie0e36749b8fe86faebadfaab4ebe5847fac3c343
2016-02-22 21:35:32 -08:00
Wei Wang
a360443cdc Merge branch 'nyc-dev' of /usr/local/google/game/mirror/googleplex-android_googlesource_com/platform/frameworks/base into nyc-dev 2016-02-23 05:14:27 +00:00
Wei Wang
f89786f31c Merge "Disallow duplicate listeners for WifiScanner." into mm-wireless-dev
am: 3c0d65de0b

* commit '3c0d65de0bbd7889f340aca4a45e55972de5896f':
  Disallow duplicate listeners for WifiScanner.
2016-02-23 05:13:19 +00:00
Steve McKay
6738b2930c Merge "Don't enable move to for non deletable selections." into nyc-dev 2016-02-23 05:12:39 +00:00
Wei Wang
3c0d65de0b Merge "Disallow duplicate listeners for WifiScanner." into mm-wireless-dev 2016-02-23 05:09:38 +00:00
Steve McKay
27d20a3024 Don't enable move to for non deletable selections.
Bug: 27135562
Change-Id: Id09b4c9d4f9836a4e5b2f66b8cbad63be9bb62b3
2016-02-22 21:08:37 -08:00