232531 Commits

Author SHA1 Message Date
Doris Liu
18bdf443e3 VectorDrawable native rendering - Step 5 of MANY
Implemented reset() (public API for AVD)
and reverse() (internal API that needs to be supported)

Change-Id: Ife1650049f271cad1347943151a5800c40c20aa2
2016-02-11 01:08:47 +00:00
Jeff Davidson
7f036f8bce Merge "Expose APIs to analyze UIDs in UserHandle/Process." into nyc-dev 2016-02-11 00:52:02 +00:00
John Reck
7df9ff2a08 Fix all LA memory leaks forever!
Bug: 27072626

Or at least fix this one and make it harder to leak
going forward. static_asserts are cool, use them liberally

Also makes allocation via LA (slightly) faster by fixing create*
variants to use rvalue references & std::forward, preventing
an accidental pass-by-value

Change-Id: I18fd696a93dd6ea49c8d8c587d4c8bee56dbfdf5
2016-02-11 00:42:23 +00:00
John Reck
6354f440da Merge "Revert "Fix all LA memory leaks forever!"" into nyc-dev 2016-02-11 00:41:46 +00:00
John Reck
e537330ead Revert "Fix all LA memory leaks forever!"
This reverts commit 499d83f21e7ffb687788bba1668b05fe38f6ebaf.

Change-Id: Ia893ae16ebbeae68e49cd13a20587104b73d39a0
2016-02-11 00:36:34 +00:00
Mihai Nita
c67b64fda4 Flag all the locales of the default region as suggested
This was done by the SetupWizard to suggest the default locale
before the SIM was detected.
It is also handy for devices without SIM (tablets).

Bug: 26784450
Bug: 26882058
Bug: 26939651
Change-Id: Ia1d3b2ef4756121cf6ca13d5d7280215df060a8f
2016-02-11 00:34:45 +00:00
John Reck
ab9651b9e1 Merge "Fix all LA memory leaks forever!" into nyc-dev 2016-02-11 00:30:14 +00:00
John Reck
499d83f21e Fix all LA memory leaks forever!
Bug: 27072626

Or at least fix this one and make it harder to leak
going forward. static_asserts are cool, use them liberally

Also makes allocation via LA (slightly) faster by fixing create*
variants to use rvalue references & std::forward, preventing
an accidental pass-by-value

Change-Id: I5e0e36e72c6dd93324194ebf9a95f8204f05f261
2016-02-10 16:11:26 -08:00
Sanket Padawe
72494f69b5 Merge "Add OEM specific error code space which can by used to replace Generic errors." into mm-wireless-dev
am: de0cc7f4d3

* commit 'de0cc7f4d3b3c8abbb73f2a65a52fbd77001afeb':
  Add OEM specific error code space which can by used to replace Generic errors.
2016-02-11 00:10:36 +00:00
Sanket Padawe
de0cc7f4d3 Merge "Add OEM specific error code space which can by used to replace Generic errors." into mm-wireless-dev 2016-02-11 00:04:01 +00:00
Shuzhen Wang
1b59699877 Merge "Camera2: Clarify ordering between onCaptureStart and onCaptureProgressed" into nyc-dev 2016-02-10 23:48:49 +00:00
Shuzhen Wang
0fc589cb29 Camera2: Clarify ordering between onCaptureStart and onCaptureProgressed
It's not a guarantee that onCaptureProgressed happens after
onCaptureStart for a particular request.

Bug: 26676240
Change-Id: I900c3b36e1738dd3514954498023eaa4a1618989
2016-02-10 15:40:03 -08:00
Jeff Davidson
48aa86bd0b Expose APIs to analyze UIDs in UserHandle/Process.
Clients of the NetworkStatsManager public APIs may get UIDs belonging
to other users, and UIDs which don't actually represent applications.
These APIs allow clients to understand whether a given ID belongs to
the same user as themselves, and whether an ID represents an
application or something else (e.g. a system UID).

Change-Id: Ia56d5891521ce98e5594c41da8f9d756819deb66
2016-02-10 15:20:33 -08:00
Mark Renouf
960170c63b Merge "Assign Theme.DeviceDefault.Settings -> Theme.Micro for watches" into nyc-dev 2016-02-10 23:11:14 +00:00
Andres Morales
e5951de6c8 Merge "check for null members in NotifyHandler" into nyc-dev 2016-02-10 23:01:11 +00:00
Suprabh Shukla
338c1d8607 Merge "Added an api to uninstall a packge with active DAs" into nyc-dev 2016-02-10 22:47:59 +00:00
Erik Kline
db338c2e90 Merge "Incorporate historical WifiStateMachine notions of provisioning." into mm-wireless-dev
am: f94dc18746

