OSDN Git Service

android-x86/frameworks-base.git
7 years agoMerge "Include likely IMEs in ANR dumping" 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

7 years agoMerge "Add null check to InputMonitor.notifyANR" 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

7 years agoMerge "Update default max time of waiting for network state to get updated." into...
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

7 years agoMerge "Introduce Authentication Failure reason codes" 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

7 years agoMerge "Add flags for quick viewer to indicate capabilities of a document." 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

7 years agoMerge "SettingsLib: wifi: encapsulate Passpoint configuration in AccessPoint" into...
TreeHugger Robot [Fri, 31 Mar 2017 17:54:13 +0000 (17:54 +0000)]
Merge "SettingsLib: wifi: encapsulate Passpoint configuration in AccessPoint" into oc-dev

7 years agoSettingsLib: wifi: encapsulate Passpoint configuration in AccessPoint
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

7 years agoMerge "A11y: Prefer EXTRA_TITLE to ticker for status bar icon content description...
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

7 years agoMerge "Update PIP dismiss to show scrim + info text at the bottom of the screen"...
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

7 years agoMerge "standardize system notification IDs" into oc-dev
Chris Wren [Fri, 31 Mar 2017 17:09:42 +0000 (17:09 +0000)]
Merge "standardize system notification IDs" into oc-dev

7 years agoAdd null check to InputMonitor.notifyANR
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

7 years agoMerge "Rename badge icon method" into oc-dev
Julia Reynolds [Fri, 31 Mar 2017 16:33:56 +0000 (16:33 +0000)]
Merge "Rename badge icon method" into oc-dev

7 years agoMerge "Prevent arrow keys from leaving editable TextViews" 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

7 years agostandardize system notification IDs
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

7 years agoMerge "IGnssDebug.hal change field outputs for dump()" into oc-dev
Wyatt Riley [Fri, 31 Mar 2017 15:28:16 +0000 (15:28 +0000)]
Merge "IGnssDebug.hal change field outputs for dump()" into oc-dev

7 years agoCorrects CompactExtractEditLayout to account for systemWindowInsetBottom am: d1a0d19794
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

7 years agoCorrects CompactExtractEditLayout to account for systemWindowInsetBottom
Mark Renouf [Fri, 31 Mar 2017 15:15:49 +0000 (15:15 +0000)]
Corrects CompactExtractEditLayout to account for systemWindowInsetBottom
am: d1a0d19794

Change-Id: Ia0bdc13ac2e8f3e65aaa38a64b4af9409ffeaa21

7 years agoMerge "Self Managed CS Implementation" into oc-dev
Tyler Gunn [Fri, 31 Mar 2017 15:06:42 +0000 (15:06 +0000)]
Merge "Self Managed CS Implementation" into oc-dev

7 years agoMerge "Split scroll factor into a 2d float." 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

7 years agoMerge "Fix BackupManagerMonitor wrapping in RestoreSession" 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

7 years agoInclude likely IMEs in ANR dumping
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

7 years agoMerge "TextClassificationManager API cleanup." into oc-dev
TreeHugger Robot [Fri, 31 Mar 2017 04:29:23 +0000 (04:29 +0000)]
Merge "TextClassificationManager API cleanup." into oc-dev

7 years agoSelf Managed CS Implementation
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

7 years agoMerge "Fixes starting app in docked stack for cts tests" into oc-dev
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

7 years agoMerge "Refactored ViewState." into oc-dev
TreeHugger Robot [Fri, 31 Mar 2017 03:29:40 +0000 (03:29 +0000)]
Merge "Refactored ViewState." into oc-dev

7 years agoMerge "Pass correct size of integer to CallVoidMethod." 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

7 years agoMerge "Override View.autofill() method and call into ViewDelegate" 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

7 years agoMerge "Change namespace of ACTION_REQUEST_SHUTDOWN." 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

7 years agoA11y: Prefer EXTRA_TITLE to ticker for status bar icon content description
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

7 years agoChange namespace of ACTION_REQUEST_SHUTDOWN.
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

7 years agoIGnssDebug.hal change field outputs for dump()
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

