OSDN Git Service

android-x86/frameworks-base.git
7 years agoRevert "NotificationWrappers: Factor out doze treatment"
Selim Cinek [Mon, 20 Mar 2017 17:44:48 +0000 (17:44 +0000)]
Revert "NotificationWrappers: Factor out doze treatment"

Bug: 36430936
This reverts commit edfb65bbc4eb0453c91355c9c2277fe5e96b135b.

Change-Id: I85f67d2f703bdc1bb8f2bedc19eacb5320b3c1d3

7 years agoRevert "AOD: Use color filter to invert icons for AOD"
Selim Cinek [Mon, 20 Mar 2017 17:43:50 +0000 (17:43 +0000)]
Revert "AOD: Use color filter to invert icons for AOD"

Bug: 36430936
This reverts commit cc957752970c05de64272f33176395dfa2840486.

Change-Id: I1aa4a05d0bc823e02338693e1bf20786dd2ac019

7 years agoAOD: Use color filter to invert icons for AOD
Adrian Roos [Wed, 8 Mar 2017 23:26:14 +0000 (15:26 -0800)]
AOD: Use color filter to invert icons for AOD

Fixes an issue where the AOD icons where of different
brightness because they were converted to grayscale and
then inverted. Now we just set the appropriate color filter
instead.

Change-Id: Ic359aaee2e19274670f44c5b7380c636ee26e559
Test: Open AOD, observe that the icons are colored solid white (like the clock) instead of gray.
Fixes: 35850204

7 years agoNotificationWrappers: Factor out doze treatment
Adrian Roos [Wed, 8 Mar 2017 22:58:33 +0000 (14:58 -0800)]
NotificationWrappers: Factor out doze treatment

Bug: 35850204
Test: receive a notification group, observe that the group icon is correctly inverted on ambient display.
Change-Id: Id7aba066eb1683705fdc2c008e657bd819ddd31d

7 years agoAdd logging constants for settings
Fan Zhang [Mon, 13 Mar 2017 22:25:54 +0000 (15:25 -0700)]
Add logging constants for settings

- New constants for logging app details page button clicks
- New constants for logging search result clicks

Change-Id: Ib2d1f1cec656881941a43363cbcb6c57395a7766
Fix: 32798201
Fix: 32652772
Test: Builds

7 years agoMerge "Fix multi-dimen app transition delay tron event"
Jorim Jaggi [Tue, 14 Mar 2017 17:09:07 +0000 (17:09 +0000)]
Merge "Fix multi-dimen app transition delay tron event"

7 years agoMerge changes from topic 'am-660d5927634e486aa0191f76b8cbb641'
Android Build Merger (Role) [Tue, 14 Mar 2017 16:53:19 +0000 (16:53 +0000)]
Merge changes from topic 'am-660d5927634e486aa0191f76b8cbb641'

* changes:
  Merge changes from topics 'Passpoint API update', 'Passpoint intent update' am: 5df03b3d74 am: 39df78ecc7 am: b81a0cb340  -s ours
  hotspot2: hide validate method for Passpoint configuration am: b5ca6f36b5 am: 9c0f6f3db7 am: a21dbef5fb  -s ours
  Osu: temporarily comment out the usage of deprecated intent definitions am: 06b63dcb9f am: de91bfd277 am: ff5be641ad  -s ours
  hotspot2: update Passpoint intent definitions am: 5679145d9a am: c4d5850d3e am: d26acda230  -s ours

7 years agoMerge "Small cleanup or DataStore API javadoc."
TreeHugger Robot [Tue, 14 Mar 2017 16:51:41 +0000 (16:51 +0000)]
Merge "Small cleanup or DataStore API javadoc."

7 years agoMerge changes from topics 'Passpoint API update', 'Passpoint intent update' am: 5df03...
Peter Qiu [Tue, 14 Mar 2017 16:50:56 +0000 (16:50 +0000)]
Merge changes from topics 'Passpoint API update', 'Passpoint intent update' am: 5df03b3d74 am: 39df78ecc7
am: b81a0cb340  -s ours

Change-Id: I5aca05099b7ab41885723d5da286747f2a8b6489

7 years agohotspot2: hide validate method for Passpoint configuration am: b5ca6f36b5 am: 9c0f6f3db7
Peter Qiu [Tue, 14 Mar 2017 16:49:49 +0000 (16:49 +0000)]
hotspot2: hide validate method for Passpoint configuration am: b5ca6f36b5 am: 9c0f6f3db7
am: a21dbef5fb  -s ours

Change-Id: Ica3501876b945d8546164f591571ccd926fc33f6

7 years agoOsu: temporarily comment out the usage of deprecated intent definitions am: 06b63dcb9...
Peter Qiu [Tue, 14 Mar 2017 16:48:51 +0000 (16:48 +0000)]
Osu: temporarily comment out the usage of deprecated intent definitions am: 06b63dcb9f am: de91bfd277
am: ff5be641ad  -s ours

