Commit Graph

309172 Commits

Author SHA1 Message Date
TreeHugger Robot
34e8f75b68 Merge "AOD: Enable double tap in AOD" 2017-02-22 17:11:58 +00:00
Felipe Leme
bd271212a2 Improved documentation and added @CallSuper on onProvideAutoFillStructure().
onProvideAutoFillStructure() sets mandatory auto-fill information like the
auto-fill id, so we must enforce subclass to call it.

Bug: 35395043
Test: m update-api
Change-Id: I525690b38639d970f516a906ddeb3a6bd6e01d8c
2017-02-22 09:05:50 -08:00
Bill Yi
53a972b1c3 Import translations. DO NOT MERGE
Change-Id: I4e9c7bc1aa90188971836506efe48c26b0bc522d
Auto-generated-cl: translation import
2017-02-22 08:15:37 -08:00
Abodunrinwa Toki
852e9ac797 FloatingToolbar: Menu items with icon + text.
- introduced one layout file to rule them all
- removed specialized layout files

Test: Manual tests checking expected appearance
Bug: 34777048
Change-Id: Id5b84d60b48e84b40554c983bf8c144efd42c504
2017-02-22 16:14:36 +00:00
Mike Reed
b216c21acd underline is now only tracked by android
Change-Id: I189c57dd47ad413b8964d7e5805dfd6d4af11982
2017-02-22 10:49:51 -05:00
Adrian Roos
5cd29e41ac AOD: readd AOD settings on debuggable builds
Bug: 30876804
Test: On user build, verify that "Ambient Display" does not appear in SystemUI Tuner.
Change-Id: I75ba7ce11346f9cb8bf5683b17debe77edca20bf
2017-02-22 16:48:15 +01:00
Paul Duffin
3600f7b645 Merge "Remove conflicting package information for junit.runner and junit.textui" am: f3f4775a35 am: 9b5522f8c4
am: da4597769b

Change-Id: Ibbcb838b9d41391b559a555111ebafce437a5679
2017-02-22 15:31:55 +00:00
Paul Duffin
da4597769b Merge "Remove conflicting package information for junit.runner and junit.textui" am: f3f4775a35
am: 9b5522f8c4

Change-Id: I4925285c1ea3027d46ac396b8ea29ac44c075e0d
2017-02-22 15:27:51 +00:00
Paul Duffin
9b5522f8c4 Merge "Remove conflicting package information for junit.runner and junit.textui"
am: f3f4775a35

Change-Id: Ie0ca0b2b6b5f06e90f55996625f758521c9039cb
2017-02-22 15:24:27 +00:00
Paul Duffin
253ad40649 Deprecate TestSuiteBuilder and related classes.
Deprecates com.android.internal.util.Predicate in favour of
java.util.function.Predicate.

Deprecates TestMethod and TestSuiteBuilder in favour of
Android Test Support Library.

Bug: 35089332
Test: make checkbuild
Change-Id: Id8b2be55925d7ca09750fc9681817793517ceb5d
2017-02-22 15:18:19 +00:00
Treehugger Robot
f3f4775a35 Merge "Remove conflicting package information for junit.runner and junit.textui" 2017-02-22 15:15:34 +00:00
Julia Reynolds
ad0d9e0157 Grant notification listener access to overlay pkgs
Test: manual
Change-Id: I935b701507cd8eafec991b03ac67364e9830d757
2017-02-22 10:00:28 -05:00
Paul Duffin
f1c59610bb Fix build failure when using javac toolchain
The legacy-performance-test-hostdex library was built using the
BUILD_HOST_DALVIK_JAVA_LIBRARY macro (which creates a non-static
library) but is used with LOCAL_STATIC_JAVA_LIBRARIES which
requires a static library. That works with Jack but fails with
the javac toolchain.

This change switched to build legacy-performance-test-hostdex
using the BUILD_HOST_DALVIK_STATIC_JAVA_LIBRARY macro.

Bug: 30188076
Test: make checkbuild
Change-Id: I8d42c669e4ded3417ecdcb7b0251bc6346debd5d
2017-02-22 14:42:46 +00:00
Adrian Roos
8008bd1a21 AOD: Enable double tap in AOD
Bug: 30876804
Test: Enable AOD; turn off phone, double tap; receive notification, double tap outside notification; on lockscreen, tap shade, should still bounce
Change-Id: Ifb32461432f64c333b3a86a29b5ac51dfc27a43d
2017-02-22 15:14:25 +01:00
Bill Yi
4f4d095c90 Import translations. DO NOT MERGE
Change-Id: Ic31eb1a90bdd0d4f3f64c99b10d766202979077f
Auto-generated-cl: translation import
2017-02-22 04:57:10 -08:00
Paul Duffin
f845fec30c Remove conflicting package information for junit.runner and junit.textui
Removes package.html files and update package-info.java files to
use same wording as previous releases.

