OSDN Git Service

android-x86/frameworks-base.git
9 years agoMove the layout code out of RenderSessionImpl.
Deepanshu Gupta [Wed, 22 Jul 2015 01:27:40 +0000 (18:27 -0700)]
Move the layout code out of RenderSessionImpl.

Also, switch to using a RelativeLayout from a LinearLayout. The change
will help in future when enabling transparent status and nav bar.

Change-Id: Ie4db5d28313f1c5ef775603788598a56409f92c7

9 years agoCalendarView rendering: use R.styleable to find attr.
Deepanshu Gupta [Fri, 17 Jul 2015 01:32:54 +0000 (18:32 -0700)]
CalendarView rendering: use R.styleable to find attr.

Not all attr are added to R.attr. This results in some attr not being
found and hence a broken rendering. Fix the issue by adding all attr
referenced in R.styleable to the map of attr before adding any remaining
values from R.attr.

Change-Id: I1ebf8a394b9e1edbf7490e011833d20a00d38317

9 years agoMerge "Return a result from Fragment#shouldShowRequestPermissionRationale" into mnc-dev
Svet Ganov [Thu, 16 Jul 2015 19:16:54 +0000 (19:16 +0000)]
Merge "Return a result from Fragment#shouldShowRequestPermissionRationale" into mnc-dev

9 years agoam f4db2de8: am 1b29a957: Merge "docs: Added "location" before "gps" in list under...
Robert Schaub [Thu, 16 Jul 2015 18:57:39 +0000 (18:57 +0000)]
am f4db2de8: am 1b29a957: Merge "docs: Added "location" before "gps" in list under "Declaring hardware ..."" into mnc-preview-docs

* commit 'f4db2de881d197db0dfd76645dfd7a95b1f8f0de':
  docs: Added "location" before "gps" in list under "Declaring hardware ..."

9 years agoam 1b29a957: Merge "docs: Added "location" before "gps" in list under "Declaring...
Robert Schaub [Thu, 16 Jul 2015 18:40:37 +0000 (18:40 +0000)]
am 1b29a957: Merge "docs: Added "location" before "gps" in list under "Declaring hardware ..."" into mnc-preview-docs

* commit '1b29a95789c29174d5e4d526f6449c2c354ef3b3':
  docs: Added "location" before "gps" in list under "Declaring hardware ..."

9 years agoMerge "Don't spam the system with unique wake lock names." into mnc-dev
Dianne Hackborn [Thu, 16 Jul 2015 18:31:14 +0000 (18:31 +0000)]
Merge "Don't spam the system with unique wake lock names." into mnc-dev

9 years agoMerge "docs: Added "location" before "gps" in list under "Declaring hardware ......
Robert Schaub [Thu, 16 Jul 2015 18:21:19 +0000 (18:21 +0000)]
Merge "docs: Added "location" before "gps" in list under "Declaring hardware ..."" into mnc-preview-docs

9 years agoMerge "Verfiy global apps with device owner" into mnc-dev
Todd Kennedy [Thu, 16 Jul 2015 17:59:32 +0000 (17:59 +0000)]
Merge "Verfiy global apps with device owner" into mnc-dev

9 years agoMerge "Animate app exit for cases where the app is already hidden before transition...
Wale Ogunwale [Thu, 16 Jul 2015 17:00:58 +0000 (17:00 +0000)]
Merge "Animate app exit for cases where the app is already hidden before transition" into mnc-dev

9 years agoReturn a result from Fragment#shouldShowRequestPermissionRationale
Svet Ganov [Thu, 16 Jul 2015 16:58:38 +0000 (09:58 -0700)]
Return a result from Fragment#shouldShowRequestPermissionRationale

bug:22523342

Change-Id: Ibacedec952316db705c57204fa448dbcada1c3e6

9 years agoMerge "Don't crash on makeCurrent fail" into mnc-dev
John Reck [Thu, 16 Jul 2015 16:50:28 +0000 (16:50 +0000)]
Merge "Don't crash on makeCurrent fail" into mnc-dev

9 years agoAnimate app exit for cases where the app is already hidden before transition
Wale Ogunwale [Thu, 16 Jul 2015 16:45:35 +0000 (09:45 -0700)]
Animate app exit for cases where the app is already hidden before transition