7 years agoMerge "Rename autoFillHint to autoFillHints." into oc-dev
TreeHugger Robot [Fri, 31 Mar 2017 01:41:38 +0000 (01:41 +0000)]
Merge "Rename autoFillHint to autoFillHints." into oc-dev

7 years agoMerge "Import translations. DO NOT MERGE" 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

7 years agoFixes starting app in docked stack for cts tests
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

7 years agoMerge "Make ACTION_USER_REMOVED intent a SystemApi." into oc-dev
TreeHugger Robot [Fri, 31 Mar 2017 01:27:20 +0000 (01:27 +0000)]
Merge "Make ACTION_USER_REMOVED intent a SystemApi." into oc-dev

7 years agoPass correct size of integer to CallVoidMethod.
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)

7 years agoRefactored ViewState.
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

7 years agoTextClassificationManager API cleanup.
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

7 years agoMake ACTION_USER_REMOVED intent a SystemApi.
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

7 years agoMerge "Fix issue with force resizing activity when app level doesn't want to" into...
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

7 years agoAdd flags for quick viewer to indicate capabilities of a document.
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

7 years agoMerge "Don't run jobs when connectivity is not validated" into oc-dev
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

7 years agoMerge "Fix broken unit tests due to mockito upgrade." 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

7 years agoIntroduce Authentication Failure reason codes
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

7 years agoUpdate PIP dismiss to show scrim + info text at the bottom of the screen
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

7 years agoRecover cleanly from power HAL service crashes
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)

7 years agoMerge "BatteryStats: Add debug logging to narrow down slow camera launch" into oc-dev
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

7 years agoMerge "Temporarily bg-whitelist the default container package-cleaning service" into...
TreeHugger Robot [Thu, 30 Mar 2017 23:57:56 +0000 (23:57 +0000)]
Merge "Temporarily bg-whitelist the default container package-cleaning service" into oc-dev

7 years agoMerge "Reschedule jobs that crash partway through" into oc-dev
Chris Tate [Thu, 30 Mar 2017 23:46:34 +0000 (23:46 +0000)]
Merge "Reschedule jobs that crash partway through" into oc-dev

7 years agoRename autoFillHint to autoFillHints.
Philip P. Moltmann [Wed, 29 Mar 2017 20:58:59 +0000 (13:58 -0700)]
Rename autoFillHint to autoFillHints.

Fixes: 35364993
Test: cts-tradefed run cts-dev -m CtsAutoFillServiceTestCases
Change-Id: I65a4c2c65563e7bbd60c4e99c8800b0b11af2300
(cherry picked from commit feb3299ed5fa30db8b1a4ab693e11e8acb32d13d)

7 years agoPrevent arrow keys from leaving editable TextViews
Evan Rosky [Thu, 16 Mar 2017 23:25:22 +0000 (16:25 -0700)]
Prevent arrow keys from leaving editable TextViews

Bug: 24342334
Bug: 31662248
Test: Tested in a test-app and verified that arrow presses/holding
      do not send focus out of an EditText. Relevant TextViewTest
      and EditTextTest s still pass

Change-Id: I288d9397d61844b8b650ed54cfbb6769226074b8
(cherry picked from commit I6abfe75352f09a49ea473fb0e2dec84c6c5270c4)

7 years agoMerge "Don't increment procStateSeq if uid doesn't have internet permission." into...
Sudheer Shanka [Thu, 30 Mar 2017 23:34:02 +0000 (23:34 +0000)]
Merge "Don't increment procStateSeq if uid doesn't have internet permission." into oc-dev

7 years agoMerge "Optimized locking for get/setUserData" into oc-dev
Fyodor Kupolov [Thu, 30 Mar 2017 23:21:33 +0000 (23:21 +0000)]
Merge "Optimized locking for get/setUserData" into oc-dev

7 years agoMerge "TIF: Remove redundant modifiers in TvContract" into oc-dev
TreeHugger Robot [Thu, 30 Mar 2017 23:20:51 +0000 (23:20 +0000)]
Merge "TIF: Remove redundant modifiers in TvContract" into oc-dev

