238830 Commits

Author SHA1 Message Date
Akira Oshimi
f37adce25d Close notification panel when user button is tapped
When multi-user is disabled and user button on the notification panel
is tapped, the contact app is displayed behind the notification panel.
The notification panel should be closed
when the contact app is launched.

Bug: 27790403
Change-Id: I66ebcb66c898dfebe1d09b798f750f696c360da8
(cherry picked from commit 8cb009e45115dbd03c66de6d56ef1510777a4ead)
2016-03-22 18:02:01 +00:00
Selim Cinek
f07d06212b Fixed the group expand motion to better reflect the overflow
The overflow now comes in only after the other notifications have
fully transformed.

Bug: 24866646
Change-Id: Ia950205669916a637c44ea7d41bfc06e750ea987
2016-03-22 11:00:59 -07:00
Selim Cinek
c897bd3e91 Introduced a number indicating more children in a group
Bug: 25376106
Change-Id: I97dc60c4fea599c668c9e74e11b7d693fd78589b
2016-03-22 11:00:59 -07:00
Selim Cinek
a6c0cef0a0 Only isolating children now when not expanded
If a group is expanded and a child is huned,
it is not isolated anymore as the user can
already see it.

Bug: 24866646
Change-Id: I671aad6556c2c1c7e1cee2b45f54834ef9e2e093
2016-03-22 11:00:50 -07:00
Selim Cinek
5704239ce1 Merge "Removed the summary line for notification groups" into nyc-dev
am: 44e7764

* commit '44e7764b5420f26dfad38472a5db1331e6dc1c4d':
  Removed the summary line for notification groups
2016-03-22 17:57:22 +00:00
Selim Cinek
14257cab01 Merge "Hiding the summary of notification groups with a single child now" into nyc-dev
am: 49ab4fb

* commit '49ab4fbbb10f42ea9b33d20dbc0e93cd385ee142':
  Hiding the summary of notification groups with a single child now
2016-03-22 17:57:20 +00:00
Felipe Leme
4de3848c2e Merge "Documented that UserDictionary is not directly available anymore." into nyc-dev
am: 3ef62ca

* commit '3ef62ca404588b9e2b6aeed3defa77e2b3f3a060':
  Documented that UserDictionary is not directly available anymore.
2016-03-22 17:57:18 +00:00
Selim Cinek
0f4ab53a53 Merge "Fixed a bug where children could have fake shadows" into nyc-dev 2016-03-22 17:54:36 +00:00
Selim Cinek
a8f45ac5d7 Merge "Cleaned up notification group handling with HUNS" into nyc-dev 2016-03-22 17:54:20 +00:00
Selim Cinek
44e7764b54 Merge "Removed the summary line for notification groups" into nyc-dev 2016-03-22 17:54:07 +00:00
Selim Cinek
49ab4fbbb1 Merge "Hiding the summary of notification groups with a single child now" into nyc-dev 2016-03-22 17:53:41 +00:00
Felipe Leme
3ef62ca404 Merge "Documented that UserDictionary is not directly available anymore." into nyc-dev 2016-03-22 17:47:36 +00:00
Diego Perez
03291ab04c Merge "Remove BufferedImage allocation from PorterDuff filter" into mnc-ub-dev am: ebf3261
am: 21412f0

* commit '21412f09b92c8e118c535420a2c2912fa8c58722':
  Remove BufferedImage allocation from PorterDuff filter
2016-03-22 17:42:56 +00:00
Diego Perez
21412f09b9 Merge "Remove BufferedImage allocation from PorterDuff filter" into mnc-ub-dev
am: ebf3261

* commit 'ebf3261aa6d80ad4ca1df0fd0509961ff7a1914e':
  Remove BufferedImage allocation from PorterDuff filter
2016-03-22 17:40:20 +00:00
Lorenzo Colitti
d58f3e3f8a Merge "Also dump the last APF program to be installed." into nyc-dev
am: 5ec323ae

* commit '5ec323aea2f08ba34911962fdf2b7cad5e801b9f':
  Also dump the last APF program to be installed.