Change-Id: I4f8c9b6cf747301facd81450a040a32cd0c94114

7 years agohotspot2: update Passpoint intent definitions am: 5679145d9a am: c4d5850d3e
Peter Qiu [Tue, 14 Mar 2017 16:47:10 +0000 (16:47 +0000)]
hotspot2: update Passpoint intent definitions am: 5679145d9a am: c4d5850d3e
am: d26acda230  -s ours

Change-Id: I3abffe7b4b14f3a451017594fcb9ab057a4a082f

7 years agoMerge changes from topics 'Passpoint API update', 'Passpoint intent update' am: 5df03...
Peter Qiu [Tue, 14 Mar 2017 16:36:20 +0000 (16:36 +0000)]
Merge changes from topics 'Passpoint API update', 'Passpoint intent update' am: 5df03b3d74
am: 39df78ecc7

Change-Id: I5c86f4dd87a369640248a3fdd953912f0d92e8f4

7 years agohotspot2: hide validate method for Passpoint configuration am: b5ca6f36b5
Peter Qiu [Tue, 14 Mar 2017 16:35:20 +0000 (16:35 +0000)]
hotspot2: hide validate method for Passpoint configuration am: b5ca6f36b5
am: 9c0f6f3db7

Change-Id: I4c4b6f107b4cb603c6ab3f356e25eed8c0f18c33

7 years agoOsu: temporarily comment out the usage of deprecated intent definitions am: 06b63dcb9f
Peter Qiu [Tue, 14 Mar 2017 16:34:19 +0000 (16:34 +0000)]
Osu: temporarily comment out the usage of deprecated intent definitions am: 06b63dcb9f
am: de91bfd277

Change-Id: Ibab3d0b8900bcfdea8145a23bb2f7694bbc37700

7 years agohotspot2: update Passpoint intent definitions am: 5679145d9a
Peter Qiu [Tue, 14 Mar 2017 16:32:45 +0000 (16:32 +0000)]
hotspot2: update Passpoint intent definitions am: 5679145d9a
am: c4d5850d3e

Change-Id: I28c59915fdd7215ea66b1a2ce9181d7d2890ae9f

7 years agoMerge changes from topics 'Passpoint API update', 'Passpoint intent update'
Peter Qiu [Tue, 14 Mar 2017 16:24:11 +0000 (16:24 +0000)]
Merge changes from topics 'Passpoint API update', 'Passpoint intent update'
am: 5df03b3d74

Change-Id: Ic1822a3203da5522a5a103c34fb45a6498cd6428

7 years agohotspot2: hide validate method for Passpoint configuration
Peter Qiu [Tue, 14 Mar 2017 16:22:28 +0000 (16:22 +0000)]
hotspot2: hide validate method for Passpoint configuration
am: b5ca6f36b5

Change-Id: I268b0db6c844ec1746b6374c87768f233b719b3f

7 years agoOsu: temporarily comment out the usage of deprecated intent definitions
Peter Qiu [Tue, 14 Mar 2017 16:21:06 +0000 (16:21 +0000)]
Osu: temporarily comment out the usage of deprecated intent definitions
am: 06b63dcb9f

Change-Id: I6c418dbecc72ac5c4e245fff06fabfe23b443c23

7 years agohotspot2: update Passpoint intent definitions
Peter Qiu [Tue, 14 Mar 2017 16:19:19 +0000 (16:19 +0000)]
hotspot2: update Passpoint intent definitions
am: 5679145d9a

Change-Id: I4e59efbcd9a9d33ceac8cc359155770c2de5a0fd

7 years agoMerge "@Ignore for KeyguardControllerTest"
Geoffrey Pitsch [Tue, 14 Mar 2017 16:15:29 +0000 (16:15 +0000)]
Merge "@Ignore for KeyguardControllerTest"

7 years agoMerge changes from topics 'Passpoint API update', 'Passpoint intent update'
Treehugger Robot [Tue, 14 Mar 2017 16:07:46 +0000 (16:07 +0000)]
Merge changes from topics 'Passpoint API update', 'Passpoint intent update'

* changes:
  hotspot2: update Passpoint configuration management APIs
  hotspot2: hide validate method for Passpoint configuration
  Osu: temporarily comment out the usage of deprecated intent definitions
  hotspot2: update Passpoint intent definitions

7 years agoMerge "Add transform info to dump output"
Jorim Jaggi [Tue, 14 Mar 2017 15:46:50 +0000 (15:46 +0000)]
Merge "Add transform info to dump output"

7 years agoMerge "Enabling bugreport notifications on TV"
Dmitri Plotnikov [Tue, 14 Mar 2017 15:28:11 +0000 (15:28 +0000)]
Merge "Enabling bugreport notifications on TV"

