OSDN Git Service
TreeHugger Robot [Sat, 1 Apr 2017 03:38:07 +0000 (03:38 +0000)]
Merge "Bluetooth: Add additional BluetoothSocket logging to root cause errors" into oc-dev
TreeHugger Robot [Sat, 1 Apr 2017 03:16:35 +0000 (03:16 +0000)]
Merge "Handle disabled packages as removed." into oc-dev
TreeHugger Robot [Sat, 1 Apr 2017 03:01:00 +0000 (03:01 +0000)]
Merge "Add TYPE_PREVIEW in the javadoc of Channels.COLUMN_TYPE" into oc-dev
TreeHugger Robot [Sat, 1 Apr 2017 02:52:08 +0000 (02:52 +0000)]
Merge changes from topic 'fix_activity_changed_cb-oc-dev_style_things' into oc-dev
* changes:
Switch ActivityRecord to use static imports.
Fix configuration change state transitions.
TreeHugger Robot [Sat, 1 Apr 2017 02:33:56 +0000 (02:33 +0000)]
Merge "Created an HtmlInfo object on ViewStructure." into oc-dev
TreeHugger Robot [Sat, 1 Apr 2017 02:28:45 +0000 (02:28 +0000)]
Merge "Add documentation about Android TV devices may not support the alarm intents." into oc-dev
TreeHugger Robot [Sat, 1 Apr 2017 01:44:24 +0000 (01:44 +0000)]
Merge "CTS doesn't like swiping." into oc-dev
TreeHugger Robot [Sat, 1 Apr 2017 01:01:51 +0000 (01:01 +0000)]
Merge "Be more lenient about live wallpaper unavailability" into oc-dev
TreeHugger Robot [Sat, 1 Apr 2017 00:56:36 +0000 (00:56 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
Tyler Gunn [Sat, 1 Apr 2017 00:54:21 +0000 (00:54 +0000)]
Merge "Add SUBSTITUTE_NOTIFICATION_APP_NAME pregrant for Telecom." into oc-dev
Tyler Gunn [Sat, 1 Apr 2017 00:50:56 +0000 (17:50 -0700)]
Add SUBSTITUTE_NOTIFICATION_APP_NAME pregrant for Telecom.
Test: Manual
Bug:
36817809
Change-Id: I2d7439e3d0040b617a842812b6ae8bda3c32f1ee
Winson Chung [Sat, 1 Apr 2017 00:42:51 +0000 (00:42 +0000)]
Merge "Removing unnecessary permission." into oc-dev
TreeHugger Robot [Sat, 1 Apr 2017 00:41:21 +0000 (00:41 +0000)]
Merge "Fixing rotation issues." into oc-dev
TreeHugger Robot [Sat, 1 Apr 2017 00:06:57 +0000 (00:06 +0000)]
Merge "Use correct binding flags when reconnecting to IME" into oc-dev
TreeHugger Robot [Sat, 1 Apr 2017 00:00:48 +0000 (00:00 +0000)]
Merge "Use variable fonts for Noto Sans Khmer" into oc-dev
Makoto Onuki [Fri, 31 Mar 2017 23:58:26 +0000 (16:58 -0700)]
Handle disabled packages as removed.
Bug
36600272
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest1 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest2 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest3 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest4 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest5 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest6 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest7 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest8 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest9 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest10 -w com.android.frameworks.servicestests
Change-Id: I272334cef00337d5ba01ce4b878c799d9476432f
TreeHugger Robot [Fri, 31 Mar 2017 23:51:58 +0000 (23:51 +0000)]
Merge "Moar pre-partitioning refactoring." into oc-dev
TreeHugger Robot [Fri, 31 Mar 2017 23:48:18 +0000 (23:48 +0000)]
Merge changes from topic 'launch-2d-activities-vr' into oc-dev
* changes:
Allow shell uid to access Vr APIs
Add vr persistent mode enable/disable
Launch 2D activities in VR mode
Daniel Cardenas [Fri, 31 Mar 2017 23:29:11 +0000 (16:29 -0700)]
Add documentation about Android TV devices may not support the alarm
intents.
Bug:
36003137
Test: Build
Change-Id: Ia469f6e066c7aa9ed1ebcda3ea12fb3254654fb6
TreeHugger Robot [Fri, 31 Mar 2017 23:21:07 +0000 (23:21 +0000)]
Merge "Implement issue #
36590595: Add ability to associated a ClipData with JobInfo" into oc-dev
TreeHugger Robot [Fri, 31 Mar 2017 23:18:40 +0000 (23:18 +0000)]
Merge "QS: Add transient icon for hotspot" into oc-dev
TreeHugger Robot [Fri, 31 Mar 2017 23:07:20 +0000 (23:07 +0000)]
Merge "Ensure we show the PiP menu in response to KEYCODE_WINDOW." into oc-dev
TreeHugger Robot [Fri, 31 Mar 2017 23:06:55 +0000 (23:06 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
Ruben Brunk [Tue, 28 Mar 2017 03:26:17 +0000 (20:26 -0700)]
Switch ActivityRecord to use static imports.
- Per comments from ogunwale,jjaggi on ag/
2016938, static imports
are preferred when possible, and are part of Android's tacit style guide.
Bug:
36662390
Test: Covered by existing unit tests.
Change-Id: Ic3897dd7a4a9cb665fc3d8c7a171f74494f02a2e
TreeHugger Robot [Fri, 31 Mar 2017 23:04:18 +0000 (23:04 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
Ruben Brunk [Thu, 23 Mar 2017 05:03:25 +0000 (22:03 -0700)]
Fix configuration change state transitions.
- Do not ever do onDestroy/onCreate cycle for VR activities when
configuration is changed due to VR mode UI change.
- Do not gate on global configuration change check, as updates
to the global UI mode configuration can race with activity
lifecycle changes.
Bug:
36491752
Bug:
36515684
Test: Manually checked activity lifecycle for pre-O, O VR apks.
Change-Id: Ic2739c6e78c1bdfe876bf1302cd0adeaadece15c
TreeHugger Robot [Fri, 31 Mar 2017 23:01:28 +0000 (23:01 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
Ajay Panicker [Tue, 28 Mar 2017 21:28:27 +0000 (14:28 -0700)]
Bluetooth: Add additional BluetoothSocket logging to root cause errors
Bug:
34780400
Test: Code still compiles
Change-Id: I166842ecc6889f9ea403e7aa3678ed818cd80968
TreeHugger Robot [Fri, 31 Mar 2017 22:23:54 +0000 (22:23 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
Winson Chung [Fri, 31 Mar 2017 19:48:28 +0000 (12:48 -0700)]
Removing unnecessary permission.
Bug:
36507456
Test: android.server.cts.ActivityManagerPinnedStackTests
Test: #testFinishPipActivityWithTaskOverlay
Change-Id: I351b7afd648ceb0a200c01fa318c9a56dbe64a96
Winson Chung [Fri, 31 Mar 2017 01:15:30 +0000 (18:15 -0700)]
Fixing rotation issues.
- Ensuring that we can update the stack bounds of non-docked stacks upon
rotation while split screen is enabled (previously disabled)
- Fix issue where subsequent bounds calculations were using the animation
target bounds from the prior orientation
Bug:
36657966
Test: android.server.cts.ActivityManagerPinnedStackTests
Change-Id: I810e35f907721ef5c781b914adac3273ea8da5c8
Christopher Tate [Fri, 31 Mar 2017 19:28:30 +0000 (12:28 -0700)]
Be more lenient about live wallpaper unavailability
- Give the app 5 more seconds to restart following a crash
- Presume that system-default wallpapers are robust, and don't fall back
to showing nothing at all if timing or update problems arise
- Improve logging about static imagery handling during boot
- For now, turn on a bit more logging about wallpaper activity
Bug
36573894
Bug
34979999
Test: manual
Change-Id: I787a351f1251b83451d55bb98a4e0de9ce17836a
Tyler Gunn [Fri, 31 Mar 2017 20:14:53 +0000 (20:14 +0000)]
Merge "Add feature constants in Call Log provider to identify HD and WIFI calls." into oc-dev
TreeHugger Robot [Fri, 31 Mar 2017 20:14:46 +0000 (20:14 +0000)]
Merge "Add 'am start-foreground-service' shell command" into oc-dev
BIN ZHOU [Fri, 31 Mar 2017 16:54:04 +0000 (11:54 -0500)]
Add feature constants in Call Log provider to identify HD and WIFI calls.
Makes use of existing features column in the provider.
Test: Manual
Bug:
35359461
Change-Id: I405893771a2dac2bb25a54065238917ac2d515c8
Yohei Yukawa [Thu, 30 Mar 2017 22:57:02 +0000 (15:57 -0700)]
Use correct binding flags when reconnecting to IME
Since ICS MR-1 [1], InputMethodManagerService (IMMS) establishes two
connections to an IME: one is for general connection and the other to
allow the system to adjust the IME's performance characteristics much
more like a foreground activity. The tricky point is that the former
connection can be re-connected not only IMMS#startInputInnerLocked() in
but also in IMMS#showCurrentInputLocked().
It turns out that some previous attempts to adjust BIND_ flags for the
former connection [2][3] were not applied to
IMMS#showCurrentInputLocked(). This CL addresses that inconsistency by
make it clear that IMMS establishes up to connections to the IME.
[1]: Id1f73de66dc93d63212183958a72119ad174318b
2c84cfc001fb92a71811bf7384b7f865ff31ff9d
[2]: I1724113f42abe7862e8aecb6faae5a7620245e89
c8230519728b14065effd3b7d4eca273ff86160c
[3]: Ie5793fd9b40d980fa18f80246326511ed6ae0597
f0f94d129b6eb3c48624e915898d86d4f2de59ff
Test: Manuall tested as follows.
1. Build and flash an OS image.
2. Complete the setup wizard (if any).
3. tapas LatinIME && make -j
4. adb install -r out/target/product/generic/system/app/LatinIME/LatinIME.apk
5. Run a test program that keeps calling IMM#showSoftInput()
6. adb shell ime enable com.android.inputmethod.latin/.LatinIME
7. adb shell ime set com.android.inputmethod.latin/.LatinIME
8. adb shell dumpsys activity processes android
Make sure that there is a ConnectionRecord to
com.android.inputmethod.latin that has "CR !FG UI !VIS" bits.
9. adb install -r out/target/product/generic/system/app/LatinIME/LatinIME.apk
10. adb shell dumpsys activity processes android
Make sure that there is a ConnectionRecord to
com.android.inputmethod.latin that has "CR !FG UI !VIS" bits.
Fixes:
36727763
Change-Id: Ib7fa34b21e1fb8bb5b19a9b08e36d0565f3dd266
Chris Wren [Fri, 31 Mar 2017 19:49:04 +0000 (19:49 +0000)]
Merge "restore the title string un UsbDeviceManager" into oc-dev
Brian Carlstrom [Fri, 31 Mar 2017 19:46:48 +0000 (19:46 +0000)]
Merge "Include likely IMEs in ANR dumping" into oc-dev
Brian Carlstrom [Fri, 31 Mar 2017 19:46:13 +0000 (19:46 +0000)]
Merge "Add null check to InputMonitor.notifyANR" into oc-dev
Chris Wren [Fri, 31 Mar 2017 19:37:45 +0000 (15:37 -0400)]
restore the title string un UsbDeviceManager
Bug:
32584866
Test: make
Change-Id: I4e4dea064a1af194db5660b0765cc4c4b666584a
Jungshik Shin [Fri, 17 Mar 2017 21:56:17 +0000 (14:56 -0700)]
Use variable fonts for Noto Sans Khmer
Update fonts.xml to use NotoSansKhmer-VF.ttf.
The weight range of Khmer is also extended to have 9 weight instances
(three more than Roboto with 200, 600 and 800).
The width range for Khmer is left alone partly because of an apparent
lack of support in fonts.xml for non-normal width fallback fonts.
Note that Noto Sans Khmer UI is left alone because of a baseline issue.
BUG:
22667753
Test: See the QA instruction in comment 10 of the bug.
Test: fontchain_lint
Change-Id: Idf6d4fec86822663ac08feb8979edacbc6c709a0
Sudheer Shanka [Fri, 31 Mar 2017 19:03:07 +0000 (19:03 +0000)]
Merge "Update default max time of waiting for network state to get updated." into oc-dev
Sohani Rao [Fri, 31 Mar 2017 18:51:12 +0000 (18:51 +0000)]
Merge "Introduce Authentication Failure reason codes" into oc-dev
Garfield Tan [Fri, 31 Mar 2017 18:04:49 +0000 (18:04 +0000)]
Merge "Add flags for quick viewer to indicate capabilities of a document." into oc-dev
TreeHugger Robot [Fri, 31 Mar 2017 17:54:13 +0000 (17:54 +0000)]
Merge "SettingsLib: wifi: encapsulate Passpoint configuration in AccessPoint" into oc-dev
Peter Qiu [Tue, 14 Mar 2017 22:51:22 +0000 (15:51 -0700)]
SettingsLib: wifi: encapsulate Passpoint configuration in AccessPoint
The configurations that are managed by "Saved Networks" page are
centered around the abstraction of AccessPoint. Since we will
need to manage Passpoint configuration in the "Saved Networks"
(for configuration removal), encapsulate necessary information
in an AccessPoint for a Passpoint configuration.
Bug:
34207710
Test: manual test
Test: runtest --path
frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/AccessPointTest.java
Change-Id: Ide556f5ec6c4ef9e1f82016efe17dc9860f298de
Jason Monk [Fri, 31 Mar 2017 17:19:26 +0000 (13:19 -0400)]
QS: Add transient icon for hotspot
Will make the loading time more clear.
Test: visual
Bug:
32270851
Change-Id: I0ea7591da132ff65fb7fc16b03b2891891e66598
Winson Chung [Thu, 30 Mar 2017 21:44:52 +0000 (14:44 -0700)]
Ensure we show the PiP menu in response to KEYCODE_WINDOW.
Bug:
36687605
Test: android.server.cts.ActivityManagerPinnedStackTests
Test: #testWindowButtonEntersPip
Change-Id: I0bb35fd666eb6a438e4676267f6726b44bffb3db
Dianne Hackborn [Thu, 30 Mar 2017 20:49:13 +0000 (13:49 -0700)]
Implement issue #
36590595: Add ability to associated a ClipData with JobInfo
Yum!
Also needed to have a Context.revokeUriPermission() variant that is sane,
so reasonable CTS tests can be written.
Test: new ClipDataJobTest added.
Change-Id: Ia3135ea788a6e32c971bae7dab3a844d0ef4139c
Adrian Roos [Fri, 31 Mar 2017 17:31:45 +0000 (17:31 +0000)]
Merge "A11y: Prefer EXTRA_TITLE to ticker for status bar icon content description" into oc-dev
Mady Mellor [Fri, 31 Mar 2017 17:27:36 +0000 (17:27 +0000)]
Merge "Update PIP dismiss to show scrim + info text at the bottom of the screen" into oc-dev
Felipe Leme [Fri, 31 Mar 2017 15:23:06 +0000 (08:23 -0700)]
Moar pre-partitioning refactoring.
On ViewState: split value into mCurrentValue and mAutofilledValue.
On Session: replacing mAutofilledDataset by mDatasetWaitingAuth and
ViewState.getAutofilledValue() (mAutofilledDataset is still needed,
but will be removed in the first partitioning CL).
Also fixed a missed 'return' on TimePicker.autofill()
Bug:
35707731
Test: CtsAutoFillServiceTestCases pass
Change-Id: Icc32701ae3e499a77d99e6ae1daa7d070a3df631
Chris Wren [Fri, 31 Mar 2017 17:09:42 +0000 (17:09 +0000)]
Merge "standardize system notification IDs" into oc-dev
Brian Carlstrom [Fri, 31 Mar 2017 07:24:18 +0000 (00:24 -0700)]
Add null check to InputMonitor.notifyANR
Followup to
7402ddf9b45efc9616676205534ce7b4fc3a13e6
Test: Start IME, induce ANR in Settings, verify /data/anr/traces.txt
Change-Id: I4ad1d48cc73ca1a4332414ff50a160c67979feef
Fixes:
36730136
Julia Reynolds [Fri, 31 Mar 2017 16:33:56 +0000 (16:33 +0000)]
Merge "Rename badge icon method" into oc-dev
Evan Rosky [Fri, 31 Mar 2017 16:27:52 +0000 (16:27 +0000)]
Merge "Prevent arrow keys from leaving editable TextViews" into oc-dev
Jeff Sharkey [Fri, 31 Mar 2017 15:45:46 +0000 (09:45 -0600)]
CTS doesn't like swiping.
It sounds like CTS prefers having the "none" lockscreen instead of
a "swipe" lockscreen, so give it what it wants. This brings us back
to matching the original behavior of the NYC test.
Test: cts-tradefed run commandAndExit cts-dev -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.DirectBootHostTest#testDirectBootNative
Bug:
36789738
Change-Id: Ibc392362dda22b3df0bc98aa525c65fe70eeb861
Chris Wren [Mon, 27 Mar 2017 19:01:44 +0000 (15:01 -0400)]
standardize system notification IDs
All the trivial cases, plus some fixes to try to
mitigate collisions with the complex ones.
Complex services to follow in another CL,
Bug:
32584866
Test: make framework services
Change-Id: Ie9663600171d8ede11676e9d66f009dbb06def03
Karthik Ravi Shankar [Sun, 26 Mar 2017 09:56:44 +0000 (02:56 -0700)]
Allow shell uid to access Vr APIs
Some of the Vr APIs in VrManagerService need to be accessed via shell to
be used for testing and for easy access. Add
android.permission.RESTRICTED_VR_ACCESS to shell uid.
Bug:
36071574
Test: adb shell vr set-persistent-vr-mode-enabled true
adb shell dumpsys vrmanager
>> Persistent VR mode is currently: enabled
adb shell vr set-persistent-vr-mode-enabled false
adb shell dumpsys vrmanager
>> Persistent VR mode is currently: disabled
Change-Id: I486fa19f93d5c6999aa479fdf7e5f2f48f765240
Signed-off-by: Karthik Ravi Shankar <karthikrs@google.com>
Karthik Ravi Shankar [Sun, 26 Mar 2017 09:46:48 +0000 (02:46 -0700)]
Add vr persistent mode enable/disable
Persistent vr mode toggle control is needed sometimes from command line.
This also adds the infrastructure for future vr commands.
Bug:
36071574
Test: adb shell vr set-persistent-vr-mode-enabled true
adb shell dumpsys vrmanager
>> Persistent VR mode is currently: enabled
adb shell vr set-persistent-vr-mode-enabled false
adb shell dumpsys vrmanager
>> Persistent VR mode is currently: disabled
Change-Id: I47a858e0696a907e746d50e2c6ca3d18197864a7
Signed-off-by: Karthik Ravi Shankar <karthikrs@google.com>
Karthik Ravi Shankar [Thu, 9 Mar 2017 02:30:19 +0000 (18:30 -0800)]
Launch 2D activities in VR mode
When in VR mode, launch all activities into the virtual display ID as
provided by the Compatibility display. This includes two cases -
- New activity launches
- Existing activity in the background.
Testing Done: Tested with PlanarVirtualDisplay app and Settings,
Calculator and GestureApp with different intent flags.
Bug:
36071574
Bug:
36071445
Test: android.server.cts.ActivityManagerDisplayTests
Test: #testVrActivityLaunch
Test: #testVrActivityReLaunch
Change-Id: Ic590a7cbd6f9b339dc83b22a8ffb1252219ef22e
Signed-off-by: Karthik Ravi Shankar <karthikrs@google.com>
Wyatt Riley [Fri, 31 Mar 2017 15:28:16 +0000 (15:28 +0000)]
Merge "IGnssDebug.hal change field outputs for dump()" into oc-dev
Mark Renouf [Fri, 31 Mar 2017 15:20:24 +0000 (15:20 +0000)]
Corrects CompactExtractEditLayout to account for systemWindowInsetBottom am:
d1a0d19794
am:
8f9a6c3e89
Change-Id: I10087b9982b3eceb200b447d4faecad4eb8d19fe
Mark Renouf [Fri, 31 Mar 2017 15:15:49 +0000 (15:15 +0000)]
Corrects CompactExtractEditLayout to account for systemWindowInsetBottom
am:
d1a0d19794
Change-Id: Ia0bdc13ac2e8f3e65aaa38a64b4af9409ffeaa21
Tyler Gunn [Fri, 31 Mar 2017 15:06:42 +0000 (15:06 +0000)]
Merge "Self Managed CS Implementation" into oc-dev
TreeHugger Robot [Fri, 31 Mar 2017 14:54:41 +0000 (14:54 +0000)]
Merge "Split scroll factor into a 2d float." into oc-dev
Anton Philippov [Fri, 31 Mar 2017 10:43:23 +0000 (10:43 +0000)]
Merge "Fix BackupManagerMonitor wrapping in RestoreSession" into oc-dev
Bill Yi [Fri, 31 Mar 2017 09:03:59 +0000 (02:03 -0700)]
Import translations. DO NOT MERGE
Change-Id: Ic5ddb29c72414f5b06e61f9bb13b69489b2ac715
Auto-generated-cl: translation import
Bill Yi [Fri, 31 Mar 2017 07:57:17 +0000 (00:57 -0700)]
Import translations. DO NOT MERGE
Change-Id: I0464cc4b75e0258a5928867ab11e9c47a2b69319
Auto-generated-cl: translation import
Bill Yi [Fri, 31 Mar 2017 07:39:13 +0000 (00:39 -0700)]
Import translations. DO NOT MERGE
Change-Id: I789e7f6f9910fb2bfceec085555a42335853f1dd
Auto-generated-cl: translation import
Bill Yi [Fri, 31 Mar 2017 07:29:46 +0000 (00:29 -0700)]
Import translations. DO NOT MERGE
Change-Id: I77938df9a45d62d2abf436670857c2a594b1533b
Auto-generated-cl: translation import
Brian Carlstrom [Thu, 30 Mar 2017 03:25:57 +0000 (20:25 -0700)]
Include likely IMEs in ANR dumping
Test: Start IME, induce ANR in Settings, verify /data/anr/traces.txt
Bug:
36704599
Change-Id: I5e6209ec25754bd27c57c58b27edeee38eb005de
Bill Yi [Fri, 31 Mar 2017 07:16:54 +0000 (00:16 -0700)]
Import translations. DO NOT MERGE
Change-Id: If706aae048d361a966f9971dce0595640b7052ce
Auto-generated-cl: translation import
TreeHugger Robot [Fri, 31 Mar 2017 04:29:23 +0000 (04:29 +0000)]
Merge "TextClassificationManager API cleanup." into oc-dev
Tyler Gunn [Tue, 14 Mar 2017 01:15:15 +0000 (18:15 -0700)]
Self Managed CS Implementation
- Add API guide for developers giving an overview of what they need
to implement.
- Add @hide setLabel method in PhoneAccount; used when registering a
self-managed CS's phone account; we override it with their app label to
ensure they don't try to give themselves another name.
Test: Unit
Bug:
34159263
Merged-In: I0c890dc2feeb3ee438a80ed425db2aaf1f4c1fdd
Change-Id: I0c890dc2feeb3ee438a80ed425db2aaf1f4c1fdd
TreeHugger Robot [Fri, 31 Mar 2017 03:38:34 +0000 (03:38 +0000)]
Merge "Fixes starting app in docked stack for cts tests" into oc-dev
TreeHugger Robot [Fri, 31 Mar 2017 03:29:40 +0000 (03:29 +0000)]
Merge "Refactored ViewState." into oc-dev
TreeHugger Robot [Fri, 31 Mar 2017 03:26:05 +0000 (03:26 +0000)]
Merge "Pass correct size of integer to CallVoidMethod." into oc-dev
TreeHugger Robot [Fri, 31 Mar 2017 02:57:33 +0000 (02:57 +0000)]
Merge "Override View.autofill() method and call into ViewDelegate" into oc-dev
Sudheer Shanka [Fri, 31 Mar 2017 01:54:53 +0000 (01:54 +0000)]
Merge "Change namespace of ACTION_REQUEST_SHUTDOWN." into oc-dev
Adrian Roos [Fri, 31 Mar 2017 01:34:10 +0000 (18:34 -0700)]
A11y: Prefer EXTRA_TITLE to ticker for status bar icon content description
Change-Id: I08d5439f0f593d32044d5a59fc7b8f24e33a15a9
Test: manual - post notification, check that Talkback utterance is correct on status bar icon.
Fixes:
30739573
Sudheer Shanka [Thu, 30 Mar 2017 23:07:54 +0000 (16:07 -0700)]
Change namespace of ACTION_REQUEST_SHUTDOWN.
Fixes:
36644580
Test: cts-tradefed run singleCommand cts-dev -m CtsSignatureTestCases -t android.signature.cts.IntentTest
and Device power-off works
Change-Id: I63f461157a63305cd08c5dc42293730be4eb657f
Wyatt Riley [Wed, 29 Mar 2017 17:21:46 +0000 (10:21 -0700)]
IGnssDebug.hal change field outputs for dump()
Aligning the dump() string build to match the new
API fields in IGnssDebug.hal
Bug:
30955615
Test: Builds and non-implementation message reported on Pixel '16
Change-Id: I9e60c87e9c5a5ee2bc20e3f54eb878bd472515c1
TreeHugger Robot [Fri, 31 Mar 2017 01:41:38 +0000 (01:41 +0000)]
Merge "Rename autoFillHint to autoFillHints." into oc-dev
TreeHugger Robot [Fri, 31 Mar 2017 01:32:19 +0000 (01:32 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
Matthew Ng [Wed, 22 Mar 2017 21:23:25 +0000 (14:23 -0700)]
Fixes starting app in docked stack for cts tests
Running command "adb shell am start -n <package/activity name> --stack 3"
will allow the app to be docked at the top in split screen and will not
minimize and be positioned incorrectly. Passing the last stack will pass
the stack that was launched from, in this case it is home stack. Then it
will launch recents after app is launched.
Test: adb shell am start -n <package/activity name> --stack 3 and
cts/hostsidetests/services/activityandwindowmanager/util/run-test
CtsServicesHostTestCases
android.server.cts.ActivityManagerAppConfigurationTests
Fixes:
36233172
Change-Id: Ibe171be9160f9070395ac20f5369dc495f235f20
TreeHugger Robot [Fri, 31 Mar 2017 01:27:20 +0000 (01:27 +0000)]
Merge "Make ACTION_USER_REMOVED intent a SystemApi." into oc-dev
Daichi Hirono [Thu, 30 Mar 2017 02:06:49 +0000 (11:06 +0900)]
Pass correct size of integer to CallVoidMethod.
Previously FuseAppLoop passes int values 0 to CallVoidMethod while the
argument must be jlong.
Bug:
35229514
Test: StorageManagerTest#testOpenProxyFileDescriptor{,_error,_async}
Change-Id: Id286d38da54b4523c63f2b380596e0de06887b3a
(cherry picked from commit
77a97cdba2903a6534fcabc1b8bc79b51aef54f5)
Felipe Leme [Wed, 29 Mar 2017 22:54:53 +0000 (15:54 -0700)]
Refactored ViewState.
- Added an int state.
- Removed mValueChanged and use state.
- Removed unused mAuth
- Set its Fillresponse in the proper places.
- Encapsulated private attributes.
- ...except mId (which is now id).
- Stored only id of current view state on Session.
This refactoring didn't modidy any behavior - in fact, the CTS tests didn't
change - but it will make it much easier to implement partitioning.
BUG:
35707731
Test: CtsAutoFillServiceTestCases pass
Change-Id: Ib07929a4089201a0e5bb66004af91f6cba362ba4
Abodunrinwa Toki [Wed, 29 Mar 2017 23:12:25 +0000 (00:12 +0100)]
TextClassificationManager API cleanup.
Removes @removed methods.
See: I24e86272cf58bf6864505bee3b06978c1c0d46e5
Test: Checked that API is removed.
Change-Id: I93e7f64740671b5ff856f8b38eddc04417f6486e
Sudheer Shanka [Thu, 30 Mar 2017 22:42:51 +0000 (15:42 -0700)]
Make ACTION_USER_REMOVED intent a SystemApi.
Fixes:
36645106
Test: cts-tradefed run singleCommand cts-dev -m CtsSignatureTestCases -t android.signature.cts.IntentTest
Change-Id: I4230791df73549f147dc048d152a05e9eed5bc63
TreeHugger Robot [Fri, 31 Mar 2017 01:01:55 +0000 (01:01 +0000)]
Merge "Fix issue with force resizing activity when app level doesn't want to" into oc-dev
Garfield Tan [Thu, 23 Mar 2017 17:52:48 +0000 (10:52 -0700)]
Add flags for quick viewer to indicate capabilities of a document.
Replace the QUICK_VIEW_ADVANCED extra.
Also restrict quick viewers not to send file content out of the device.
Test: It builds.
Bug:
36484539
Bug:
36755024
Change-Id: I921230eac6e497a615624202c741ef03432b2690
TreeHugger Robot [Fri, 31 Mar 2017 00:47:38 +0000 (00:47 +0000)]
Merge "Don't run jobs when connectivity is not validated" into oc-dev
TreeHugger Robot [Fri, 31 Mar 2017 00:41:00 +0000 (00:41 +0000)]
Merge "Fix broken unit tests due to mockito upgrade." into oc-dev
Sohani Rao [Mon, 6 Feb 2017 22:02:17 +0000 (14:02 -0800)]
Introduce Authentication Failure reason codes
In order to differentiate between various reasons for authentication
failure, add reason codes. These will be hidden since we don't intend to
have API change.
Bug:
33245941
Test: Unit test
Change-Id: I7222520df18e54d684ba9e50ff95be5d46a7d70c
Mady Mellor [Wed, 29 Mar 2017 22:27:37 +0000 (15:27 -0700)]
Update PIP dismiss to show scrim + info text at the bottom of the screen
- Rather than testing how far off screen the PIP is, instead tests how far
past the nav bar / on screen bars the PIP is to determine if it is a
dismiss
- When dragging PIP around screen, display info text + scrim at bottom
these are above the PIP in z-order
- On lift up or when PIP is dismissed, info text + scrim also hide
- Alters dismiss animation to use end point on trajectory of finger and
use FlingAnimationUtils when flinging
Test: Drag PIP around screen, notice dismiss scrim + text appear, dismiss
PIP and scrim / text also disappear
Bug:
35358628
Change-Id: Ibc0f6a884903f7d1b3ca2fd5c20647b4acf15a71
Connor O'Brien [Tue, 28 Feb 2017 00:41:35 +0000 (16:41 -0800)]
Recover cleanly from power HAL service crashes
Currently if the binderized power HAL service crashes, services that
call the HAL will crash as well. To fix this:
- Before calling power HAL functions, check that the handle to the
power HAL service is still valid, and reload using getService() if
necessary.
- When a call to a power HAL function fails, log the failure and mark
the handle as invalid.
Bug:
35728909
Test: adb shell kill -9 $(adb shell pidof android.hardware.power@1.0-service)
Change-Id: Id2dd1a6507b9f5044d928483cdb6b736c701f8ba
Signed-off-by: Connor O'Brien <connoro@google.com>
(cherry picked from commit
578eb7fee3a28ff9ca309e741b5a647637896ba1)
Christopher Tate [Fri, 31 Mar 2017 00:20:12 +0000 (17:20 -0700)]
Add 'am start-foreground-service' shell command
Bug
35263881
Test: manual
Change-Id: Ia97415eee610e67d4c0a5dc6adaf01909dcbdbd1
TreeHugger Robot [Fri, 31 Mar 2017 00:00:35 +0000 (00:00 +0000)]
Merge "BatteryStats: Add debug logging to narrow down slow camera launch" into oc-dev