2016-03-22 17:40:12 +00:00
Ben Kwa
bc1a7032f2 Merge "DocsUI: Switch the launcher icon to Downloads." into nyc-dev
am: 71432a0

* commit '71432a08c61d4f0305e43a219e5a03940a7d46f4':
  DocsUI: Switch the launcher icon to Downloads.
2016-03-22 17:37:28 +00:00
Paul Jensen
5ec323aea2 Merge "Also dump the last APF program to be installed." into nyc-dev 2016-03-22 17:36:17 +00:00
Lorenzo Colitti
39c0d42f81 Also dump the last APF program to be installed.
Bug: 26238573
Bug: 27768019
Change-Id: I8b036258aca5ac32ef4bba0f0de7d0b9e7d40886
2016-03-22 13:34:01 -04:00
Diego Perez
ebf3261aa6 Merge "Remove BufferedImage allocation from PorterDuff filter" into mnc-ub-dev 2016-03-22 17:33:05 +00:00
Ben Kwa
71432a08c6 Merge "DocsUI: Switch the launcher icon to Downloads." into nyc-dev 2016-03-22 17:30:52 +00:00
Felipe Leme
cb64e08e6a Merge "Changed logic when dumpstate\'s max progress increases." into nyc-dev
am: 9545d8e

* commit '9545d8e3377e73eb7d781360910b733760d3b0fb':
  Changed logic when dumpstate's max progress increases.
2016-03-22 17:28:29 +00:00
Chong Zhang
6136273888 Don't change geometry in relayout if preserve geometry is requested
This causes scaling to be applied in the relayout window since the
requested size won't match the window size. Apply the requested size
in repositionChild instead.

bug: 27676101
Change-Id: I03beee2b9fe118a6be329b5fd1338d54e48d9a22
2016-03-22 10:28:27 -07:00
Ben Kwa
e912e8af99 DocsUI: Switch the launcher icon to Downloads.
Switch to using the "Downloads" icon for this app in the launcher.

BUG=25954736

Change-Id: I44092505b02bccdbe8d49463dbb327f836dd6155
2016-03-22 10:24:57 -07:00
Felipe Leme
9545d8e337 Merge "Changed logic when dumpstate's max progress increases." into nyc-dev 2016-03-22 17:21:20 +00:00
Janis Danisevskis
e871e6e0b1 Merge "Document restricted app private file permissions" into nyc-dev
am: c875a42

* commit 'c875a420a485e8b5144d521cbbb5001e5bef0721':
  Document restricted app private file permissions
2016-03-22 17:20:27 +00:00
Janis Danisevskis
c875a420a4 Merge "Document restricted app private file permissions" into nyc-dev 2016-03-22 17:17:05 +00:00
Abodunrinwa Toki
07177140e4 Replace Settings.ACTION_KEYBOARD_LAYOUT_SETTINGS with Settings.ACTION_HARD_KEYBOARD_SETTINGS
Bug: 26943892
Change-Id: I1eb6bd7a9e816190b96dc1516d5874eb966385a4
2016-03-22 17:12:22 +00:00
Aga Wronska
c9f5b17df4 Merge "Add config flag to show/hide internal storage. Hide internal storage by default." into nyc-dev
am: 5f7d673

* commit '5f7d673f3b69019288adcf11325f71aeb2b8af49':
  Add config flag to show/hide internal storage. Hide internal storage by default.
2016-03-22 17:09:10 +00:00
Felipe Leme
3fc44b9a62 Changed logic when dumpstate's max progress increases.
When dumpstate starts, it estimates its maximum duration and sends it
through an extra on BUGREPORT_STARTED; as it progress, it sets a system
property with its current progress and if the progress value overflows
the estimated max, it increases the max as well.

Shell uses the max/progress to display the progress % in the
system notification, and need to handle the scenario where the max
changes. The initial implementation would recalculate the progress, with
makes it swing back and forth as dumpstate increases the max.

This CL changes the Shell logic so the progress never go back, just
forward. The drawback of this approach is that if dumpstate
underestimate the maximum, the progress might get stuck in a high
value (99%) early on, but such issue will be addressed in the long
term by tuning the estimated max value.

