Commit Graph

309172 Commits

Author SHA1 Message Date
Chad Brower
6029cae555 Update the accessibility gesture recognition logic, using prior
assumptions about allowed gesture set to increase accuracy.

Test: Using gesture data from real users at
https://drive.google.com/corp/drive/folders/0BzgTMSNz7WvCNTExbGwtSTRWTzQ
measured accuracy via standalone app at
https://cs.corp.google.com/piper///depot/google3/java/com/google/android/apps/internal/accessibility/A11yGestures/
Also added unit test to check that synthetic gesture motions are recognized.

Change-Id: I06e61ec814ee52db7441c4998012c2df9910589e
2017-01-27 10:28:43 -08:00
Chris Wren
9eb5e102dc port notificaiton logs to Tron v2
remove uninteresting people lookup timer logs

Bug: 34705522
Test: mmma -j20 platform_testing/tests/functional/notificationtests && adb install -r -g $OUT/data/app/NotificationFunctionalTests/NotificationFunctionalTests.apk && adb shell am instrument -w -e iterations 1 -e class com.android.notification.functional.NotificationInteractionTests com.android.notification.functional/android.support.test.runner.AndroidJUnitRunner
Change-Id: I27c17deab4372c93b41dd2821f08c8d10b73cfbf
2017-01-27 18:27:12 +00:00
Julia Reynolds
1af50e2da1 Merge "Show channel groups in settings" 2017-01-27 18:22:15 +00:00
Alan Viverette
06c2fffdaa Implicitly cast views obtained via View.findView methods
Removes all explicit casts from android.widget classes. Also @removes
methods on ListView that were overriding @hidden methods and should
never have been exposed as public API.

Bug: 24137209
Test: make
Change-Id: I6ccfc6f001b355c4880f2b54e1a5474df78d6228
2017-01-27 13:13:45 -05:00
Adrian Roos
05d3d00aba AOD: Fix fallout from new Ambient Display
- Double tap on shelf did not wake up phone
- Calculate content height hint after setting new visible type
- Clean up content hint calculation for type ambient

Test: Trigger ambient disply. Observe that clicking on shelf works. Observe that the actions are not cut off.
Change-Id: I494fdd9f75e0fc3243d801f7d8f209eec44d2d84
2017-01-27 10:00:21 -08:00
Ray Essick
0e0fee1e3a API access to mediametrics
provide SDK/API access to media metrics for user apps. This lets the
apps metrics data for their instances of player and codecs. Others
to come.

Bug: 34715803
Test: booted, invoked new APIs to verify desired results
Change-Id: Iaae6406aadef30adc893952961ac154a7c4c761d
2017-01-27 17:58:30 +00:00
Paul Stewart
291ddaef78 Add a client chain to WifiEnterpriseConfig
Add a list of supporting certificates to be presented in the process
of presenting client credentials.

Cherry-pick of e351176716

Bug: 34688653
Test: Compile, unit tests
Change-Id: I6afd8baf67312e8ddaaeefd26f30dacc51aa33bb
2017-01-27 09:46:27 -08:00
Tomasz Wasilczyk
aee690ffad Use the new radio_metadata wrapper for safer memory management.
Bug: b/34054813
Test: VTS, manual - both done in internal branch
Change-Id: I5f4962f86b7732e14c2584a562e9737c92310697
2017-01-27 09:40:35 -08:00
Jack Yu
3294256ba5 Fixed the logic for tethering provisioning re-evaluation
Previously we only re-evaluate provisioning for SIM swap case
The new logic covers both SIM swap case
(ABSENT->NOT_READY->UNKNOWN->READY->LOADED) and modem reset
case (NOT_READY->READY->LOADED)

Test: Manual
bug: 33815946

Merged-In: I9960123605b10d3fa5f3584c6c8b70b616acd6f8
Change-Id: I9960123605b10d3fa5f3584c6c8b70b616acd6f8
2017-01-27 17:37:58 +00:00
Jack Yu
16485b8963 Fixed the logic for tethering provisioning re-evaluation
Previously we only re-evaluate provisioning for SIM swap case
The new logic covers both SIM swap case
(ABSENT->NOT_READY->UNKNOWN->READY->LOADED) and modem reset
case (NOT_READY->READY->LOADED)

Test: Manual
bug: 33815946

Change-Id: I9960123605b10d3fa5f3584c6c8b70b616acd6f8
2017-01-27 09:30:26 -08:00
Felipe Leme
911cc0fb6c Added dump() to AutoFillUI.
BUG: 31001899
BUG: 34637800
Test: manual verification
Change-Id: Ia7f0a4bf814c4e0e39b0dc09c62c7987a662d238
2017-01-27 09:25:27 -08:00
Jason Monk
df9a4f9a7c Merge "Add secondaryContentAlpha" 2017-01-27 17:25:15 +00:00
Winson Chung
3048004087 Reparent the activity in the task with associated window containers.
- Currently moveActivityToStack() adds the activity to the top of the
  new task in the new stack, but the code path to update the window
  container controllers assumes that they are in the same task and
  attempts to position it by index.  Instead, we should properly
  reparent the activity in the new task (just like we reparent tasks
  into new stacks), and also reparent the associated app window tokens
  into their new tasks on the WM side.