It is possible for an app token to be marked as hidden and exiting
because the previous activity destory is completed before we are
good-to-go with app transition since we are still waiting for the
opening app to be done drawing. In this case we don't apply the
exiting animation since the token is not changing visibility state
during the app transition (it is already hidden and we are telling
it to hide...).
We now allow the animation to load if the token is already hidden
and marked as exiting.

Bug: 22381703
Change-Id: I5c27b6c3c1f810f05b2d716122055c6f12d0a167

9 years agoVerfiy global apps with device owner
Todd Kennedy [Thu, 16 Jul 2015 16:44:31 +0000 (09:44 -0700)]
Verfiy global apps with device owner

Applications installed for a specific user must be verfied as that user. However,
apps that are installed globally [i.e. UserHandle.ALL] should not be verified by
every user on the device. Instead, they should be verified by the device owner.

Bug: 21901423
Change-Id: I5fd3f690d08e7e911a3c86f09bbfcd4eb635b418

9 years agoDon't crash on makeCurrent fail
John Reck [Thu, 16 Jul 2015 16:17:59 +0000 (09:17 -0700)]
Don't crash on makeCurrent fail

Bug: 22444755

WindowManager may decide to yank the surface at any point, so
attempt to kinda handle this

Change-Id: Id2f665d2f0f93bccd4ec977fbf52dca4dc1ec891

9 years agoMerge "Fix calendar reminder notification is not shown in idle state" into mnc-dev
Tony Mak [Thu, 16 Jul 2015 14:50:16 +0000 (14:50 +0000)]
Merge "Fix calendar reminder notification is not shown in idle state" into mnc-dev

9 years agoMerge "Make additional shared elements a version-checked feature." into mnc-dev
George Mount [Thu, 16 Jul 2015 14:24:06 +0000 (14:24 +0000)]
Merge "Make additional shared elements a version-checked feature." into mnc-dev

9 years agoMerge "Add data binding to built javadoc." into mnc-dev
George Mount [Thu, 16 Jul 2015 14:19:08 +0000 (14:19 +0000)]
Merge "Add data binding to built javadoc." into mnc-dev

9 years agoMake additional shared elements a version-checked feature.
George Mount [Wed, 15 Jul 2015 23:30:20 +0000 (16:30 -0700)]
Make additional shared elements a version-checked feature.

Bug 22505481

ag/684544 added a feature to allow shared elements that weren't
shared into an Activity to be shared back. However, if you are
targeting an older version of the SDK, you may get an unexpected
shared element back. This change in behavior has been locked
behind a target version check.

Change-Id: I7162e24f3b14fedd6b308e89e9d04ac67660f7d6

9 years agoDon't send app links to the parent if status = never (part 2)
Nicolas Prevot [Wed, 15 Jul 2015 13:54:45 +0000 (14:54 +0100)]
Don't send app links to the parent if status = never (part 2)

To qualify for cross-profile app linking, an intent should resolve
with a better status than "NEVER". Moved this check from canForwardTo
into the source method, getCrossProfileDomainPreferredLpr, to stop
bad resolutions leaking out.

BUG:22287521
Change-Id: I195979d78a783864d841a81f358780912bbf168e

9 years agoMerge "Remove redundant cancel events from FingerprintService" into mnc-dev
Vineeta Srivastava [Thu, 16 Jul 2015 07:06:52 +0000 (07:06 +0000)]
Merge "Remove redundant cancel events from FingerprintService" into mnc-dev

9 years agoMerge "Add new API for handling DB query per subId." into mnc-dev
Sanket Padawe [Thu, 16 Jul 2015 05:01:06 +0000 (05:01 +0000)]
Merge "Add new API for handling DB query per subId." into mnc-dev

9 years agoMerge "PopupWindow position must be specified in window coordinates." into mnc-dev
Yohei Yukawa [Thu, 16 Jul 2015 03:42:17 +0000 (03:42 +0000)]
Merge "PopupWindow position must be specified in window coordinates." into mnc-dev

9 years agoMerge "Fix comment bug in I71a8d356e868dc7715b030ca1078da4ec39368c3." into mnc-dev
Yohei Yukawa [Thu, 16 Jul 2015 03:31:52 +0000 (03:31 +0000)]
Merge "Fix comment bug in I71a8d356e868dc7715b030ca1078da4ec39368c3." into mnc-dev

