13028 Commits

Author SHA1 Message Date
Jason Monk
b65b7105cd Revert "Add Preference#onDetachedFromActivity"
This reverts commit e18dc50c63110a57cfc29ec9bd21bf3f59abb6b4.
Fixes: 27807793

Change-Id: Ib0384e3deb8d6376265e8e60f14490de128c9b68
(cherry picked from commit eff3ca5480789c51768a3a1697503fbbdadc1bd6)
2016-04-05 14:06:47 +00:00
Jason Monk
7c359bf6df Fix Build
Previous revert didn't catch test-current.txt

Change-Id: I82575361bcc4f3c7e05dbec4cbe5201b03717bcb
2016-04-05 09:47:40 -04:00
Phil Weaver
72fde85f7f Remove unusable a11y APIs for ClickableSpans.
This change essentially backs out ag/683646, which added an API to click
on ClickableSpans within a TextView. This API has the flaw, however,
that ClickableSpans are not parcelable, so they are not in general
reported to AccessibilityServices. That means that services will have no
idea what they are activating.

Since the API is not usable end-to-end, I'm backing it out before the
API is final.

Bug: 17726921
Change-Id: I541c6218f2899ff67a6b32a13fd9ae6f3b53b3c4
2016-04-04 18:37:32 -07:00
Yohei Yukawa
807c3a828b Merge "Unhide View#dispatch{Start,Finish}TemporaryDetach()" into nyc-dev 2016-04-05 00:05:09 +00:00
Ruchi Kandoi
a68fe1e4d3 Merge "PowerManager: Adds isSustainedPerformanceModeSupported()" into nyc-dev 2016-04-04 20:42:12 +00:00
Kirill Grouchnikov
67960a0a55 Add a hidden test-only API to get Toolbar's navigation view.
Change-Id: I15d4d9ac7ea77ff260bccdfb9d82c85a7bafdfab
2016-04-04 16:30:02 -04:00
Bo Liu
2f1eb93354 Merge "Expose setDrawGLFunctionDetachedCallback to webview" into nyc-dev 2016-04-04 20:20:10 +00:00
Ruchi Kandoi
b4aa2e9c37 PowerManager: Adds isSustainedPerformanceModeSupported()
isSustainedPerformanceModeSupported() returns true if the device
supports the mode. It checks for the boolean config
"config_sustainedPerformanceModeSupported" to be set.

Bug: 22864186
Change-Id: I0f9f0bcbb8c02b19f37e9c87570d88e8f78f7992
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
2016-04-04 19:25:23 +00:00
Abhijith Shastry
9bacdabf3e Remove deprecated API launchManageBlockedNumbersActivity
BUG: 27364137
Change-Id: Ie608c3f75d5fe353a1ba127b0da763c421401eb8
2016-04-04 10:46:11 -07:00
Phil Weaver
d4a1932608 Merge "Add accessibility window title and anchor." into nyc-dev 2016-04-04 16:36:01 +00:00
Rubin Xu
e95057ade1 Split ACTION_MANAGED_PROFILE_AVAILABILITY_CHANGED into two.
Add more comment to EXTRA_QUIET_MODE

Bug: 27532254
Change-Id: I68a217561afca8b87f523c62393cdad097d5b75d
2016-04-04 16:08:47 +01:00
Yi Kong
faec9eb76c Merge "Track libcore commit cf86f3319e738c76c5e97ad95bb8a4e30654a787 (part 2)" into nyc-dev 2016-04-04 11:57:32 +00:00
Yi Kong
876f7df346 Track libcore commit cf86f3319e738c76c5e97ad95bb8a4e30654a787 (part 2)
Bug: 27960078
Change-Id: I74709bc8a2543ceb54ad3cf2c3018f175ff20e24
(cherry picked from commit c2a708596ff37cb01499a8a5a82af038baa85463)
2016-04-04 11:55:16 +00:00
Yi Kong
6a196372ae Track libcore commit cf86f3319e738c76c5e97ad95bb8a4e30654a787
Bug: 27960078
Change-Id: If89390ad1ddc3088a8552107bf27a51b1d3c6d02
(cherry picked from commit 2513fc3b7eb3a8b668fcf280cc8ed45bd20e1893)
2016-04-04 11:55:05 +00:00
Ashutosh Joshi
b741e3b374 Added handling apps query response from context hub
Added handling of app query reponse from context hub.
Exposed the maximum message size to clients.

Change-Id: Ie96a860774d005ad6ad72acc88dc79964835486b
2016-04-01 20:10:27 -07:00
Jean-Michel Trivi
9cc2c5ceaa Merge "Audio recording activity notification: change callback name" into nyc-dev 2016-04-01 21:48:41 +00:00
Ashutosh Joshi
2c697fb4a8 Revert "Added handling apps query response from context hub"
This reverts commit adf75e31f52a7a935a66a884fb55631c7309ee75.