7 years agoFix multi-dimen app transition delay tron event
Jorim Jaggi [Fri, 3 Feb 2017 01:13:05 +0000 (17:13 -0800)]
Fix multi-dimen app transition delay tron event

Make sure to log everything.

Test: Open app, inspect log.
Test: com.android.systemmetrics.functional.AppStartTests

Bug: 33086172
Change-Id: I6fdfef625c09267dcf20724e853cf7471abc86c9

7 years agoEnabling bugreport notifications on TV
Dmitri Plotnikov [Mon, 13 Mar 2017 22:44:41 +0000 (15:44 -0700)]
Enabling bugreport notifications on TV

Bug: 36175844
Test: by generating a bugreport (long-press DPAD_CENTER + BACK)
Test: verified that BugreportProgressServiceTest still passes
Change-Id: If5bf53512c60a359838aa76dc61b90d4e67a45df

7 years agoSmall cleanup or DataStore API javadoc.
Filip Pavlis [Mon, 13 Mar 2017 16:58:24 +0000 (16:58 +0000)]
Small cleanup or DataStore API javadoc.

There is also change in PreferenceManager.getSharedPreferences. The
original was not always returning null in case mPreferenceDataStore is
not null. That was contradictory with the java doc and conufing during
the runtime. Added tests for it.

Test: Separate CTS (2) being submitted along this one, see the topic.
Bug: b/34322039
Change-Id: I78a6758a674c3c8139bbe66ec17f2e29ca847828

7 years ago@Ignore for KeyguardControllerTest
Geoffrey Pitsch [Tue, 14 Mar 2017 13:41:11 +0000 (09:41 -0400)]
@Ignore for KeyguardControllerTest

transientIndication_releasesWakeLock_afterHidingDelayed is slightly
flaky.

Test: runtest systemui
Bug: 36211361
Change-Id: I0e71c445efae54c45cca418653a8d6df2888d722

7 years agoMerge "Add haptic feedback for a11y shortcut"
Phil Weaver [Tue, 14 Mar 2017 14:47:49 +0000 (14:47 +0000)]
Merge "Add haptic feedback for a11y shortcut"

7 years agoMerge "Enable recycling of third party preference widgets"
Filip Pavlis [Tue, 14 Mar 2017 13:19:34 +0000 (13:19 +0000)]
Merge "Enable recycling of third party preference widgets"

7 years agoMerge "DO NOT MERGE Clear calling identity before checking if user is running." into...
Kenny Guy [Tue, 14 Mar 2017 12:30:33 +0000 (12:30 +0000)]
Merge "DO NOT MERGE Clear calling identity before checking if user is running." into nyc-dev am: 2df7f9f9c0 am: c5d86736d3 am: 00b77edec0 am: 11c5ff0399 am: d49386eaa5
am: 9b9158f9f9  -s ours

Change-Id: I71c292d901150c4328a1ae79df7e499cfdd52465

7 years agoMerge "DO NOT MERGE Clear calling identity before checking if user is running." into...
Kenny Guy [Tue, 14 Mar 2017 12:25:59 +0000 (12:25 +0000)]
Merge "DO NOT MERGE Clear calling identity before checking if user is running." into nyc-dev am: 2df7f9f9c0 am: c5d86736d3 am: 00b77edec0 am: 11c5ff0399
am: d49386eaa5

Change-Id: If8ade174d66418ecd43606cd57a98655e37deec8

7 years agoMerge "DO NOT MERGE Clear calling identity before checking if user is running." into...
Kenny Guy [Tue, 14 Mar 2017 12:21:00 +0000 (12:21 +0000)]
Merge "DO NOT MERGE Clear calling identity before checking if user is running." into nyc-dev am: 2df7f9f9c0 am: c5d86736d3 am: 00b77edec0
am: 11c5ff0399

Change-Id: I649c06ea01b23db5668fa0694528cffd823b8d7b

7 years agoMerge "DO NOT MERGE Clear calling identity before checking if user is running." into...
Kenny Guy [Tue, 14 Mar 2017 12:16:23 +0000 (12:16 +0000)]
Merge "DO NOT MERGE Clear calling identity before checking if user is running." into nyc-dev am: 2df7f9f9c0 am: c5d86736d3
am: 00b77edec0

Change-Id: I16ea6b1c11cde1b9491826d7e95dc9bf3a45458b

7 years agoMerge "DO NOT MERGE Clear calling identity before checking if user is running." into...
Kenny Guy [Tue, 14 Mar 2017 12:11:54 +0000 (12:11 +0000)]
Merge "DO NOT MERGE Clear calling identity before checking if user is running." into nyc-dev am: 2df7f9f9c0
am: c5d86736d3