7 years agoMerge "Fix issue with not forwarding config. changes on the window size" into oc-dev
TreeHugger Robot [Thu, 30 Mar 2017 23:06:13 +0000 (23:06 +0000)]
Merge "Fix issue with not forwarding config. changes on the window size" into oc-dev

7 years agoMerge "Add config_setColorTransformAccelerated" into oc-dev
Christine Franks [Thu, 30 Mar 2017 22:58:35 +0000 (22:58 +0000)]
Merge "Add config_setColorTransformAccelerated" into oc-dev

7 years agoMerge "Revert "Re-enable throw when notifications posted can't find channel"" into...
Geoffrey Pitsch [Thu, 30 Mar 2017 22:58:09 +0000 (22:58 +0000)]
Merge "Revert "Re-enable throw when notifications posted can't find channel"" into oc-dev

7 years agoRevert "Re-enable throw when notifications posted can't find channel"
Geoffrey Pitsch [Thu, 30 Mar 2017 22:46:48 +0000 (22:46 +0000)]
Revert "Re-enable throw when notifications posted can't find channel"

This reverts commit ed0a854b0c2bc1a8e9b9c7f28cd87982ef9d129a.
Bug: 36785228
Change-Id: I26a50c2050c50d8223ed5c20793db565ba9356d7

7 years agoMerge "Bump up batterystats version to clear stale data" into oc-dev
Amith Yamasani [Thu, 30 Mar 2017 22:50:53 +0000 (22:50 +0000)]
Merge "Bump up batterystats version to clear stale data" into oc-dev

7 years agoFix broken unit tests due to mockito upgrade.
Makoto Onuki [Thu, 30 Mar 2017 21:17:35 +0000 (14:17 -0700)]
Fix broken unit tests due to mockito upgrade.

Bug 36781317

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: Ie9abcd8bdf5353c96ebade0e8489f667ef9904ee

7 years agoMerge "Adds FillResponse extra to passed to authentication intent." into oc-dev
TreeHugger Robot [Thu, 30 Mar 2017 22:40:20 +0000 (22:40 +0000)]
Merge "Adds FillResponse extra to passed to authentication intent." into oc-dev

7 years agoFix issue with force resizing activity when app level doesn't want to
Wale Ogunwale [Thu, 30 Mar 2017 19:57:29 +0000 (12:57 -0700)]
Fix issue with force resizing activity when app level doesn't want to

Don't force resize activity whose manifest attribute has
resizeableActivity set to false at the application tag level.

Fixes: 36704475
Test: Launch an app that disables resizeableActivity at the app level
in multi-window mode.

Change-Id: I73137175290355266a4d3ecc469e7a39d73dbc62

7 years agoDon't run jobs when connectivity is not validated
Christopher Tate [Wed, 15 Mar 2017 18:07:46 +0000 (11:07 -0700)]
Don't run jobs when connectivity is not validated

Previously, the job scheduler would run jobs with connectivity
constraints as soon as "raw" connectivity was achieved.  This could
cause problems, though, because the device might be behind a
captive portal or similar, so apps expecting to contact the internet
would still see connect() failures or other unexpected results.

We now run such jobs only when connectivity has been validated,
so jobs have a stronger expectation that their needed internet
access will be possible.

Bug 28346529
Bug 36137931
Test: manual; use tethered phone hotspot, both with and without SIM,
      and verify that the 'validation' trigger is correct.

Change-Id: I79194467610ef9611d38f871d01f92044d0ee9de

7 years agoOverride View.autofill() method and call into ViewDelegate
Tao Bai [Thu, 30 Mar 2017 21:58:53 +0000 (14:58 -0700)]
Override View.autofill() method and call into ViewDelegate

BUG: 36787841

Test: this just forwards api call.
Change-Id: Ie2c9675e5a7ee2ed2a7997d1270cf388571a855b

7 years agoBatteryStats: Add debug logging to narrow down slow camera launch
Adam Lesinski [Thu, 30 Mar 2017 20:54:09 +0000 (13:54 -0700)]
BatteryStats: Add debug logging to narrow down slow camera launch