* commit 'f94dc18746d93e98d2e48cdd25b799aa20a142ab':
  Incorporate historical WifiStateMachine notions of provisioning.
2016-02-10 22:13:31 +00:00
Jeff Sharkey
406e9d44fd Merge "Consistent naming for internal storage APIs." into nyc-dev 2016-02-10 22:11:52 +00:00
Jeff Sharkey
8212ae0aee Consistent naming for internal storage APIs.
Also completely remove a few confusingly named deprecated APIs.

Change-Id: Ia7e4ea3190a97f0a7dfa9bebf2118da0866ec38f
2016-02-10 15:03:33 -07:00
Makoto Onuki
cc725a4b6c Merge "Use Slog.e() instead of Slog.wtf() for unknown restrictions" into nyc-dev 2016-02-10 21:59:15 +00:00
Suprabh Shukla
a2ae2238e5 Added an api to uninstall a packge with active DAs
The api deactivates all the active admins in the package, then force
stops the package and starts the uninstall intent for the package. This
is intended to provide an easy way for a user to delete a misbehaving
Device Admin

Bug: b/22359208
cherrypick of Ic7ddd89ef6db53e7e76f805808d9e806100374db

Change-Id: I0d677839120c46f22231a7d6f9cf6630cb020227
2016-02-10 13:57:22 -08:00
Jason Monk
ee4ce4233c Merge changes I8a56254b,I618e363c into nyc-dev
* changes:
  Fix QS input handling
  Extract QS animations to QSContainer
2016-02-10 21:56:17 +00:00
Jason Monk
16ac3774e3 Fix QS input handling
Remove the observable scroll view and put the qs container in its
place.  Also update the NotificationStackScrollerLayout to be aware
of the container and not eat up its touches as scroll events.

Change-Id: I8a56254bf8e76a7cdd63bd637a974c1f3aa49482
2016-02-10 16:54:16 -05:00
Wale Ogunwale
de41f15a14 Merge "Don't stop paused activities that are visible." into nyc-dev 2016-02-10 21:48:42 +00:00
Jason Monk
26a3f15a2c Merge "Move editing from long press to edit button" into nyc-dev 2016-02-10 21:47:55 +00:00
Wale Ogunwale
d802664120 Don't stop paused activities that are visible.
Paused activities can be visible, but stopped activities are not
visible.

Change-Id: I305f77542d198ca897b33ad07ac3fc2a14a04397
2016-02-10 13:46:50 -08:00
Jason Monk
2142843ea5 Move editing from long press to edit button
Change-Id: I2bd0e2febbde4babe05545c79d585280a7b2fb14
2016-02-10 16:44:51 -05:00
Makoto Onuki
ad5619d447 Use Slog.e() instead of Slog.wtf() for unknown restrictions
Slog.wtf() normally indicates a bug in the system, but in this case
it's a caller side issue, so e() is more suitable.

Bug 26918715

Change-Id: I94980cb9dafd34e6c5672bf833fec921df14e6a1
2016-02-10 13:41:15 -08:00
Julia Reynolds
dc414fa479 Merge "Don't unbind services unnecessarily." into nyc-dev 2016-02-10 21:34:55 +00:00
Mark Renouf
06844df823 Assign Theme.DeviceDefault.Settings -> Theme.Micro for watches
This theme is explicitly referenced via a ContextThemeWrapper,
used in InputMethodManager when constructing the alert dialog for
showInputMethodPicker(). This theme does not seem to be referenced
elsewhere in the platform.

BUG: 24803707
Change-Id: I5a67ef6e4387620a9624d13e7d76ef6f4f1d2cd2
2016-02-10 21:23:31 +00:00
Abhijith Shastry
ebfc362370 Merge "Add hidden APIs for number blocking which will be used by the system." into nyc-dev 2016-02-10 21:22:52 +00:00
Youngsang Cho
4ecf78116e TIF: Add INPUT_ID field in RecordedProgram
INPUT_ID can be retrieved from CHANNEL_ID. But, even if the channel
is removed, recording should be playable. So INPUT_ID is needed.

Change-Id: I7042a19758ce71e77ca2ae7613015e4d22f0d41f
2016-02-10 21:16:22 +00:00
Erik Kline
f94dc18746 Merge "Incorporate historical WifiStateMachine notions of provisioning." into mm-wireless-dev 2016-02-10 21:15:11 +00:00
Julia Reynolds
9a86cc0c31 Don't unbind services unnecessarily.
When rebinding services, don't unbind from services that are still allowed to
be bound.