Change-Id: I0886d46f74fec980eb8bd6c99d8b647e294bcb21

7 years agoMerge "DO NOT MERGE Clear calling identity before checking if user is running." into...
Kenny Guy [Tue, 14 Mar 2017 12:07:26 +0000 (12:07 +0000)]
Merge "DO NOT MERGE Clear calling identity before checking if user is running." into nyc-dev
am: 2df7f9f9c0

Change-Id: I9ca23aa395e0120413a60174e9b7ef44d91a90b1

7 years agoMerge "DO NOT MERGE Clear calling identity before checking if user is running." into...
Kenny Guy [Tue, 14 Mar 2017 12:01:54 +0000 (12:01 +0000)]
Merge "DO NOT MERGE Clear calling identity before checking if user is running." into nyc-dev

7 years agoMerge "Associate rotation watchers with displays"
TreeHugger Robot [Tue, 14 Mar 2017 08:30:00 +0000 (08:30 +0000)]
Merge "Associate rotation watchers with displays"

7 years agoMerge "Revert "remove LinearTransform from libutils""
Ian Pedowitz [Tue, 14 Mar 2017 08:15:38 +0000 (08:15 +0000)]
Merge "Revert "remove LinearTransform from libutils""

7 years agoRevert "remove LinearTransform from libutils"
Ian Pedowitz [Tue, 14 Mar 2017 08:09:17 +0000 (08:09 +0000)]
Revert "remove LinearTransform from libutils"

This reverts commit d4d6167f614a9001d9827a8634a26b5e9445a22c.

Bug: 36206160
Test:  Fugu compiles, didn't before the revert
Change-Id: I2b0d3a05546ee2605555a9aa7ae028f2baeaf439

7 years agoMerge "Fix a few auto fill ussues"
TreeHugger Robot [Tue, 14 Mar 2017 06:50:55 +0000 (06:50 +0000)]
Merge "Fix a few auto fill ussues"

7 years agoMerge "Address some comments on IpManagerTest" am: b2afa1ede5 am: dea2371e71
Erik Kline [Tue, 14 Mar 2017 06:17:39 +0000 (06:17 +0000)]
Merge "Address some comments on IpManagerTest" am: b2afa1ede5 am: dea2371e71
am: eb04c52063

Change-Id: I8716a2f49c6adec97b260c32d65d53414068e41d

7 years agoMerge "Address some comments on IpManagerTest" am: b2afa1ede5
Erik Kline [Tue, 14 Mar 2017 06:13:10 +0000 (06:13 +0000)]
Merge "Address some comments on IpManagerTest" am: b2afa1ede5
am: dea2371e71

Change-Id: Iac9eccca662fccc2da7d81c6d86d1623cccef342

7 years agoMerge "iot: Grant all runtime permissions for installed apks."
Alex Deymo [Tue, 14 Mar 2017 06:09:48 +0000 (06:09 +0000)]
Merge "iot: Grant all runtime permissions for installed apks."

7 years agoMerge "Address some comments on IpManagerTest"
Erik Kline [Tue, 14 Mar 2017 06:08:34 +0000 (06:08 +0000)]
Merge "Address some comments on IpManagerTest"
am: b2afa1ede5

Change-Id: Ic986c23c693757b8311e0de0c0a94281db67f62d

7 years agoMerge "Mark NetworkScoreManager.requestRecommendations hidden."
Joe LaPenna [Tue, 14 Mar 2017 06:01:56 +0000 (06:01 +0000)]
Merge "Mark NetworkScoreManager.requestRecommendations hidden."

7 years agoMerge "Address some comments on IpManagerTest"
Treehugger Robot [Tue, 14 Mar 2017 06:00:34 +0000 (06:00 +0000)]
Merge "Address some comments on IpManagerTest"

7 years agoFix a few auto fill ussues
Svet Ganov [Mon, 13 Mar 2017 07:21:04 +0000 (00:21 -0700)]
Fix a few auto fill ussues

1. Ensure clicking on a focused view brings up autofill if needed

2. Notify the autofill manager in a couple of cases we missed

3. Renamed the AutofillManager app facing APIs to better reflect what
    they do and added a API for the app to cancel the autofill interaction

4. Fix view structure dispatch where the ordering of children for autofill
    was mixed with ordering of direct view children - the autofill children
    may be indirect as views can be marked not important for autofill

5. Show scrollbars only if there are more fill options than want is shown

6. Show only three fill options and the rest can be accessed with a scroll

7. Remove the list divider to allow fill items to control all fill window content

8. Renamed the autofill manager internal service classes to xxAutofillxx

9. Fixed a comment that was not addressed in a previous CL

10. Showing max three fill options - rest needs a scroll

11. Make sure fill UI shown when filter with no matches is changed
      to filter with some matches

12. Make sure the fill window has a shadow

Test: Autofill CTS tests pass and manual