Change-Id: I8391eb57c3a53e686bd817d27860fa6f785113f1
2016-04-01 20:49:28 +00:00
Carlos Valdivia
bb5e52f928 Merge "introduce GET_PASSWORD_PRIVILEDGED permission." into nyc-dev 2016-04-01 20:02:00 +00:00
Dongwon Kang
66ebc88626 Merge "TIF: Add setLabel(CharSequence) in TvInputInfo.Builder" into nyc-dev 2016-04-01 19:42:41 +00:00
Bo Liu
ee34ef1633 Expose setDrawGLFunctionDetachedCallback to webview
Add WebViewDelegate.setDrawGLFunctionDetachedCallback system API that's
used for webview to receive the functor detach callback.

BUG: 27709981
Change-Id: Ie6b5e445c0090a181f94fcd2ec1ea77095c9cb03
2016-04-01 11:10:00 -07:00
Ronghua Wu
32e537c610 media: update dolby vision CodecProfileLevel
Bug: 25684127
Change-Id: I3d35e31b34cc0d23c68eded87d5e443c74833685
2016-04-01 18:02:41 +00:00
Ashutosh Joshi
adf75e31f5 Added handling apps query response from context hub
Added handling of app query reponse from context hub.
Exposed the maximum message size to clients.

Change-Id: I8d8ecaa2e75f6ef86ee65a3a050538cbbadc32eb
2016-04-01 17:57:35 +00:00
Carlos Valdivia
51b651aea1 introduce GET_PASSWORD_PRIVILEDGED permission.
That will be used to filter in passwords for Session based
AccountManager flows.

Bug: 27590532
Change-Id: I4a6d0540bcff186e416351a6f719600ce35d86a0
2016-04-01 10:55:34 -07:00
Junda Liu
19fab78926 Add public API for sim authentication.
Bug: b/27360179
Change-Id: I95bc51797a808fd754202b671113ee0a60a8b99d
2016-04-01 10:37:00 -07:00
Jean-Michel Trivi
e6a505b775 Audio recording activity notification: change callback name
Rename AudioRecordingCallback.onRecordConfigChanged() to
  onRecordingConfigChanged() after API council review

Bug 27952000

Change-Id: I362a973781e029bca921181934599dcf60e13136
2016-04-01 09:56:28 -07:00
Dongwon Kang
d09372ad86 TIF: Add setLabel(CharSequence) in TvInputInfo.Builder
Bug: 25726241
Change-Id: I8b7cf157dffd0df2b04af0386e448b23409be1e5
2016-04-01 09:51:27 -07:00
Russell Brenner
3ccb35421d Merge "Add new protection level for setup wizard" into nyc-dev 2016-04-01 16:22:49 +00:00
Tyler Gunn
6c4af8c915 Merge "Add carrier config option to determine if "wifi-only" is supported." into nyc-dev 2016-04-01 15:43:09 +00:00
Kenny Guy
fa7b6723e6 Merge "Allow PO to check if it is in a managed profile." into nyc-dev 2016-04-01 14:23:51 +00:00
Gustav Sennton
1c177d8dae Add system api to reach WebViewUpdateService Binder interface.
Instead of using reflection in XTS tests we add some system-apis to
enable fetching information about webview packages.

Bug: 26381867
Change-Id: If983a01b6855e4a4c08ef0b5873304918d499b76
2016-04-01 12:39:54 +01:00
Torne (Richard Coles)
5d3f3bb90d Update system API to match current code.
Somehow a change got submitted which added a system API that doesn't
match system-current.txt - regenerate it to match the current code.

Bug: 27957736
Change-Id: I37e1fffbdb060de3e6a399ee75872468d6d25465
2016-04-01 12:24:36 +01:00
Peng Xu
3dd991d117 Merge "Fix a few known issue in sensor framework" into nyc-dev 2016-04-01 01:54:39 +00:00
Russell Brenner
b23346639b Add new protection level for setup wizard
Adds PROTECTION_LEVEL_SETUP, a privileged permission for use only by
the setup wizard.

Bug: 20016740

Change-Id: Ib95e349c54d5d12465bf43162975dfb628ef2434
2016-03-31 17:32:07 -07:00
Yohei Yukawa
24df931e9e Unhide View#dispatch{Start,Finish}TemporaryDetach()
In order to fix Bug 18920212, we have to track when a View enters
temporarily detached state and when it exits from that state. To do
that, ListView needs to use View#dispatchStartTemporaryDetach() instead
of directly calling View#onStartTemporaryDetach() because there is no
guarantee that existing applications have internally followed Call-Super
pattern.

With this CL, we are going to expose temporary detach state and its
dispatching methods as public APIs.  Major changes are:
  1. ListView's indirect children will start receiving temporary
     dispatch callbacks. Previously only direct children have received
     View#on{Start, Finish}TemporaryDetach() callbacks.
  2. TextView can no longer assume that ListView never calls
     View#View#dispatchStartTemporaryDetach() but directly call
     View#onStartTemporaryDetach() instead. See the commit message
     of [1] for details.