BatteryStats is on the hotpath when the screen is turning on.
Double tap to launch camera may be impacted on some dogfood devices.
Adds logging (that will be removed before release) to help narrow
down the cases when this happens.

Bug: 36201811
Test: builds/manual
Change-Id: I8080ac09b21269237eda6215d73199676de2005a

7 years agoTemporarily bg-whitelist the default container package-cleaning service
Christopher Tate [Tue, 28 Mar 2017 23:13:51 +0000 (16:13 -0700)]
Temporarily bg-whitelist the default container package-cleaning service

Bug 35968513
Test: manual

Change-Id: Iac3e831631d279f68dec3a49d50393a4abf03088

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 30 Mar 2017 21:15:33 +0000 (14:15 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ic5a973c3de1b80ab3ed1d4cea084d6bb5cb52b0a
Auto-generated-cl: translation import

7 years agoMerge "Drop REASON_SHARED_APK." into oc-dev
Nicolas Geoffray [Thu, 30 Mar 2017 21:11:05 +0000 (21:11 +0000)]
Merge "Drop REASON_SHARED_APK." into oc-dev

7 years agoBump up batterystats version to clear stale data
Amith Yamasani [Thu, 30 Mar 2017 21:01:59 +0000 (14:01 -0700)]
Bump up batterystats version to clear stale data

Change-Id: I96016f30f38e17fcdfdb4a52eba69471945a21e2
Fixes: 36783752
Test: manually verified the file was deleted on flash

7 years agoFix issue with not forwarding config. changes on the window size
Wale Ogunwale [Thu, 30 Mar 2017 20:55:36 +0000 (13:55 -0700)]
Fix issue with not forwarding config. changes on the window size

Coding error inroduced in ag/1965162 where we were no longer setting
the config. if the dispatchResized() call originated from a different
process.

Fixes: 36544847
Test: Change languages and confirm that the status bar changed to the
new language.

Change-Id: I91d73c9f506f28cf1ba13a55f86f87a1aff80e0b

7 years agoMerge "API refactor: context.startForegroundService()" into oc-dev
TreeHugger Robot [Thu, 30 Mar 2017 20:54:18 +0000 (20:54 +0000)]
Merge "API refactor: context.startForegroundService()" into oc-dev

7 years agoMerge "Disable voice call barring notification for Verizon." into oc-dev
Sanket Padawe [Thu, 30 Mar 2017 20:52:17 +0000 (20:52 +0000)]
Merge "Disable voice call barring notification for Verizon." into oc-dev

7 years agoMerge "Remove code for seamlessly rotating SurfaceView's." into oc-dev
Rob Carr [Thu, 30 Mar 2017 20:10:23 +0000 (20:10 +0000)]
Merge "Remove code for seamlessly rotating SurfaceView's." into oc-dev

7 years agoMerge "Tweaking PiP for accessibility." into oc-dev
TreeHugger Robot [Thu, 30 Mar 2017 19:56:35 +0000 (19:56 +0000)]
Merge "Tweaking PiP for accessibility." into oc-dev

7 years agoMerge "Update ENSURE_VERIFY_APPS javadoc" into oc-dev
TreeHugger Robot [Thu, 30 Mar 2017 19:31:18 +0000 (19:31 +0000)]
Merge "Update ENSURE_VERIFY_APPS javadoc" into oc-dev

7 years agoMerge "TextClassificationManager API updates." into oc-dev
TreeHugger Robot [Thu, 30 Mar 2017 19:17:18 +0000 (19:17 +0000)]
Merge "TextClassificationManager API updates." into oc-dev

7 years agoMerge "Hide TextClassifier.EntityType from the public API." into oc-dev
TreeHugger Robot [Thu, 30 Mar 2017 19:15:12 +0000 (19:15 +0000)]
Merge "Hide TextClassifier.EntityType from the public API." into oc-dev

7 years agoMerge "Do not hold locks when calling getAccounts" into oc-dev
TreeHugger Robot [Thu, 30 Mar 2017 19:02:34 +0000 (19:02 +0000)]
Merge "Do not hold locks when calling getAccounts" into oc-dev

7 years agoCorrects CompactExtractEditLayout to account for systemWindowInsetBottom
Mark Renouf [Wed, 29 Mar 2017 20:08:21 +0000 (16:08 -0400)]
Corrects CompactExtractEditLayout to account for systemWindowInsetBottom

Percentage-base sizes involving screen height are incorrect for watch
devices with non 1:1 display metrics. These are round screens with an
inactive bottom portion. To maintain the correct proportions the
bottom inset must be added to the height.

BUG: 36728475
Change-Id: Ibe351d1db7964b4b89ce9a588c171cd8407e2a50

7 years agoAPI refactor: context.startForegroundService()
Christopher Tate [Tue, 21 Mar 2017 18:37:06 +0000 (11:37 -0700)]
API refactor: context.startForegroundService()

Rather than require an a-priori Notification be supplied in order to
start a service directly into the foreground state, we adopt a two-stage
compound operation for undertaking ongoing service work even from a
background execution state.  Context#startForegroundService() is not
subject to background restrictions, with the requirement that the
service formally enter the foreground state via startForeground() within
5 seconds.  If the service does not do so, it is stopped by the OS and
the app is blamed with a service ANR.

We also introduce a new flavor of PendingIntent that starts a service
into this two-stage "promises to call startForeground()" sequence, so
that deferred and second-party launches can take advantage of it.

Bug 36130212
Test: CTS

Change-Id: I96d6b23fcfc27d8fa606827b7d48a093611b2345
(cherry picked from commit 79047c62b58fb0a0ddf28e2b90fe4d17e05bc528)

7 years agoMerge "Merge "Report the temperature during an OTA update" am: 47c7e7f41a am: 022682a...
Tianjie Xu [Thu, 30 Mar 2017 18:28:05 +0000 (18:28 +0000)]
Merge "Merge "Report the temperature during an OTA update" am: 47c7e7f41a am: 022682a721 am: 998c554463" into oc-dev

7 years agoDisable voice call barring notification for Verizon.
Sanket Padawe [Tue, 28 Mar 2017 22:26:13 +0000 (15:26 -0700)]
Disable voice call barring notification for Verizon.

Test: Manual
Bug: 31490566
Change-Id: I2cb9f9b08f54faa276ddef9df36725aa76337746

7 years agoMerge "BatteryStats: Clamp temperature to 0" into oc-dev
TreeHugger Robot [Thu, 30 Mar 2017 18:22:39 +0000 (18:22 +0000)]
Merge "BatteryStats: Clamp temperature to 0" into oc-dev

7 years agoMerge "Change layer stack when moving displays." into oc-dev
Rob Carr [Thu, 30 Mar 2017 18:05:16 +0000 (18:05 +0000)]
Merge "Change layer stack when moving displays." into oc-dev

7 years agoMerge "Make Notification.EXTRA_ALLOW_DURING_SETUP system API" into oc-dev
Maurice Lam [Thu, 30 Mar 2017 18:04:19 +0000 (18:04 +0000)]
Merge "Make Notification.EXTRA_ALLOW_DURING_SETUP system API" into oc-dev

7 years agoAdd config_setColorTransformAccelerated
Christine Franks [Tue, 28 Mar 2017 18:35:15 +0000 (11:35 -0700)]
Add config_setColorTransformAccelerated

Bug: 36603386
Test: lunch aosp_arm-eng && make -j100
Change-Id: I56dcedb5c5b4a6ed973b5763c0d0082fcff9de61

7 years agoMerge "Fix fonts following 455f1bfc05" into oc-dev
TreeHugger Robot [Thu, 30 Mar 2017 17:39:21 +0000 (17:39 +0000)]
Merge "Fix fonts following 455f1bfc05" into oc-dev

7 years agoTweaking PiP for accessibility.
Winson Chung [Thu, 30 Mar 2017 17:26:48 +0000 (10:26 -0700)]
Tweaking PiP for accessibility.

- Disabling timeout when the PiP menu is invoked via an accessibility event
- Increasing default duration before menu times out and collapses
- Fixing issue where temporary bundle data was being clobbered

Bug: 36103023
Test: Launch PiP activity with accessibility, ensure menu does not time out
Change-Id: I4beda18ef2fb2e2b638b0ff6bac9a71ed1986639

7 years agoMerge "Simplified autofill() methods by returning void instead of boolean." into...
TreeHugger Robot [Thu, 30 Mar 2017 17:21:26 +0000 (17:21 +0000)]
Merge "Simplified autofill() methods by returning void instead of boolean." into oc-dev

7 years agoMerge "Track isolated process owners" into oc-dev
Chad Brubaker [Thu, 30 Mar 2017 17:03:46 +0000 (17:03 +0000)]
Merge "Track isolated process owners" into oc-dev

7 years agoDo not hold locks when calling getAccounts
Fyodor Kupolov [Thu, 30 Mar 2017 17:00:49 +0000 (10:00 -0700)]
Do not hold locks when calling getAccounts

Not only it may cause a deadlock, calling authenticator while holding
the lock is also error-prone.

Test: manual
Bug: 36770176
Change-Id: I6871ea88643fc3c178214685c038b2238329e881

7 years agoMerge "Allow ToolbarActionBar to pass-through unhandled keyShortcuts" into oc-dev
Evan Rosky [Thu, 30 Mar 2017 16:46:22 +0000 (16:46 +0000)]
Merge "Allow ToolbarActionBar to pass-through unhandled keyShortcuts" into oc-dev

7 years agoMerge "Switch libplatformproto to sharedlib" into oc-dev
TreeHugger Robot [Thu, 30 Mar 2017 16:42:31 +0000 (16:42 +0000)]
Merge "Switch libplatformproto to sharedlib" into oc-dev

7 years agoDrop REASON_SHARED_APK.
Nicolas Geoffray [Sun, 26 Mar 2017 13:31:34 +0000 (14:31 +0100)]
Drop REASON_SHARED_APK.

This reason was only used by "system shared libraries", not shared
APKs like GMS.

Code that uses this reason is now obsolete, as we do compile these shared
libraries when we see an apk that uses it.

bug:33799337
Test: m -j32 && boot
Change-Id: I2eef22797551401a5c39ed339bc2486cf0d091a8
(cherry picked from commit 86d1e9e23e79687ae94854fc6aa22c3d4ad98423)

7 years agoMerge "Drop REASON_NON_SYSTEM_LIBRARY." into oc-dev
Nicolas Geoffray [Thu, 30 Mar 2017 16:32:35 +0000 (16:32 +0000)]
Merge "Drop REASON_NON_SYSTEM_LIBRARY." into oc-dev

7 years agoMerge "Fix getting wrong instance when restoring non-config" into oc-dev
TreeHugger Robot [Thu, 30 Mar 2017 16:27:36 +0000 (16:27 +0000)]
Merge "Fix getting wrong instance when restoring non-config" into oc-dev

7 years agoMerge "Wait to unlock before changing notification importance" into oc-dev
TreeHugger Robot [Thu, 30 Mar 2017 16:13:59 +0000 (16:13 +0000)]
Merge "Wait to unlock before changing notification importance" into oc-dev

7 years agoHide TextClassifier.EntityType from the public API.
Abodunrinwa Toki [Wed, 29 Mar 2017 20:51:45 +0000 (21:51 +0100)]
Hide TextClassifier.EntityType from the public API.

Test: current.txt and friends updated correctly.
Bug: 35959173
Change-Id: I74011020a4e509bad98b94738d2e929fc068d9ae

7 years agoUpdate ENSURE_VERIFY_APPS javadoc
Rubin Xu [Thu, 16 Mar 2017 18:02:57 +0000 (18:02 +0000)]
Update ENSURE_VERIFY_APPS javadoc

Make it clear that now this restriction applies across the whole device,
and is settable by profile owner.

Bug: 31000521
Test: None; just javadoc update
Change-Id: If82d8f4167cf1b77d6e10554f1d96b2d3a2a54a0

7 years agoRename badge icon method
Julia Reynolds [Thu, 30 Mar 2017 14:48:30 +0000 (10:48 -0400)]
Rename badge icon method

Test: make
Change-Id: Ic7f7dc3319ba4ffa67e1e02acd1828ca46975baf