bug:36038929
bug:36040101
bug:36149166
bug:36034681
bug:36126001
bug:36035654

Change-Id: Ic8726146fc3c0a19d3e536becdd63fb65622136e

7 years agoMerge "Unhide Settings#ACTION_NIGHT_DISPLAY_SETTINGS"
TreeHugger Robot [Tue, 14 Mar 2017 04:55:42 +0000 (04:55 +0000)]
Merge "Unhide Settings#ACTION_NIGHT_DISPLAY_SETTINGS"

7 years agoMerge "CEC: Revisit the behavior of HDMI_SYSTEM_AUDIO_ENABLED"
Donghyun Cho [Tue, 14 Mar 2017 04:54:33 +0000 (04:54 +0000)]
Merge "CEC: Revisit the behavior of HDMI_SYSTEM_AUDIO_ENABLED"

7 years agoMerge "Dont dispatch a11y events that have no subscribers"
TreeHugger Robot [Tue, 14 Mar 2017 04:35:34 +0000 (04:35 +0000)]
Merge "Dont dispatch a11y events that have no subscribers"

7 years agoAddress some comments on IpManagerTest
Erik Kline [Tue, 14 Mar 2017 04:00:27 +0000 (13:00 +0900)]
Address some comments on IpManagerTest

Test: as follows
    - built (bullhead)
    - flashed
    - booted
    - runtest frameworks-net passes
Bug: 26991160
Change-Id: Ib543874188537e31422206d67d1760762a7c85cd

7 years agoMerge "Skeleton of an IpManagerTest" am: db4333a2c2 am: cf07e0d541
Erik Kline [Tue, 14 Mar 2017 03:25:04 +0000 (03:25 +0000)]
Merge "Skeleton of an IpManagerTest" am: db4333a2c2 am: cf07e0d541
am: 4e8ae3eddc

Change-Id: I25dd93146efe7ce1cd9cb81da19dcb44afc96bd3

7 years agoMerge "Skeleton of an IpManagerTest" am: db4333a2c2
Erik Kline [Tue, 14 Mar 2017 03:19:56 +0000 (03:19 +0000)]
Merge "Skeleton of an IpManagerTest" am: db4333a2c2
am: cf07e0d541

Change-Id: I9b0ed1aff8ba7d5465bff3d6fa8f9048153c8a44

7 years agoMerge "Skeleton of an IpManagerTest"
Erik Kline [Tue, 14 Mar 2017 03:11:15 +0000 (03:11 +0000)]
Merge "Skeleton of an IpManagerTest"
am: db4333a2c2

Change-Id: I5817c2458c222afb85389deaf22b43d245577b2a

7 years agoMerge "Skeleton of an IpManagerTest"
Treehugger Robot [Tue, 14 Mar 2017 03:02:19 +0000 (03:02 +0000)]
Merge "Skeleton of an IpManagerTest"

7 years agoMerge "BatteryStats: Prevent double-detaching Counter"
TreeHugger Robot [Tue, 14 Mar 2017 01:34:21 +0000 (01:34 +0000)]
Merge "BatteryStats: Prevent double-detaching Counter"

7 years agoMerge "Fix java-doc reference"
TreeHugger Robot [Tue, 14 Mar 2017 01:28:21 +0000 (01:28 +0000)]
Merge "Fix java-doc reference"

7 years agoAssociate rotation watchers with displays
Andrii Kulian [Sat, 11 Mar 2017 17:37:28 +0000 (09:37 -0800)]
Associate rotation watchers with displays

Displays can be rotated separately and rotation watcher clients
are only interested in rotation of some specific display. This CL
adds displayId to rotation watchers and only informs them about
changes on their display.

Bug: 34242678
Test: Manual and debug.
Change-Id: If0f03804da0392c2b14a4e7c2d6a06068ad8760b

7 years agoUnhide Settings#ACTION_NIGHT_DISPLAY_SETTINGS
Justin Klaassen [Thu, 16 Feb 2017 02:57:46 +0000 (18:57 -0800)]
Unhide Settings#ACTION_NIGHT_DISPLAY_SETTINGS

Bug: 35356645
Test: adb shell am start -a "android.settings.NIGHT_DISPLAY_SETTINGS"
Change-Id: I8f725c4e4190e849d9160f09d2ca79f1987fc93a

7 years agoMerge "carrier default app notification polish" am: b2bb98e62d am: 921a49f7f8
fionaxu [Tue, 14 Mar 2017 01:20:28 +0000 (01:20 +0000)]
Merge "carrier default app notification polish" am: b2bb98e62d am: 921a49f7f8
am: 7c825ee40d

Change-Id: I2542b486de47071837407d1bb94ba89da0fb283a