- Also should fix an issue when trying to reparent an activity from one
  task to another task by affinity.

Bug: 34394702
Test: AppWidgetContainerControllerTests#testReparent
Test: android.server.cts.ActivityManagerPinnedStackTests#testEnterPipFromTaskWithMultipleActivities
Change-Id: Ib767f85eb4f469cfd1c108c55242996325bdb866
2017-01-27 17:23:57 +00:00
Adrian Roos
adb520570f Merge "AOD: Prevent KeyguardAffordanceViews from triggering in doze" 2017-01-27 17:12:02 +00:00
Android Build Merger (Role)
0e73e5c4ff Merge "Merge "Add hidden API for whether permission review mode is on. am: 7b89a7b1f7 am: 90e9bbc814" into nyc-mr2-dev-plus-aosp am: b20b9d84d2" 2017-01-27 17:08:37 +00:00
TreeHugger Robot
035e5d4278 Merge "add a comparator for LogMaker" 2017-01-27 17:08:23 +00:00
Paul Navin
c1e53401aa Merge "Add hidden API for whether permission review mode is on. am: 7b89a7b1f7 am: 90e9bbc814" into nyc-mr2-dev-plus-aosp
am: b20b9d84d2

Change-Id: Ib5dab7a5372b7c344c724480f06fd0860214db6e
2017-01-27 17:07:23 +00:00
Paul Navin
72f054009b Add hidden API for whether permission review mode is on. am: 7b89a7b1f7 am: 90e9bbc814
am: ecc6ce8388

Change-Id: I2b7b1d2320e70a0451286c73157dff55f71d267f
2017-01-27 17:07:15 +00:00
Paul Navin
7d0f5e8d40 Add hidden API for whether permission review mode is on. am: 7b89a7b1f7 am: 7c230c6f3c
am: dd91db5515

Change-Id: I936449f717e3c2919622181c9068ec8a48b452ad
2017-01-27 17:03:38 +00:00
Android Build Merger (Role)
b20b9d84d2 Merge "Add hidden API for whether permission review mode is on. am: 7b89a7b1f7 am: 90e9bbc814" into nyc-mr2-dev-plus-aosp 2017-01-27 17:00:36 +00:00
Paul Navin
ecc6ce8388 Add hidden API for whether permission review mode is on. am: 7b89a7b1f7
am: 90e9bbc814

Change-Id: Ic52f409f1225c85340e71909a8adb3b9c4d66edf
2017-01-27 16:59:34 +00:00
Paul Navin
dd91db5515 Add hidden API for whether permission review mode is on. am: 7b89a7b1f7
am: 7c230c6f3c

Change-Id: I89c9a580a96d0f69ed30cad9ec2e4f9c215a403b
2017-01-27 16:59:33 +00:00
Paul Navin
7c230c6f3c Add hidden API for whether permission review mode is on.
am: 7b89a7b1f7

Change-Id: I925b6de9f79850dcc816a73357d1d589eeac6333
2017-01-27 16:55:03 +00:00
Paul Navin
90e9bbc814 Add hidden API for whether permission review mode is on.
am: 7b89a7b1f7

Change-Id: Ic7f4d30bd689bf5677600552030a3e696b16dfbb
2017-01-27 16:54:58 +00:00
TreeHugger Robot
36d32c37a3 Merge "Camera2: Correct EXIF GPS timestamp" 2017-01-27 16:46:50 +00:00
TreeHugger Robot
39cb8895a5 Merge "Update doc to allow system image app to display terms in ManagedProvisioning" 2017-01-27 16:09:28 +00:00
Jason Monk
c719f95d7f Merge "Add separate roaming icon for status bar + QS" into nyc-mr2-dev am: 76812ac8ac
am: 73f1a5a758

Change-Id: I92d40150cc37c744fed43857cdd929f1da721759
2017-01-27 15:31:01 +00:00
Jason Monk
608fe75d3a Add separate roaming icon for status bar + QS am: f62e889394
am: f58cc5768a  -s ours

Change-Id: Id20403fe5beeb3919c0bc5526adccbc5a10d69da
2017-01-27 15:29:58 +00:00
TreeHugger Robot
695417c252 Merge "Fix DPM.getPermissionGrantState()" 2017-01-27 15:23:14 +00:00
Jason Monk
73f1a5a758 Merge "Add separate roaming icon for status bar + QS" into nyc-mr2-dev
am: 76812ac8ac

Change-Id: I05998104c4d19d35cf8eba6b2a4aa1b35dfb600a
2017-01-27 15:15:01 +00:00
Jason Monk
f58cc5768a Add separate roaming icon for status bar + QS
am: f62e889394