9 years agoPopupWindow position must be specified in window coordinates.
Yohei Yukawa [Thu, 16 Jul 2015 02:01:32 +0000 (19:01 -0700)]
PopupWindow position must be specified in window coordinates.

This CL addresses TODOs in Ib641dda49f7ab1c7d60207c36a47767bb408.

With this CL the position of PopupWindow is always specified in
window-local coordinates even if FloatingToolbar#mParent is not a
decor view.

Bug: 22335001
Change-Id: I0cdd63a00051fa30981e517c07682075467ac598

9 years agoFix comment bug in I71a8d356e868dc7715b030ca1078da4ec39368c3.
Yohei Yukawa [Thu, 16 Jul 2015 02:00:18 +0000 (19:00 -0700)]
Fix comment bug in I71a8d356e868dc7715b030ca1078da4ec39368c3.

This is a coment-only follow up CL for I71a8d356e868dc7715b030ca,
which wrongly changed coordinates from window-local to view-local
(relative to FloatingToolbar#mParent) when showing PopupWindow.

The position of PopupWindow still needs to be specified in
window-local coordinates as we had done before
I71a8d356e868dc7715b030ca1078da4ec39368c3.

Currently the problem might not be visible to users because
  1. FloatingToolbar is not a public API hence all the instances
     are under our controll.
  2. FloatingToolbar#mParent is alwasy initialized with
     PhoneWindow#getDecorView() for now.

Bug: 22335001
Change-Id: Ib641dda49f7ab1c7d60207c36a47767bb408971c

9 years agoRemove redundant cancel events from FingerprintService
Jim Miller [Thu, 16 Jul 2015 01:57:14 +0000 (18:57 -0700)]
Remove redundant cancel events from FingerprintService

This fixes a bug where the framework was sending repeat cancel
events in response to terminal status (onAuthenticated(), onError())
which causes the underlying HAL implementation to get into a weird state.

Now, only client-initiated events like an explicit cancellation
or starting another authentication/enrollment invokes fingerprintd's
cancel() method.

Fixes bug 22438498

Change-Id: I762bab1c8635924848f9f4334db47a07130d5ae3

9 years agoMerge "Fix a bug disappearing installerPackageName info of packages after reboot...
Chris Tate [Thu, 16 Jul 2015 01:18:02 +0000 (01:18 +0000)]
Merge "Fix a bug disappearing installerPackageName info of packages after reboot." into mnc-dev

9 years agoMerge "Add tools:openDrawer to open a DrawerLayout." into mnc-dev
Deepanshu Gupta [Thu, 16 Jul 2015 00:59:33 +0000 (00:59 +0000)]
Merge "Add tools:openDrawer to open a DrawerLayout." into mnc-dev

9 years agoMerge "Change tools:list_item to listitem." into mnc-dev
Deepanshu Gupta [Thu, 16 Jul 2015 00:59:15 +0000 (00:59 +0000)]
Merge "Change tools:list_item to listitem." into mnc-dev

9 years agoam 8c5f34de: am b53568f2: docs: Added word "video" to tv app quality guidelines.
Robert Schaub [Thu, 16 Jul 2015 00:54:04 +0000 (00:54 +0000)]
am 8c5f34de: am b53568f2: docs: Added word "video" to tv app quality guidelines.

* commit '8c5f34de91fc1fb148bbee9f868d32ff6103a70a':
  docs: Added word "video" to tv app quality guidelines.

9 years agoam b53568f2: docs: Added word "video" to tv app quality guidelines.
Robert Schaub [Thu, 16 Jul 2015 00:43:26 +0000 (00:43 +0000)]
am b53568f2: docs: Added word "video" to tv app quality guidelines.

* commit 'b53568f27c384523dae58af9f4ad355a6c72d6d7':
  docs: Added word "video" to tv app quality guidelines.

9 years agoMerge "Allow selecting quick setting items by keyboard." into mnc-dev
Jun Mukai [Thu, 16 Jul 2015 00:37:13 +0000 (00:37 +0000)]
Merge "Allow selecting quick setting items by keyboard." into mnc-dev

9 years agoMerge "Make "dismiss all" button keyboard accessible." into mnc-dev
Oren Blasberg [Thu, 16 Jul 2015 00:29:33 +0000 (00:29 +0000)]
Merge "Make "dismiss all" button keyboard accessible." into mnc-dev

9 years agoMerge "Fix wrong tint mode on airplane and vpn icons" into mnc-dev
Adrian Roos [Thu, 16 Jul 2015 00:27:48 +0000 (00:27 +0000)]
Merge "Fix wrong tint mode on airplane and vpn icons" into mnc-dev

9 years agoMerge "Intent filters need CATEGORY_BROWSABLE to be app-linking eligible" into mnc-dev
Christopher Tate [Thu, 16 Jul 2015 00:20:55 +0000 (00:20 +0000)]
Merge "Intent filters need CATEGORY_BROWSABLE to be app-linking eligible" into mnc-dev

9 years agoFix a bug disappearing installerPackageName info of packages after reboot.
hyemin.hwang [Thu, 9 Jul 2015 00:16:12 +0000 (09:16 +0900)]
Fix a bug disappearing installerPackageName info of packages after reboot.

If user install apps from playstore, system has installerPackageName attribute of app.
but, after reboot, some apps(have sharedUserID) installerPackageName attribute disappearing.
because lack of copy routine.
So, I added copy routine(installerPackageName).

Testcase :
1. Install app(has sharedUserId, ex Lync2013) from market.
2. Confirm package info from packages.xml(exist installer info).
3. reboot.
4. Re-confirm package info from packages.xml(not exist installer info).

Cherry-pick from AOSP master.
Bug 22513758

Change-Id: I3fea3e573c056f6c2f574715d2ebef4df8b75a68

9 years agodocs: Added "location" before "gps" in list under "Declaring hardware ..."
Robert Schaub [Thu, 16 Jul 2015 00:13:11 +0000 (17:13 -0700)]
docs: Added "location" before "gps" in list under "Declaring hardware ..."

Bug: 20106795

Change-Id: I13e7be98722ac56a9175b1456fc018ff665b77ab

9 years agoMerge "Bug: 21589105 Rescoping SYSTEM_ALERT_WINDOW..." into mnc-dev
Billy Lau [Thu, 16 Jul 2015 00:04:32 +0000 (00:04 +0000)]
Merge "Bug: 21589105 Rescoping SYSTEM_ALERT_WINDOW..." into mnc-dev

9 years agoIntent filters need CATEGORY_BROWSABLE to be app-linking eligible
Christopher Tate [Wed, 15 Jul 2015 23:56:58 +0000 (16:56 -0700)]
Intent filters need CATEGORY_BROWSABLE to be app-linking eligible

Bug 22504009

Change-Id: I565b2ba4d1e5deeee8ede3363819deec206dbf58

9 years agodocs: Added word "video" to tv app quality guidelines.
Robert Schaub [Wed, 15 Jul 2015 23:41:22 +0000 (16:41 -0700)]
docs: Added word "video" to tv app quality guidelines.

Bug: 21737663

Change-Id: Ia4edcae6f2089f15156a857da295e89265f56d5d

9 years agoAdd tools:openDrawer to open a DrawerLayout.
Deepanshu Gupta [Sat, 11 Jul 2015 00:38:29 +0000 (17:38 -0700)]
Add tools:openDrawer to open a DrawerLayout.

Store a list of drawer layouts with tools:openDrawer encountered and
call openDrawer on them during the post-inflation processing.

Change-Id: Idee299a9af1bb106509a03bb2e8424c372b93dc5

9 years agoBug: 21589105 Rescoping SYSTEM_ALERT_WINDOW...
Billy Lau [Wed, 15 Jul 2015 21:29:19 +0000 (22:29 +0100)]
Bug: 21589105 Rescoping SYSTEM_ALERT_WINDOW...

AppOpsManager:
Changed the default mode for SYSTEM_ALERT_WINDOW to MODE_DEFAULT instead of
MODE_ALLOWED. Otherwise, an app that did not declare for this permission will
actually be allowed to perform OP_SYSTEM_ALERT_WINDOW, which is undesirable.
This change also allows callers to make their own decision based on the
current policy (M vs pre-M apps).

policy/PhoneWindowManager:
Added additional checks that will handle MODE_DEFAULT - this happens when an app
is newly installed but not yet configured.

wm/WindowManagerService:
Enriched some checks to include the treatment of MODE_DEFAULT - this will allow
pre-M apps uninterupted capability to draw on top of other apps.

Change-Id: I8de77730e158c97587427820cfba721bd5607bea

9 years agoMerge "Implement issue #22403908: Enable assistant to refuse context sharing" into...
Dianne Hackborn [Wed, 15 Jul 2015 23:31:09 +0000 (23:31 +0000)]
Merge "Implement issue #22403908: Enable assistant to refuse context sharing" into mnc-dev

9 years agoMerge "Fix issue #22487155: Device unresponsive (deadlock in system_server)" into...
Dianne Hackborn [Wed, 15 Jul 2015 23:30:49 +0000 (23:30 +0000)]
Merge "Fix issue #22487155: Device unresponsive (deadlock in system_server)" into mnc-dev

9 years agoChange tools:list_item to listitem.
Deepanshu Gupta [Wed, 8 Jul 2015 19:47:46 +0000 (12:47 -0700)]
Change tools:list_item to listitem.

The listitem is already in use for ListView. Reuse the same attribute
for RecyclerView rather than creating a new one.

Change-Id: I82aabe7d04fbe3e61645bc427a81c14c454d03c5

9 years agoMerge "Fix issue #22460110: AssistStructure.ViewNode.isAssistBlocked() always......
Dianne Hackborn [Wed, 15 Jul 2015 23:30:16 +0000 (23:30 +0000)]
Merge "Fix issue #22460110: AssistStructure.ViewNode.isAssistBlocked() always..." into mnc-dev

9 years agoMerge "Fix issue #22479881: Nexus 6 randomly rebooting every few hours with..." into...
Dianne Hackborn [Wed, 15 Jul 2015 23:30:06 +0000 (23:30 +0000)]
Merge "Fix issue #22479881: Nexus 6 randomly rebooting every few hours with..." into mnc-dev

9 years agoMerge "Fix issue #22124996: VI: Command Request not Active" into mnc-dev
Dianne Hackborn [Wed, 15 Jul 2015 23:29:53 +0000 (23:29 +0000)]
Merge "Fix issue #22124996: VI: Command Request not Active" into mnc-dev

9 years agoMerge "Make sure we get valid package name or fail." into mnc-dev
Svetoslav [Wed, 15 Jul 2015 23:03:45 +0000 (23:03 +0000)]
Merge "Make sure we get valid package name or fail." into mnc-dev

9 years agoMake sure we get valid package name or fail.
Svetoslav [Wed, 15 Jul 2015 22:58:01 +0000 (15:58 -0700)]
Make sure we get valid package name or fail.

bug:22492225

Change-Id: I7b7dce9a8e398c4615bcb700de80241e94c4320c

9 years agoMerge "Resolve based on the correct user's default browser" into mnc-dev
Christopher Tate [Wed, 15 Jul 2015 22:57:49 +0000 (22:57 +0000)]
Merge "Resolve based on the correct user's default browser" into mnc-dev

9 years agoMerge "Let the ActionBar handle keyboard shortcuts." into mnc-dev
Abodunrinwa Toki [Wed, 15 Jul 2015 22:38:55 +0000 (22:38 +0000)]
Merge "Let the ActionBar handle keyboard shortcuts." into mnc-dev

9 years agoMerge "fix BNNM docs" into mnc-dev
Miao Wang [Wed, 15 Jul 2015 22:21:11 +0000 (22:21 +0000)]
Merge "fix BNNM docs" into mnc-dev

9 years agoMerge "Grant default permissions to the setup app robustly." into mnc-dev
Svet Ganov [Wed, 15 Jul 2015 21:58:47 +0000 (21:58 +0000)]
Merge "Grant default permissions to the setup app robustly." into mnc-dev

9 years agoMerge "Import translations. DO NOT MERGE" into mnc-dev
Geoff Mendal [Wed, 15 Jul 2015 21:56:25 +0000 (21:56 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dev

9 years agoMerge "Show correct locked orientation on phones" into mnc-dev
Adrian Roos [Wed, 15 Jul 2015 21:56:12 +0000 (21:56 +0000)]
Merge "Show correct locked orientation on phones" into mnc-dev

9 years agoMerge "Import translations. DO NOT MERGE" into mnc-dev
Geoff Mendal [Wed, 15 Jul 2015 21:55:49 +0000 (21:55 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dev

9 years agoMerge "Import translations. DO NOT MERGE" into mnc-dev
Geoff Mendal [Wed, 15 Jul 2015 21:54:06 +0000 (21:54 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dev

9 years agoResolve based on the correct user's default browser
Christopher Tate [Wed, 15 Jul 2015 21:52:29 +0000 (14:52 -0700)]
Resolve based on the correct user's default browser

Bug 22509659

Change-Id: Iac75e7b40609bf2c81d266e0568fbfbeb71bb3aa

9 years agoMerge "Import translations. DO NOT MERGE" into mnc-dev
Geoff Mendal [Wed, 15 Jul 2015 21:50:46 +0000 (21:50 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dev

9 years agoMerge "Import translations. DO NOT MERGE" into mnc-dev
Geoff Mendal [Wed, 15 Jul 2015 21:48:18 +0000 (21:48 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dev

9 years agoMerge "Import translations. DO NOT MERGE" into mnc-dev
Geoff Mendal [Wed, 15 Jul 2015 21:47:12 +0000 (21:47 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dev

9 years agoGrant default permissions to the setup app robustly.
Svet Ganov [Wed, 15 Jul 2015 18:04:18 +0000 (11:04 -0700)]
Grant default permissions to the setup app robustly.

There is a zoo of components that handle the home intent and
have different priority. There is no reliable way to distinguish
the setup app from the other apps that handle home as some of
them have lower priority than the setup app and some higher.
This change adds a dedicated category to recognize the default
setup app.

Uncommented the code that grants accounts permissions as the
get_accounts permission is now a runtime permission and can be
granted.

bug:22471024
bug:22501463

Change-Id: I41726751fa2567cbcd7d09c7acfa7615b8aba577

9 years agoMerge "Import translations. DO NOT MERGE" into mnc-dev
Geoff Mendal [Wed, 15 Jul 2015 21:44:00 +0000 (21:44 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dev

9 years agoMerge "Import translations. DO NOT MERGE" into mnc-dev
Geoff Mendal [Wed, 15 Jul 2015 21:41:14 +0000 (21:41 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dev

9 years agoFix wrong tint mode on airplane and vpn icons
Adrian Roos [Wed, 15 Jul 2015 21:38:39 +0000 (14:38 -0700)]
Fix wrong tint mode on airplane and vpn icons

Bug: 22399062
Change-Id: If7d0e6d4d2ace947672f9a943bb274f07736ddb0

9 years agoImplement issue #22403908: Enable assistant to refuse context sharing
Dianne Hackborn [Wed, 15 Jul 2015 21:20:51 +0000 (14:20 -0700)]
Implement issue #22403908: Enable assistant to refuse context sharing

New APIs allow the voice interaction service to set/retrieve a filter
for which of the show flags are allowed.

Change-Id: I588cbe55afee0548ad3afa22d3a7d3bc43cb54a6

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 15 Jul 2015 21:19:57 +0000 (14:19 -0700)]
Import translations. DO NOT MERGE

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

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 15 Jul 2015 21:17:17 +0000 (14:17 -0700)]
Import translations. DO NOT MERGE

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

9 years agoAdjust assist disclosure stroke width to spec
Jorim Jaggi [Tue, 14 Jul 2015 19:44:12 +0000 (12:44 -0700)]
Adjust assist disclosure stroke width to spec

Bug: 21568059
Change-Id: Ib1ddb8890715b98d36ed5827f053970a9d4a7173

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 15 Jul 2015 21:07:29 +0000 (14:07 -0700)]
Import translations. DO NOT MERGE

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

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 15 Jul 2015 21:02:08 +0000 (14:02 -0700)]
Import translations. DO NOT MERGE

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

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 15 Jul 2015 20:59:16 +0000 (13:59 -0700)]
Import translations. DO NOT MERGE

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

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 15 Jul 2015 20:56:28 +0000 (13:56 -0700)]
Import translations. DO NOT MERGE

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

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 15 Jul 2015 20:50:55 +0000 (13:50 -0700)]
Import translations. DO NOT MERGE

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

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 15 Jul 2015 20:48:05 +0000 (13:48 -0700)]
Import translations. DO NOT MERGE

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

9 years agoMerge "Handle exceptions when accessing Content providers." into mnc-dev
Roshan Pius [Wed, 15 Jul 2015 19:23:28 +0000 (19:23 +0000)]
Merge "Handle exceptions when accessing Content providers." into mnc-dev

9 years agoMake "dismiss all" button keyboard accessible.
Oren Blasberg [Sat, 11 Jul 2015 00:00:17 +0000 (17:00 -0700)]
Make "dismiss all" button keyboard accessible.

This allows users to hit Tab while in the notification pane and access
the Dismiss All icon, with a physical keyboard.

Bug: 22411158
Change-Id: I544bd3ccafcae210770317193099b26972d6a52b
(cherry picked from commit 10cb3105c79dd7de1f2cc9297b1d3b77598de8e3)

9 years agoMerge "Set last modified timestamp for the bugreport entry in the zipped file from...
Felipe Leme [Wed, 15 Jul 2015 19:00:41 +0000 (19:00 +0000)]
Merge "Set last modified timestamp for the bugreport entry in the zipped file from original file, otherwise it uses the date the zip was created." into mnc-dev

9 years agoMerge "Fix build." into mnc-dev
Dianne Hackborn [Wed, 15 Jul 2015 18:59:18 +0000 (18:59 +0000)]
Merge "Fix build." into mnc-dev

9 years agoFix build.
Dianne Hackborn [Wed, 15 Jul 2015 18:58:27 +0000 (11:58 -0700)]
Fix build.

Change-Id: Ib165c32d1d87e971902b4dd7300ccebd65e71a7d

9 years agofix BNNM docs
Miao Wang [Wed, 15 Jul 2015 18:35:28 +0000 (11:35 -0700)]
fix BNNM docs

bug: 22507076
Change-Id: I5fdffdde597d97b1dde77574d096b81bff4aa382

9 years agoAdd USB port manager.
Jeff Brown [Tue, 7 Jul 2015 19:44:17 +0000 (12:44 -0700)]
Add USB port manager.

Add some new internal APIs to enumerate USB Type C ports, query their
status, determine whether they support changing power or data roles,
and doing so.  The API also adds a new ACTION_USB_PORT_CHANGED broadcast
for port state changes.

The implementation includes a mechanism for simulating the behavior
of the USB stack.  See 'adb shell dumpsys usb -h' for details.

Note that the underlying kernel driver interface is still subject
to change but its behavior has been encapsulated as much as possible.

Bug: 21615151
Change-Id: I0c853ae179248a4550b3e60d02a7a7e65e4546b2

9 years agoClean up USB Manager dump.
Jeff Brown [Tue, 7 Jul 2015 19:40:53 +0000 (12:40 -0700)]
Clean up USB Manager dump.

Tidy up the dump() implementation in preparation for further work.

Bug: 21615151
Change-Id: If6d94c8dc9457b8e93103541ec1798981eeb5b54

9 years agoFix issue #22487155: Device unresponsive (deadlock in system_server)
Dianne Hackborn [Wed, 15 Jul 2015 18:32:32 +0000 (11:32 -0700)]
Fix issue #22487155: Device unresponsive (deadlock in system_server)

Using my magic potion, Deadlock-B-Gone!

Change-Id: If5c0a2b18134dc95444f3782ab5aa475414b5839

9 years agoFix issue #22460110: AssistStructure.ViewNode.isAssistBlocked() always...
Dianne Hackborn [Wed, 15 Jul 2015 18:25:55 +0000 (11:25 -0700)]
Fix issue #22460110: AssistStructure.ViewNode.isAssistBlocked() always...

...returns true

Well it wasn't *quite* always, but close enough. :p

Change-Id: I990b8b2ca7b80ce68a067b0dd92efc1c2faaa8cd

9 years agoFix issue #22479881: Nexus 6 randomly rebooting every few hours with...
Dianne Hackborn [Wed, 15 Jul 2015 18:21:38 +0000 (11:21 -0700)]
Fix issue #22479881: Nexus 6 randomly rebooting every few hours with...

..."FATAL EXCEPTION IN SYSTEM PROCESS"

Synchronous calls out of the system process are bad, m'kay?

This should be a safe change because the only place I see calling
this interface are within the system process where there is clearly
no other dependency on ordering.

Change-Id: I483b07cfd68d00d74797784c2a75012e8dd67141

9 years agoFix issue #22124996: VI: Command Request not Active
Dianne Hackborn [Wed, 15 Jul 2015 18:18:09 +0000 (11:18 -0700)]
Fix issue #22124996: VI: Command Request not Active

This stupid thing wasn't even completely implemented
in HandlerCaller!  D'oh!

Change-Id: I0dac42c208fa0f08a6e20a6cb17b072f51efcaa7

9 years agoMerge "Give DCS permission needed to measure all users." into mnc-dev
Jeff Sharkey [Wed, 15 Jul 2015 18:02:59 +0000 (18:02 +0000)]
Merge "Give DCS permission needed to measure all users." into mnc-dev

9 years agoMerge "Only send EXTRA_STACK for private intent." into mnc-dev
Jeff Sharkey [Wed, 15 Jul 2015 18:02:53 +0000 (18:02 +0000)]
Merge "Only send EXTRA_STACK for private intent." into mnc-dev

9 years agoLet the ActionBar handle keyboard shortcuts.
Abodunrinwa Toki [Wed, 1 Jul 2015 00:44:04 +0000 (17:44 -0700)]
Let the ActionBar handle keyboard shortcuts.

Bug: 18021345
Change-Id: I5df8711dcd020f172f798745846e7b6c05c69191

9 years agoMerge "Improve tracking of screen on reasons." into mnc-dev
Dianne Hackborn [Wed, 15 Jul 2015 17:11:05 +0000 (17:11 +0000)]
Merge "Improve tracking of screen on reasons." into mnc-dev

9 years agoAllow selecting quick setting items by keyboard.
Jun Mukai [Mon, 13 Jul 2015 23:18:16 +0000 (16:18 -0700)]
Allow selecting quick setting items by keyboard.

Bug: 22460275
Change-Id: Ib27456d12c9284edfdc27d010782840765728853
(cherry picked from commit 0f939fecdf9cc385a6e9472deb1cb38431995b59)

9 years agoImprove tracking of screen on reasons.
Dianne Hackborn [Mon, 13 Jul 2015 21:48:08 +0000 (14:48 -0700)]
Improve tracking of screen on reasons.

- New screen on app op to record the last time each app has
  caused the screen to be turned on.
- New battery stats event that tells us the reason the screen
  has been asked to turn on.
- Propagate out power manager API to specify the reason a caller
  is asking to have the screen turned on.

Note that currently the window flag to turn the screen on bypasses
much of this because it is being handled in the window manager by
just directly telling the power manager to turn the screen on.  To
make this better we need a new API where it can specify who it is
calling the API for.

Change-Id: I667e56cb1f80508d054da004db667efbcc22e971

9 years agoGive DCS permission needed to measure all users.
Jeff Sharkey [Wed, 15 Jul 2015 16:58:22 +0000 (09:58 -0700)]
Give DCS permission needed to measure all users.

DCS runs as owner user, but needs to measure details for other users
on the device.

Bug: 22503636
Change-Id: I6d6899fae90c4e92b94647676bda8b88bad412e6

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 15 Jul 2015 16:30:20 +0000 (11:30 -0500)]
Import translations. DO NOT MERGE

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

9 years agoOnly send EXTRA_STACK for private intent.
Jeff Sharkey [Wed, 15 Jul 2015 16:13:14 +0000 (09:13 -0700)]
Only send EXTRA_STACK for private intent.

Since it's a private Parcelable class, we can't send it to other
third-party apps, since they won't know how to unpack it.

Bug: 22255387
Change-Id: Ie2ea6cf72b733bd122eb3581a5df295cec608425

9 years agoMerge "Import translations. DO NOT MERGE" into mnc-dev
Geoff Mendal [Wed, 15 Jul 2015 15:46:59 +0000 (15:46 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dev

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 15 Jul 2015 15:43:54 +0000 (10:43 -0500)]
Import translations. DO NOT MERGE

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

9 years agoMerge "Fix input pause without resume." into mnc-dev
George Mount [Wed, 15 Jul 2015 14:12:26 +0000 (14:12 +0000)]
Merge "Fix input pause without resume." into mnc-dev