7 years agoSkeleton of an IpManagerTest
Erik Kline [Tue, 14 Mar 2017 01:01:58 +0000 (10:01 +0900)]
Skeleton of an IpManagerTest

Test: as follows
    - biult (bullhead)
    - flashed
    - booted
    - runtest frameworks-net passes
Bug: 26991160
Change-Id: Idddddf0c1a7a8d0a8acff8a5526b02a533d5f3ec

7 years agoMerge "carrier default app notification polish" am: b2bb98e62d
fionaxu [Tue, 14 Mar 2017 01:15:46 +0000 (01:15 +0000)]
Merge "carrier default app notification polish" am: b2bb98e62d
am: 921a49f7f8

Change-Id: I318953e330252694fb64cde9d2f5e8a540384a1c

7 years agoMerge "carrier default app notification polish"
fionaxu [Tue, 14 Mar 2017 01:10:51 +0000 (01:10 +0000)]
Merge "carrier default app notification polish"
am: b2bb98e62d

Change-Id: I78101dd7dc4bd7f222c5e6cc095b7179ce03f362

7 years agoMerge "Provide proper rect in animation spec for transition to assistant stack."
TreeHugger Robot [Tue, 14 Mar 2017 01:08:28 +0000 (01:08 +0000)]
Merge "Provide proper rect in animation spec for transition to assistant stack."

7 years agoMerge "carrier default app notification polish"
Treehugger Robot [Tue, 14 Mar 2017 00:55:05 +0000 (00:55 +0000)]
Merge "carrier default app notification polish"

7 years agoDont dispatch a11y events that have no subscribers
Eugene Susla [Wed, 18 Jan 2017 19:07:06 +0000 (11:07 -0800)]
Dont dispatch a11y events that have no subscribers

This allows to avoid A11yManager -> A11yManagerService IPC, when there's no
subscribers to a given event

Test: steps:
  - Enable A11yManager.DEBUG
  - Navigate through a few random activities
  - In logcat, ensure log messages are present, notifying that certain events
  won't be dispatched
Change-Id: Ia019fb66053f10095b3651407d09de8e89cdd227

7 years agoMerge "No direct Uri grants from system."
TreeHugger Robot [Tue, 14 Mar 2017 00:38:09 +0000 (00:38 +0000)]
Merge "No direct Uri grants from system."

7 years agoFix java-doc reference
Philip P. Moltmann [Mon, 13 Mar 2017 20:22:42 +0000 (13:22 -0700)]
Fix java-doc reference

Test: Built
Change-Id: I5171d23145bfddc1e36b8e579c208f73472a0da4

7 years agoMerge "SurfaceView: Update matrix when buffer size changes."
Rob Carr [Mon, 13 Mar 2017 23:22:09 +0000 (23:22 +0000)]
Merge "SurfaceView: Update matrix when buffer size changes."

7 years agoMerge "Lower-overhead version of LockGuard."
TreeHugger Robot [Mon, 13 Mar 2017 23:21:31 +0000 (23:21 +0000)]
Merge "Lower-overhead version of LockGuard."

7 years agocarrier default app notification polish
fionaxu [Mon, 13 Mar 2017 23:01:12 +0000 (16:01 -0700)]
carrier default app notification polish

change notification string and app name

Bug: 36002256
Test: Manual
Change-Id: Iec2658850522585157bdc7edd7330ac930bf751d

7 years agoBatteryStats: Prevent double-detaching Counter
Adam Lesinski [Mon, 13 Mar 2017 19:25:13 +0000 (12:25 -0700)]
BatteryStats: Prevent double-detaching Counter

Detaching a Counter from a TimeBase means you can't use it anymore.
Only newly constructed Counters are automatically attached to a TimeBase.

Bug: 34200689
Test: make FrameworkCoreTests && adb install ... && adb shell am instrument -w -e class com.android.internal.os.BatteryStatsSensorTest com.android.frameworks.coretests
Change-Id: I9309000d5625aa6fe61a3c05f135e5828137d8ce

7 years agoSurfaceView: Update matrix when buffer size changes.
Robert Carr [Mon, 13 Mar 2017 22:27:15 +0000 (15:27 -0700)]
SurfaceView: Update matrix when buffer size changes.

This restores the N behavior where RT synchronization
was broken for buffer size changes.

Bug: 36180927
Bug: 28866173
Test: Manual. Will follow up once dechaselisted.
Change-Id: I31c4f83858a096af0dd73611ed120861911fc9d9

7 years agoMerge "Move rotation tracking to DisplayContent"
Andrii Kulian [Mon, 13 Mar 2017 22:09:30 +0000 (22:09 +0000)]
Merge "Move rotation tracking to DisplayContent"

7 years agoMerge "Hook up the cache quota query."
Daniel Nishi [Mon, 13 Mar 2017 22:08:10 +0000 (22:08 +0000)]
Merge "Hook up the cache quota query."