Change-Id: I065c6420e0ed379f44d7789e77590e5a39c2a5ec
2017-01-27 15:14:53 +00:00
Jason Monk
76812ac8ac Merge "Add separate roaming icon for status bar + QS" into nyc-mr2-dev 2017-01-27 15:08:06 +00:00
Anton Philippov
88403b0d88 Merge "Add a constant for Backup Settings." 2017-01-27 14:44:14 +00:00
Victor Chang
98607130fe Update doc to allow system image app to display terms in ManagedProvisioning
Bug: 34320095
Test: javadoc update only. built successfully
Change-Id: I9f023a12adbbd5f3d5ed3594508642b8dd573896
2017-01-27 14:04:19 +00:00
Julia Reynolds
f02562aeee Show channel groups in settings
Empty groups shouldn't be visible to client code.

Test: runtest systemui-notification
Change-Id: I319b035886ce1bd4b6839ebf46a2c3be7b2387cf
2017-01-27 08:51:45 -05:00
Bartosz Fabianowski
2dbf9ae67a Fix DPM.getPermissionGrantState()
The recent addition of DPM API access delegation introduced a bug in
this method. When a system app (UID 1000) called the method, it would
crash.

Bug: 34760123
Test: DPM unit tests
Change-Id: I69390ca30270d64a4d28a74c13a7679f14a62959
2017-01-27 14:47:17 +01:00
Chris Wren
58047b9451 add a comparator for LogMaker
Tests need to be able to compare partial log structures.

Bug: 34705522
Test: runtest --path frameworks/base/core/tests/coretests/src/android/metrics
Change-Id: I4e26e43f5f5ea3fbba5a2a2a9563982c7260671b
2017-01-27 08:28:45 -05:00
TreeHugger Robot
22a7c7ddf2 Merge "Allow showing content on virtual displays when locked" 2017-01-27 13:07:58 +00:00
Lorenzo Colitti
c850137cf5 Merge "ConnectivityServiceTest: fix flaky tests" am: b8bbd30203 am: 8fea8e5bbd am: c620e64f61
am: 5bad599e2e

Change-Id: I3a16ff459b8f702249f14e9becbb2630ce7471fd
2017-01-27 10:04:15 +00:00
Lorenzo Colitti
9e3f050973 Merge "ConnectivityServiceTest: remove flaky waitForIdle test." am: be80577f5b am: 0c659d2065 am: f8cff961c8
am: 420ad9748a

Change-Id: Iebafbf438ee4efcd53b3e6d5c71b34c0ca4e2c6b
2017-01-27 10:00:14 +00:00
Lorenzo Colitti
5bad599e2e Merge "ConnectivityServiceTest: fix flaky tests" am: b8bbd30203 am: 8fea8e5bbd
am: c620e64f61

Change-Id: Iaa1ab50a323133cadfa4f39440fce982cde8d1fe
2017-01-27 10:00:06 +00:00
Jason Long
31e8939491 Move autofill-specific logic from EditText to TextView.
Change-Id: I92725144d737ed182e6ece7018a9f8d075fb5ba7
Test: Manual
2017-01-27 01:57:46 -08:00
Lorenzo Colitti
c620e64f61 Merge "ConnectivityServiceTest: fix flaky tests" am: b8bbd30203
am: 8fea8e5bbd

Change-Id: I66f2c2174c2895224724245c1b3d815da1678955
2017-01-27 09:55:39 +00:00
Lorenzo Colitti
420ad9748a Merge "ConnectivityServiceTest: remove flaky waitForIdle test." am: be80577f5b am: 0c659d2065
am: f8cff961c8

Change-Id: I1d3707b4bc2ae00ca0fad1c3ec7e6ca859fcdd16
2017-01-27 09:55:36 +00:00
Lorenzo Colitti
f8cff961c8 Merge "ConnectivityServiceTest: remove flaky waitForIdle test." am: be80577f5b
am: 0c659d2065

Change-Id: I7fbf2cb2c9778f5c961335c5b9fd5a138ec140db
2017-01-27 09:51:39 +00:00
Lorenzo Colitti
8fea8e5bbd Merge "ConnectivityServiceTest: fix flaky tests"
am: b8bbd30203

Change-Id: I0577f6b48de8a95e7d12e58a672fb0374ced9403
2017-01-27 09:51:32 +00:00
Lorenzo Colitti
0c659d2065 Merge "ConnectivityServiceTest: remove flaky waitForIdle test."
am: be80577f5b

Change-Id: I444746af6adc7be4a3f69243379f65aadf29ea19
2017-01-27 09:47:05 +00:00
Lorenzo Colitti
b8bbd30203 Merge "ConnectivityServiceTest: fix flaky tests" 2017-01-27 09:40:47 +00:00
Lorenzo Colitti
be80577f5b Merge "ConnectivityServiceTest: remove flaky waitForIdle test." 2017-01-27 09:38:52 +00:00
TreeHugger Robot
d49708225a Merge "Ensure settings provider joins the rescue party" 2017-01-27 09:04:32 +00:00