Change-Id: I5f250724d2d0931ee0ac7d1182e9c1d8122bfdf0
2016-02-10 15:56:18 -05:00
Jason Monk
e1be342615 Extract QS animations to QSContainer
Move some of the logic for QS animations into QSContainer with a
stable interface for NotificationPanelView to call.

This also moves the QSPanel out of the scroll container and up
to live in with the header (QSContainer is the parent of both
the header and the QSPanel now).

Change-Id: I618e363ccca2be9197a4a75256e0b7841ca2c61c
2016-02-10 15:42:39 -05:00
Andres Morales
e3f0818b1a check for null members in NotifyHandler
An unexpected message posted to the queue should not
crash the application.

Bug: 27097094
Change-Id: Ide6a07014660ff14e0f287660c534cfa1e0acad9
2016-02-10 12:35:16 -08:00
Abhijith Shastry
b87c90ce9f Add hidden APIs for number blocking which will be used by the system.
These APIs will ensure that blocking is suppressed after the user contacts emergency services.

BUG: 26989170

Change-Id: Ib78c9faa31a6d4bfb62b690f97d5ca8084d69927
2016-02-10 12:06:45 -08:00
Ritesh Reddy
f61a847881 Merge "Enabled Network Policy Backup/Restore." into mm-wireless-dev
am: d9c4bc0c4d

* commit 'd9c4bc0c4db7a8b16d8ea0f58ed0615efc167f47':
  Enabled Network Policy Backup/Restore.
2016-02-10 19:46:20 +00:00
Sergey Poromov
f4f1ca0b47 Merge "Update bmgr tool." into nyc-dev 2016-02-10 19:40:54 +00:00
Sergey Poromov
eb07707232 Merge "Fix that backupFinished() callback is not called sometimes." into nyc-dev 2016-02-10 19:40:50 +00:00
Ritesh Reddy
d9c4bc0c4d Merge "Enabled Network Policy Backup/Restore." into mm-wireless-dev 2016-02-10 19:37:17 +00:00
Jae Seo
c980f43d94 TIF: Clean the hardware input list when the input service is reconnected
Needed to avoid adding duplicate TvInputInfo objects when the hardware
TV input service is killed and reconnected.

Bug: 26503803
Change-Id: I9265219678cb8594d43dac561f1e69c21d9c2733
(cherry picked from commit 6657e292a57e600669b3102d27f69497c45f899d)
2016-02-10 19:33:46 +00:00
Shreyas Basarge
2b4c8f926f SyncManager sync blow up fix
Duplicates for periodic syncs would be
created just after boot and when a
periodic sync was delayed. This CL fixes
the behavior.

Bug: 26954967
Change-Id: I2440961629d443a62f96360563d435af9137857b
(cherry picked from commit 1675400a7cd0b56e5adc5606fb4fea77f8d24ea5)
2016-02-10 19:09:44 +00:00
Andy Hung
4fdeed9501 Merge "Add AudioRecord timestamps" into nyc-dev 2016-02-10 18:56:16 +00:00
Adrian Roos
9b123cf9bb Make actions extend over the whole action rail
Bug: 26767249
Change-Id: I3c67f1de40b218aa21f0a1f68bda1032c0804a14
2016-02-10 18:39:40 +00:00
Daniel U
82b00ede71 Merge "Allow different paragraph breaks in fromHtml()" into nyc-dev 2016-02-10 18:36:12 +00:00
Daniel U
cf1fa60331 Allow different paragraph breaks in fromHtml()
- Separate block-level elements with different numbers of newline
  characters according to the user specified option flag.

- Parse the ALIGN attribute and the CSS TEXT-ALIGN property to handle text
  alignment.

- Rename "header" to the correct term "heading"

Change-Id: I446fa97155e761623a1da6632a0d872a5e47e8af
2016-02-10 18:28:07 +00:00
Jae Seo
425c8bf292 Merge "TIF: Rename connect()/disconnect() and remove unnecessary methods" into nyc-dev 2016-02-10 18:27:06 +00:00
Jorim Jaggi
dcb6814523 Reset docked stack resizing when divider dies
Bug: 27062375
Change-Id: I699f8d99ceab8405bcb973942787ee80caea12b2
2016-02-10 18:25:22 +00:00
Erik Kline
990fc4968d Incorporate historical WifiStateMachine notions of provisioning.
Also: considerably expand logging capabilities.

Bug: 26991160
Change-Id: I36c3c1d2158ffd178e8ce163b8799d62938f39c7
2016-02-11 03:21:48 +09:00