7 years agoMerge "remove LinearTransform from libutils"
TreeHugger Robot [Mon, 13 Mar 2017 22:06:09 +0000 (22:06 +0000)]
Merge "remove LinearTransform from libutils"

7 years agoProvide proper rect in animation spec for transition to assistant stack.
Winson Chung [Mon, 13 Mar 2017 21:44:46 +0000 (14:44 -0700)]
Provide proper rect in animation spec for transition to assistant stack.

Bug: 35363819
Test: Enter recents from the assistant and relaunch it.
Change-Id: I498d914b31bed32e206e1eab3c97a7266dae8334

7 years agoMerge "Move PackageInstaller over to AppFuse."
Jeff Sharkey [Mon, 13 Mar 2017 21:44:35 +0000 (21:44 +0000)]
Merge "Move PackageInstaller over to AppFuse."

7 years agoLower-overhead version of LockGuard.
Jeff Sharkey [Mon, 13 Mar 2017 20:53:11 +0000 (14:53 -0600)]
Lower-overhead version of LockGuard.

Instead of building up a giant set of all locks inside the system
server, there are only a handful that we're interested in watching:
specifically those below the ActivityManagerService lock.

This change adds a index-based variant of lock registering and
checking, which has much lower overhead that doesn't bring a device
to its knees.  It's disabled by default, but can be enabled on local
development builds.

Currently uses the boostPriorityForLockedSection() hook in AMS to
check for lock inversions when enabled.

Test: builds, boots, no AMS lock inversions detected
Bug: 35410906
Change-Id: I473d634d23c08538029412a1254bf4f92b96fb84

7 years agoMerge "Check for existance of hyphenation pattern files first"
Roozbeh Pournader [Mon, 13 Mar 2017 20:52:24 +0000 (20:52 +0000)]
Merge "Check for existance of hyphenation pattern files first"

7 years agoMerge changes from topic 'receiver_IA'
Chad Brubaker [Mon, 13 Mar 2017 20:52:11 +0000 (20:52 +0000)]
Merge changes from topic 'receiver_IA'

* changes:
  Enforce visibleToInstantApps for receivers
  Only send exposed broadcasts to Instant Apps

7 years agoremove LinearTransform from libutils
Mathias Agopian [Mon, 13 Mar 2017 19:26:06 +0000 (12:26 -0700)]
remove LinearTransform from libutils

this was the only client.

Test: compile
Bug: cleanup for treble
Change-Id: Ibe2308d5fffb18c398db47e27d0123d629f675fe

7 years agoMerge "Allow blocked apps to create channels"
Julia Reynolds [Mon, 13 Mar 2017 20:09:09 +0000 (20:09 +0000)]
Merge "Allow blocked apps to create channels"

7 years agoAdd haptic feedback for a11y shortcut
Phil Weaver [Mon, 13 Mar 2017 18:32:01 +0000 (11:32 -0700)]
Add haptic feedback for a11y shortcut

Bug: 35036259
Test: Activated shortcut, felt the vibration. Also added unit test.
Change-Id: I3070620d9152ce9b9bb084ee4f01d26020f125d0

7 years agoMove PackageInstaller over to AppFuse.
Jeff Sharkey [Sat, 11 Mar 2017 04:53:48 +0000 (21:53 -0700)]
Move PackageInstaller over to AppFuse.

When PackageInstaller was originally written, we needed a way to
ensure that untrusted apps were fully hands-off of any opened
FileDescriptors before we could proceed with certificate checks.

The best way to satisfy this security constraint was to build
a utility called FileBridge which was a (terribly slow) RPC
mechanism that could be cut off when needed.

However, a new feature called "AppFuse" offers to create a "proxy"
FileDescriptor which relays file operations back into userspace, and
it's much more performant than FileBridge.  (Local benchmark tests
that deliver a 64MB APK show that AppFuse is about 45% faster than
FileBridge.)  Because userspace is still involved in every operation,
we can still "revoke" access at any time to deliver on our security
requirements.

This change adds support for AppFuse, while keeping around FileBridge
as the default for now.  An upcoming flag-flip CL can be used to
easily switch between the two modes.

Test: builds, boots, benchmarking, stress tests
Bug: 357284043133237925510838
Change-Id: I2a70c0ca922a5ba468ffdef7b2fd8ab79f7cfefd

7 years agoMerge "Refactoring accessibility class out to own file."
TreeHugger Robot [Mon, 13 Mar 2017 19:54:31 +0000 (19:54 +0000)]
Merge "Refactoring accessibility class out to own file."

7 years agoMerge "Temporarily re-added addSavableIds() with AutoFillId."
TreeHugger Robot [Mon, 13 Mar 2017 19:29:58 +0000 (19:29 +0000)]
Merge "Temporarily re-added addSavableIds() with AutoFillId."