BUG: 26354314
Change-Id: I3a5416acaffaaa43fd28d2f1f8ec8ea12aa0d91e
2016-03-22 10:05:30 -07:00
Aga Wronska
5f7d673f3b Merge "Add config flag to show/hide internal storage. Hide internal storage by default." into nyc-dev 2016-03-22 17:04:28 +00:00
Janis Danisevskis
c83343f7ee Document restricted app private file permissions
Make the docs reflect changes in private file access permissions.

Starting with API level 24 app private files are exclusively accessible
to the owning app. Files can no longer be shared by name because apps
cannot relax the files system permissions.

Bug: 27636012
Change-Id: Ibcb5032986c819829fa13ba07a74f20f2997e995
2016-03-22 16:53:21 +00:00
Ben Wagner
85ea32b02a Switch frameworks/base/core/jni from gcc to clang.
Switch from gcc to clang and fix errors detected.

The immediate motivation is that gcc with libc++ stl does not use
'explicit' in the stl, causing issues for use of unique_ptr.
The longer term motivation is to fully move to clang.

BUG=22414716

Change-Id: If77436c1e7601f20289603862be33b85880ab4bd
(cherry picked from commit 60b1c8ef860b8cd5a1fa453a8951d6e8d7c44734)
2016-03-22 16:48:08 +00:00
Joachim Sauer
6b6c7fdf65 Merge "Hide general utility methods in ICU4J." into nyc-dev
am: 3c3a59e

* commit '3c3a59e9493e2cbaad83892da546ee73bffa7060':
  Hide general utility methods in ICU4J.
2016-03-22 16:38:59 +00:00
Joachim Sauer
3c3a59e949 Merge "Hide general utility methods in ICU4J." into nyc-dev 2016-03-22 16:35:00 +00:00
Aga Wronska
6cc9258371 Merge "Make status bar translucent. Make drawer appera below status bar." into nyc-dev
am: 1363b67

* commit '1363b677b3ead9e0f04de8be5e0fed0ccf5097c0':
  Make status bar translucent. Make drawer appera below status bar.
2016-03-22 16:31:11 +00:00
Aga Wronska
1363b677b3 Merge "Make status bar translucent. Make drawer appera below status bar." into nyc-dev 2016-03-22 16:27:49 +00:00
Tony Mantler
b1412c1a41 Merge "Move hint strings to SettingsLib" into nyc-dev
am: 77ab9bb

* commit '77ab9bb71a6ed5239056b49df6e312075b4ec9a6':
  Move hint strings to SettingsLib
2016-03-22 16:23:12 +00:00
Jeff Sharkey
11caddafb0 Update TrafficStats SystemApi docs.
Bug: 25726690
Change-Id: I221d62eaaf1e0fca8c26e4f19cb25d306710a849
2016-03-22 10:20:35 -06:00
Ian Pedowitz
c5b34f04d4 Merge "Revert "Sanitize app op service inputs"" into nyc-dev
am: ef43188

* commit 'ef43188489d287f317af6d48c3145dd2170aaf84':
  Revert "Sanitize app op service inputs"
2016-03-22 16:17:50 +00:00
Tony Mantler
77ab9bb71a Merge "Move hint strings to SettingsLib" into nyc-dev 2016-03-22 16:16:16 +00:00
Ian Pedowitz
ef43188489 Merge "Revert "Sanitize app op service inputs"" into nyc-dev 2016-03-22 16:14:54 +00:00
Ian Pedowitz
9888e00b7a Revert "Sanitize app op service inputs"
This reverts commit fcf01503c5f04841bc0b2c51a2f30cffaf60a2f6.

Bug: 26587386
Bug: 27759382
Change-Id: Iedfe3657b51c3965bcbddb6b2dc6dfbc1d7b9c37
2016-03-22 16:13:48 +00:00
Joachim Sauer
d76fe896d4 Hide general utility methods in ICU4J.
Bug: 22023363
Change-Id: I1d1624b4846fba7855fa7273fa34646c85369b56
2016-03-22 16:07:26 +00:00
Jeff Sharkey
0c2ccd0598 Throw the right exception flavor.
Change-Id: Ie017fce925ed0122d3820c3f3d91e1b86982a7b1
2016-03-22 10:05:47 -06:00
Paul Duffin
62b7758d44 Merge "ICU4J: Removed a couple of useless or internal methods from API" into nyc-dev
am: 83ad1c1