This also enables us to do the following fixes, which will be handled in
subsequent CLs.
  A. ViewCompat support lib is finally able to rely on temporary
     dispatch mechanism without reflection.
  B. InputMethodManager is now able to ignore focus-in events from
     temporarily detached Views. This will be done in the next CL [2].

  [1]: a440b002aa59e1455bdfa2c5a1ca51c74bbc19ac
  [2]: Ia79bbd8468f768d546354382b47b39dd31ef7bb5

Bug: 18920212
Bug: 27905921
Change-Id: If8f780f8b71754f7533a65097304113ae1f5cf12
2016-03-31 17:15:23 -07:00
Jaesung Chung
d37577d109 Merge "ExifInterface: deprecate duplicated tags" into nyc-dev 2016-03-31 23:04:43 +00:00
Chris Tate
9c4ec06988 Merge "API review: WallpaperManager" into nyc-dev 2016-03-31 19:24:42 +00:00
Ruben Brunk
ee1062e4c0 Merge "Include VR throttling limit in hardware properties." into nyc-dev 2016-03-31 18:03:37 +00:00
Dongwon Kang
8904a1a1df Merge "TIF: Address comments on hardware manager related system APIs" into nyc-dev 2016-03-31 17:01:36 +00:00
Yi Kong
9272822dc0 Track libcore change 9b7cfceb7b825835730f7977d4935dec3ff1a3be
Bug: 27762555
Change-Id: I03984f4319ba21976078b2b3dff1a857eb5ebd0a
(cherry picked from commit a7af7593fb41b7f67de8f3206233b576ebaaef48)
(cherry picked from commit c0f67813c31bd25ec40c98a4f1e77f98bdabbb48)
2016-03-31 16:04:27 +00:00
Kenny Guy
ffa3840cf3 Allow PO to check if it is in a managed profile.
Method was @hide because we only intended to add
managed users in a later release, however we added
createAndManageUser which allows it.

Bug: 27261765
Change-Id: I029f8ef35a3065f7fc598b5f854c8d8cdc9c555d
2016-03-31 16:40:57 +01:00
Paul Duffin
baa72515f6 Remove RawCollationKey/ByteArrayWrapper from the public API
Bug: 22023363
Change-Id: I03b89260a9af9a2f6d4e25799c3942ca2579e26e
2016-03-31 14:09:16 +01:00
Paul Duffin
71498f107c ICU4J: Hide constants that can change between releases
Bug: 27830659
Change-Id: Ia8274c3b9b26762de5ef3317261ef0c2a45246c3
2016-03-31 14:09:16 +01:00
Andrei Stingaceanu
aa60469445 Merge "AfW - suspend apps - API polish" into nyc-dev 2016-03-31 10:57:58 +00:00
Jeff Sharkey
2c0ae91f2d Merge changes Ifecff4f1,Ia302de46 into nyc-dev
* changes:
  Make preferred activities direct-boot aware.
  Make Parcelable classes final, API cleanup.
2016-03-31 06:48:55 +00:00
Jeff Sharkey
70168dde6e Make Parcelable classes final, API cleanup.
Remove some Context methods that leaked through.  Add lint rule to
recommend using List<? extends Parcelable> instead of Parcelable[].

Bug: 27932224, 27930145, 27932911
Change-Id: Ia302de46cdb0c5101fa175a09316df91aeefcf0d
2016-03-30 23:31:39 -06:00
Tomasz Mikolajewski
88f8675471 Merge "Unhide DocumentsContract.EXTRA_ORIENTATION." into nyc-dev 2016-03-31 03:50:19 +00:00
Tomasz Mikolajewski
e1d0cabb5f Merge "Unhide ExifThumbnail.getThumbnailRange() and make it match the comment." into nyc-dev 2016-03-31 03:47:41 +00:00
Jaesung Chung
0ae6bdfe37 ExifInterface: deprecate duplicated tags
Bug: 27932489
Change-Id: I423a4eab875aec80cf0a2e4c2911e8b5c88fd0d7
2016-03-31 11:20:38 +09:00
Peng Xu
fb1c94133b Fix a few known issue in sensor framework
* Resolve issues pointed out by API Consul:
      . Privacy concern about sensor UUID
      . Callback name consistency,
      . A few document error and typo.
  * New API to tell app if the sensor system support dynamic sensor
    discovery.
  * Added API to make dynamically connected sensor directly
    identifiable.
  * Explicitly indicate sensor additional information support for a
    sensor

Bugs:
b/27715564
b/27911274

Change-Id: Ie93ab4c07fea82002f3f107b7c35827a088312be
2016-03-30 18:49:40 -07:00
Tomasz Mikolajewski
2b57efb262 Unhide ExifThumbnail.getThumbnailRange() and make it match the comment.
Bug: 27579803
Change-Id: If9fe16976cfbc0760a6afb3043d35e0ee387945c
2016-03-31 10:36:26 +09:00