Bug: 35653948
Test: make docs
Change-Id: Idbede2eb4f57818f152834fad7e75dd181fe25d6
2017-02-22 12:43:57 +00:00
TreeHugger Robot
a1d548024d Merge "Shade: Factor out DoubleTapHelper" 2017-02-22 12:02:49 +00:00
Bill Yi
34d71e48c6 Import translations. DO NOT MERGE
Change-Id: If48c638ad46ea1c051b42cd45446ee8c8b811a61
Auto-generated-cl: translation import
2017-02-22 03:52:56 -08:00
Bill Yi
34c8b92e58 Import translations. DO NOT MERGE
Change-Id: I370ae258614efdf46fad2e0d826be403a8dc1bb2
Auto-generated-cl: translation import
2017-02-22 03:43:49 -08:00
Andrei Stingaceanu
f6e3654b61 Merge "CalendarView Material - fix exception if date is out of range" 2017-02-22 10:45:52 +00:00
Adrian Roos
28a0de9c5e Shade: Factor out DoubleTapHelper
Factors DoubleTapHelper out of ActivatableNotificationView, such that the
same logic can be reused for the StatusBarWindowView.

Bug: 30876804
Test: have a notification, lock phone, interact with notifications on the lockscreen
Change-Id: I4f3a43859d81677d5168424874b106bbfdea0be5
2017-02-22 11:15:14 +01:00
TreeHugger Robot
a231eb1410 Merge "Implement getAxes() method." 2017-02-22 09:35:13 +00:00
TreeHugger Robot
a81f54b5d7 Merge "Add missing GLES 3.x metadata" 2017-02-22 07:39:19 +00:00
Daniel Nishi
b902a835a3 Don't crash when primary volume is null in AppCollector. am: d54f3a487b
am: e13bfbde1a

Change-Id: I8b35924b59938f84502b0afaa8165ebf1fc2e4d4
2017-02-22 06:01:01 +00:00
Hugo Benichi
a06ede044f Merge "ConnectivityManager: allow custom Handlers" am: ef69246260 am: cb47118af1
am: 0f99e5367b

Change-Id: I9f7fc64c2d3d6f88344c9547b8e1ac17cf3d1104
2017-02-22 05:59:44 +00:00
Jack Yu
0fa73d857a Merge "Added telephony manager set sim power state API" am: cbffe38631 am: d1f5b4245f
am: c2543c5357

Change-Id: I9a42b2543d3158ded2a7a5a5bbe4331a4c3d708a
2017-02-22 05:58:35 +00:00
TreeHugger Robot
fb924fa981 Merge "Fix 'Modifying dpm.setSecureSetting call for install_non_market_apps'" 2017-02-22 05:37:37 +00:00
Daniel Nishi
e13bfbde1a Don't crash when primary volume is null in AppCollector.
am: d54f3a487b

Change-Id: I77e27f4a7e901e98995039bcfd68453bec83a6cd
2017-02-22 04:04:38 +00:00
Robert Carr
0edf18f34c Correct SurfaceControl matrix parameter names.
DsDx is used for the X scale but DtDy is used for the Y scale, it
seems like this is a simple mix up. Correct before documenting
SurfaceControl.

Test: Animations and such work.
Change-Id: Ic52b67596bf576f58346e4db66661b06ea1bdc2f
2017-02-21 20:01:47 -08:00
Svet Ganov
17db9dc38c Fix a memory leak in AutoFillManager
Test: Auto-fill CTS tests pass

bug:35435080

Change-Id: I3006cd8394a04bcd64da015f392d084267646366
2017-02-21 20:00:20 -08:00
Hugo Benichi
95cb226c1a IP connectivity metrics: cleanup obsolete code
This patch cleans obsolete code related to IP connectivity metrics:
 - remove @SystemApi on android.net.metrics: now that metrics events
   are processed and serialized in the frameworks only, event classes
   should not appear in the system apis.
 - remove obsolete Logger classes: ConnectivityMetrics app was the
   unique user of ConnectivityMetricsLogger until nyc-mr1. From nyc-mr1
   the app started using dumpsys to get metrics for IpConnectivity and
   Telephony, which made ConnectivityMetricsLogger obsolete.
 - simplifications in MetricsTestUtil

Test: - runtest frameworks-net
      - manually verified $ adb shell dumpsys connmetrics