* commit '83ad1c16f9e54e35d12b644973da72bae8e2dac4':
  ICU4J: Removed a couple of useless or internal methods from API
2016-03-22 16:04:18 +00:00
Yang Ni
6a9d594317 Merge "Correctly init code cache path for RS" into nyc-dev
am: 2cd81f8

* commit '2cd81f8b2c7577b6c60de11d039ebc3a8dab9fe8':
  Correctly init code cache path for RS
2016-03-22 16:04:16 +00:00
Paul Duffin
e591be8637 Merge "ICU4J: Update API for using civil version of IslamicCalendar" into nyc-dev
am: d7ec6e5

* commit 'd7ec6e5a8efc9e1cdd558d5dd2db946139ffee69':
  ICU4J: Update API for using civil version of IslamicCalendar
2016-03-22 15:59:08 +00:00
Paul Duffin
83ad1c16f9 Merge "ICU4J: Removed a couple of useless or internal methods from API" into nyc-dev 2016-03-22 15:58:21 +00:00
guoyin.chen
8a8e68ce3b com.android.cts.appsecurity.AdoptableHostTest may trigger below dead
lock in system_server in the board with external adoptable storage
as below stack:

"Binder_4" prio=5 tid=60 Blocked
    at com.android.server.pm.UserManagerService.exists(UserManagerSer
        vice.java:411)
    - waiting to lock <0x06858aff> (a android.util.ArrayMap) held by
        thread 19
    at com.android.server.pm.PackageManagerService.checkUidPermissio
        n(PackageManagerService.java:3193)
    at android.app.ActivityManager.checkComponentPermission(ActivityM
        anager.java:2647)
    at com.android.server.pm.UserManagerService.checkManageUsersPermi
        ssion(UserManagerService.java:678)
    at com.android.server.pm.UserManagerService.getUsers(UserManagerS
        ervice.java:272)
    at android.os.UserManager.getUsers(UserManager.java:966)
    at com.android.server.MountService.resetIfReadyAndConnectedLocked
        (MountService.java:800)
    at com.android.server.MountService.forgetAllVolumes(MountService.
        java:1806)
    - locked <0x077010cc> (a java.lang.Object)
    at android.os.storage.IMountService$Stub.onTransact(IMountService
        .java:1859)
    at android.os.Binder.execTransact(Binder.java:453)

"PackageManager" prio=5 tid=19 Blocked
    at com.android.server.MountService.getVolumeList(MountService.jav
        a:2708)
    - waiting to lock <0x077010cc> (a java.lang.Object) held by threa
        d 60
    at android.os.storage.StorageManager.getVolumeList(StorageManager
        .java:883)
    at android.os.Environment$UserEnvironment.getExternalDirs(Environ
        ment.java:83)
    at android.os.Environment.isExternalStorageEmulated(Environment.j
        ava:719)
    at com.android.server.pm.PackageManagerService.isExternalMediaAva
        ilable(PackagkageManagerService.java:9453)
    at com.android.server.pm.PackageManagerService.startCleaningPacka
        ges(PackageManagerService.java:9493)
    - locked <0x06858aff> (a android.util.ArrayMap)
    at com.android.server.pm.PackageManagerService$PackageHandler.doH
        andleMessage(PackageManagerService.java:1331)
    at com.android.server.pm.PackageManagerService$PackageHandler.han
        dleMessage(PackageManagerService.java:1133)
    at android.os.Handler.dispatchMessage(Handler.java:102)
    at android.os.Looper.loop(Looper.java:148)
    at android.os.HandlerThread.run(HandlerThread.java:61)
    at com.android.server.ServiceThread.run(ServiceThread.java:46)

Signed-off-by: guoyin.chen <guoyin.chen@freescale.com>
2016-03-22 09:58:11 -06:00
Yang Ni
2cd81f8b2c Merge "Correctly init code cache path for RS" into nyc-dev 2016-03-22 15:57:14 +00:00