7 years agoMerge "Update javadoc about TIS.onTimeShiftGetCurrentPosition"
TreeHugger Robot [Mon, 13 Mar 2017 19:21:04 +0000 (19:21 +0000)]
Merge "Update javadoc about TIS.onTimeShiftGetCurrentPosition"

7 years agoMerge "use _deprecated suffix for deprecated clipops"
TreeHugger Robot [Mon, 13 Mar 2017 19:19:28 +0000 (19:19 +0000)]
Merge "use _deprecated suffix for deprecated clipops"

7 years agoMerge "Move battery percent constant to Settings"
TreeHugger Robot [Mon, 13 Mar 2017 19:09:45 +0000 (19:09 +0000)]
Merge "Move battery percent constant to Settings"

7 years agoMerge "Use the textclassifier library for smart selection"
Abodunrinwa Toki [Mon, 13 Mar 2017 18:57:50 +0000 (18:57 +0000)]
Merge "Use the textclassifier library for smart selection"

7 years agoNo direct Uri grants from system.
Jeff Sharkey [Mon, 21 Nov 2016 17:33:54 +0000 (10:33 -0700)]
No direct Uri grants from system.

The system should never be extending Uri permission grants from
itself, since it automatically holds all the permissions.  Instead,
the system should always be a mediator between two specific apps, and
it should be using startActivityAsCaller() if it needs to extend
permissions.

Blocking at this level fixes an entire class of confused deputy
security issues.

There is a small exemption for the "com.android.settings.files"
authority which is used for photo cropping in the Settings app.

Test: builds, normal intent resolution UI works
Bug: 3301929635158271
Change-Id: I3f0de58facedab8767541291b5dfa022fa2e4414

7 years agoMerge "Prevent updating the PiP when it is being dismissed."
TreeHugger Robot [Mon, 13 Mar 2017 18:37:14 +0000 (18:37 +0000)]
Merge "Prevent updating the PiP when it is being dismissed."

7 years agohotspot2: update Passpoint configuration management APIs
Peter Qiu [Mon, 6 Mar 2017 18:47:55 +0000 (10:47 -0800)]
hotspot2: update Passpoint configuration management APIs

Address API Councils comment to update both
WifiManager#addOrUpdatePasspointConfiguration and
WifiManager#removePasspointConfiguration to return void and throw
exception on failure instead of returning a boolean.

Bug: 35858311,35856174
Test: make -j32
Change-Id: Iac421eba7aa90e8bc3ffaf5d81210302c7557e95
Merged-In: Iac421eba7aa90e8bc3ffaf5d81210302c7557e95

7 years agohotspot2: hide validate method for Passpoint configuration
Peter Qiu [Fri, 3 Mar 2017 17:15:49 +0000 (09:15 -0800)]
hotspot2: hide validate method for Passpoint configuration

The validate method is used by Framework only, no need to expose
to app developers. So hide it.

Bug: 35756298
Test: make -j32
Change-Id: I15ccae472f30d7ae968816479f6ea35d90248fe0
Merged-In: I15ccae472f30d7ae968816479f6ea35d90248fe0

7 years agoOsu: temporarily comment out the usage of deprecated intent definitions
Peter Qiu [Mon, 13 Mar 2017 18:19:43 +0000 (11:19 -0700)]
Osu: temporarily comment out the usage of deprecated intent definitions

Bug: 35857805
Test: mmma frameworks/base/packages/Osu
Change-Id: Iadaede1806cfe7bcaf57ed185618a6de4451e321
Merged-In: Ie4ea352e11b10a7c1f8780557554486bc2b4fcef

7 years agoMerge "Bluetooth 5 spelling fixes" am: 5465fe0a2d am: 58569de4de
Jakub Pawlowski [Mon, 13 Mar 2017 18:21:03 +0000 (18:21 +0000)]
Merge "Bluetooth 5 spelling fixes" am: 5465fe0a2d am: 58569de4de
am: 2ebaf34259

Change-Id: Ic0ca716afc1f6a900b4c4455d8ff520abef5fb31

7 years agoMerge "Bluetooth 5 spelling fixes" am: 5465fe0a2d
Jakub Pawlowski [Mon, 13 Mar 2017 18:16:24 +0000 (18:16 +0000)]
Merge "Bluetooth 5 spelling fixes" am: 5465fe0a2d
am: 58569de4de

Change-Id: I6abd6becaf54fd59abe894fc6c71c46ce4361c8d

7 years agoMerge "Bluetooth 5 spelling fixes"
Jakub Pawlowski [Mon, 13 Mar 2017 18:11:58 +0000 (18:11 +0000)]
Merge "Bluetooth 5 spelling fixes"
am: 5465fe0a2d

Change-Id: Ibef8ee6a56bf1f8c695e07e4ba61c015054eee13