Bug: 30054585
Bug: 32648597
Change-Id: I85ef65f7f69eb9299e4636cc7af54067201d9daf
2017-02-22 12:56:38 +09:00
Siyamed Sinir
fa4a02c13f Revert "Don't copy NoCopySpans in SpannableStringInternal"
This reverts commit 5de4fb641a.

Bug: 34712634
Fixes: 35363881

Change-Id: I7311e1201152bde052511869c60a0d0c1c5b3242
2017-02-22 03:52:06 +00:00
Hugo Benichi
0f99e5367b Merge "ConnectivityManager: allow custom Handlers" am: ef69246260
am: cb47118af1

Change-Id: I04171173890b161c053c41a2a5c7e1602e510b8c
2017-02-22 03:51:08 +00:00
TreeHugger Robot
2f837e7b2d Merge "tv_cec HAL uses "default" service name" 2017-02-22 03:49:19 +00:00
Hugo Benichi
cb47118af1 Merge "ConnectivityManager: allow custom Handlers"
am: ef69246260

Change-Id: I8da5540f6561cdef4adc91bbeeb9c21a91c08d49
2017-02-22 03:48:10 +00:00
Hugo Benichi
ef69246260 Merge "ConnectivityManager: allow custom Handlers" 2017-02-22 03:42:15 +00:00
TreeHugger Robot
f92a582c1f Merge "Move the presentation view to proper location." 2017-02-22 03:31:53 +00:00
Tyler Gunn
1aee66f523 Fix videoStateToString for audio/paused state.
The videoStateToString method erroneously assumed that if the videostate
was Audio - Paused, that it was audio-only.  Simple logic error to fix.

Test: Added new unit tests.
Bug: 35645334
Change-Id: Ia5ae4d05284b70ad4ba86b8e5d2c53ee8e68a1fa
2017-02-21 19:22:21 -08:00
TreeHugger Robot
24dfce2fbe Merge "Mark some system intents as SystemApi" 2017-02-22 03:07:46 +00:00
Phil Burk
2dfa6d121c Merge "bluetoothmidiservice: fix timestamp for BLE-MIDI transmitted packets" 2017-02-22 03:03:30 +00:00
Jack Yu
c2543c5357 Merge "Added telephony manager set sim power state API" am: cbffe38631
am: d1f5b4245f

Change-Id: I0db1ff82aa80b3719efa9c0bdc2ca0a6f39347a5
2017-02-22 02:56:44 +00:00
Jack Yu
d1f5b4245f Merge "Added telephony manager set sim power state API"
am: cbffe38631

Change-Id: I9fbe161505905c3d3c1c431d1589248324fb3e4f
2017-02-22 02:50:29 +00:00
TreeHugger Robot
397a7d813c Merge "Fixing regression in entering PiP over keyguard." 2017-02-22 02:47:38 +00:00
Treehugger Robot
cbffe38631 Merge "Added telephony manager set sim power state API" 2017-02-22 02:45:18 +00:00
Suprabh Shukla
0b1356ff1f Fix 'Modifying dpm.setSecureSetting call for install_non_market_apps'
The previous change was reverted as it broke work profile provisioning.
Clearing binder calling identity before calling into settings provider
should fix the issue.

Test: runtest managed-provisioning
Test: runtest -x services/tests/servicestests/src/com/android/server/devicepolicy/DevicePolicyManagerTest.java
Test: Manually tested that work profile is inflated with expected values
of install_non_market_apps

Bug: 33947615
Bug: 35590590

Change-Id: I3c31a73fef0c25c0e682e18f637272adad39b28d
2017-02-21 18:36:28 -08:00
TreeHugger Robot
527e886704 Merge "Avoid copying NoCopySpans." 2017-02-22 02:14:05 +00:00
TreeHugger Robot
d2876544fb Merge "Deprecate "speak passwords" setting." 2017-02-22 01:57:45 +00:00
Svet Ganov
eb49515abd Move the presentation view to proper location.
Test: Auto-fill tests pass

bug:33550221

Change-Id: I041a084800e761859c67b962fb4aefafce8956d8
2017-02-21 17:47:11 -08:00
TreeHugger Robot
0df2b375a3 Merge "BitmapFactory: Leave the P3 color space on wide gamut bitmaps" 2017-02-22 01:46:19 +00:00
Jack Yu
e25a4dfb6a Added telephony manager set sim power state API
The new API can be used to power up/down the SIM. This is equivalent
to inserting and removing the card.

Test: Telephony sanity tests
bug: 32224755

Change-Id: Ib82ab1eff613946e7c31c9b2131183a40d09af80
2017-02-21 17:36:45 -08:00