OSDN Git Service
Wale Ogunwale [Thu, 18 Feb 2016 22:13:05 +0000 (22:13 +0000)]
Merge "Protect against surfaceController and hasSurface getting out of sync." into nyc-dev
Adam Lesinski [Thu, 18 Feb 2016 22:12:23 +0000 (22:12 +0000)]
DO NOT MERGE ANYWHERE: UsageStats: Use new settings key idle_duration2 for app idle am:
1559fed4c4 -s ours am:
5c9378f310 -s ours
am:
d828c95a93 -s ours
* commit '
d828c95a930c6789f6251bc8a120bf2293a3a22e':
DO NOT MERGE ANYWHERE: UsageStats: Use new settings key idle_duration2 for app idle
Adam Lesinski [Thu, 18 Feb 2016 22:09:57 +0000 (22:09 +0000)]
DO NOT MERGE ANYWHERE: UsageStats: Fix issue where initializing data for first time would cause crash am:
2bd90c6abc -s ours am:
bca4317a3b -s ours
am:
f2fd47bfa5 -s ours
* commit '
f2fd47bfa5533bb9e57b37760edde71776048c88':
DO NOT MERGE ANYWHERE: UsageStats: Fix issue where initializing data for first time would cause crash
Adam Lesinski [Thu, 18 Feb 2016 22:08:28 +0000 (22:08 +0000)]
Merge branch 'nyc-dev' of /usr/local/google/game/mirror/googleplex-android_googlesource_com/platform/frameworks/base into nyc-dev
Adam Lesinski [Thu, 18 Feb 2016 22:07:23 +0000 (22:07 +0000)]
DO NOT MERGE ANYWHERE: UsageStatsService: Fix app idle issue at rollover time am:
9c7b543325 -s ours am:
7e03454985 -s ours
am:
78a2522c7f -s ours
* commit '
78a2522c7f02570f36a3683a9ba5cfa813abc26e':
DO NOT MERGE ANYWHERE: UsageStatsService: Fix app idle issue at rollover time
Jeff Sharkey [Thu, 18 Feb 2016 22:07:04 +0000 (22:07 +0000)]
Merge "Push mapping of package name to appId to kernel." into nyc-dev
Adam Lesinski [Thu, 18 Feb 2016 22:03:35 +0000 (22:03 +0000)]
DO NOT MERGE ANYWHERE: UsageStats: Use new settings key idle_duration2 for app idle am:
1559fed4c4 -s ours
am:
5c9378f310 -s ours
* commit '
5c9378f310acd4ab375ed8a5d703a86522ab814c':
DO NOT MERGE ANYWHERE: UsageStats: Use new settings key idle_duration2 for app idle
Jeff Sharkey [Tue, 2 Feb 2016 00:57:08 +0000 (17:57 -0700)]
Push mapping of package name to appId to kernel.
The new sdcardfs kernel driver needs to know this mapping for
deriving UID permissions, so push the data through /config when
supported by the kernel. This also has the nice benefit of letting
us push only the deltas of what actually changes, instead of
re-parsing the entire "packages.list" file.
The mappings for newly installed apps are pushed before the app is
allowed to run, removing some latent race conditions. Also cleans
up stale mappings when packages are uninstalled, and whenever the
system server reboots.
Bug:
19160983
Change-Id: Iace92efb69616c96b34c0d9d911e4b54e5fd8a67
Adam Lesinski [Thu, 18 Feb 2016 22:00:55 +0000 (22:00 +0000)]
DO NOT MERGE ANYWHERE: UsageStats: Fix issue where initializing data for first time would cause crash am:
2bd90c6abc -s ours
am:
bca4317a3b -s ours
* commit '
bca4317a3bbbdfdda083283d73a26e9c078c84f2':
DO NOT MERGE ANYWHERE: UsageStats: Fix issue where initializing data for first time would cause crash
Adam Lesinski [Thu, 18 Feb 2016 21:59:39 +0000 (21:59 +0000)]
DO NOT MERGE ANYWHERE: UsageStatsService: Fix app idle issue at rollover time am:
9c7b543325 -s ours
am:
7e03454985 -s ours
* commit '
7e0345498528611f538d8a5f259acc3440c1a649':
DO NOT MERGE ANYWHERE: UsageStatsService: Fix app idle issue at rollover time
Wale Ogunwale [Thu, 18 Feb 2016 21:37:55 +0000 (13:37 -0800)]
Protect against surfaceController and hasSurface getting out of sync.
WindowStateAnimator.mSurfaceController is set to null whenever a
surface is destroyed and WindowState.mHasSurface is set to false
shortly after that. However, it is possible for them to get out
of sync in a couple of places due to exceptions or duplicate destroy.
Consolidated the call to set WindowState.mHasSurface inside a finally
block in WindowStateAnimator.destroySurface
Also, cleaned up the code a little to that it is more obvious what is
going on.
Bug:
27235356
Change-Id: I7e6d0c1fb015531c393ac86dcaebebd134fad612
Andre Eisenbach [Thu, 14 Jan 2016 22:20:34 +0000 (14:20 -0800)]
Read Bluetooth interop database entries from settings (1/2)
Interop database entries are stored in the system settings entry
"BluetoothInteropDatabase". The format is a list of entries separated by
";". An entry consists of a BDA fragment, followed by a comma and an
integer representing a feature from interop.h.
Example:
To disable LE secure connections for devices starting with BDA 11:22:33,
use "11:22:33,0".
Bug:
26548845
Change-Id: I6a9fd34f6af4d3bdfcaa0e051eafebdfbf2a4949
(cherry picked from commit
3bc623be8dd8b83d0a22c5cc5b5a8955001f6fc7)
Chris Tate [Thu, 18 Feb 2016 21:43:27 +0000 (21:43 +0000)]
Merge "Add android:backupInForeground" into nyc-dev
Chong Zhang [Thu, 18 Feb 2016 21:32:44 +0000 (21:32 +0000)]
Merge "Use background drawable from the client" into nyc-dev
Chong Zhang [Tue, 9 Feb 2016 02:25:24 +0000 (18:25 -0800)]
Use background drawable from the client
And set the drawable's callback to null during drag-resizing, since
we use multi-threaded renderer, will do not want to schedule draws
to the ViewRootImpl's thread.
bug:
26729953
Change-Id: I6e5f94a5a6ba15edc2d391dd11d8fee3c657d337
(cherry picked from commit
1cc95075e89a0f91cb59ff37a1a027199040c7b4)
Chong Zhang [Fri, 12 Feb 2016 02:51:51 +0000 (18:51 -0800)]
Fix flicker when tapping quickly on dock divider
- Only add preserved surface to removal list when the new surface is shown
- When surface mode change again before the previous preserved surface is
removed, don't do nothing, instead, destroy the current surface which is
of wrong size.
bug:
26545679
Change-Id: Ifd548a0fa9ccdcbc9609ca38bb701cc7256cc6e1
(cherry picked from commit
ec63381f7596d89719fd3528b181ed1820a4cb84)
Christopher Tate [Thu, 18 Feb 2016 02:00:48 +0000 (18:00 -0800)]
Add android:backupInForeground
An app can now declare that it really needs to be backed up
whenever possible even if it is currently engaged in foreground-
equivalent work. Only applies to full-data backup clients: key/value
backups are not intrusive on normal lifecycle so they can already
happen in such circumstances.
Bug
26790411
Change-Id: Ia0ebcc7a53da888ae9ae4d63cd4bcab6e3a2e866
Makoto Onuki [Thu, 18 Feb 2016 20:26:40 +0000 (20:26 +0000)]
Merge "Fix bugs in user restriction migration" into nyc-dev
Makoto Onuki [Thu, 18 Feb 2016 00:52:59 +0000 (16:52 -0800)]
Fix bugs in user restriction migration
Originally I didn't know user-0 could have PO, so I excluded this case
from migration. Now we handle it properly.
Also make sure only restrictions that can actually be set by each
owner moves to the owner restriction. (Because of this, we no longer
have to have DISALLOW_WALLPAPER in the exception list, because
owners can't set DISALLOW_WALLPAPER.)
Bug
27225996
Change-Id: I6ad79d90e6c4400abbb1e4feba6ba59e3b650815
Steve McKay [Thu, 18 Feb 2016 20:00:09 +0000 (20:00 +0000)]
Merge "Fix CTS failure." into nyc-dev
Steve McKay [Thu, 18 Feb 2016 19:32:26 +0000 (11:32 -0800)]
Fix CTS failure.
Loosen the reigns on setPickTarget to accommodate no sub command mode.
Change-Id: Ia11c4194970c93fe86e98dfd0d23ed4fa1cea765
Antonio Cansado [Thu, 18 Feb 2016 19:43:41 +0000 (19:43 +0000)]
Merge "Implementation of data usage callbacks." into nyc-dev
Jeff Sharkey [Thu, 18 Feb 2016 19:26:34 +0000 (19:26 +0000)]
Merge "Make BackupManager encryption aware." into nyc-dev
Amith Yamasani [Thu, 18 Feb 2016 19:24:22 +0000 (19:24 +0000)]
Merge "Reduce locking duration when checking idle states" into nyc-dev
Amith Yamasani [Thu, 18 Feb 2016 19:07:01 +0000 (11:07 -0800)]
Reduce locking duration when checking idle states
Synchronize only the methods that need to be, so that
the lock is not held for a few hundred milliseconds, blocking
other usagestats operations.
Bug:
27208519
Change-Id: I43bda0791dd8b2576a8af506bcdc67a09a5830f2
Jason Monk [Thu, 18 Feb 2016 19:21:19 +0000 (19:21 +0000)]
Merge changes I91733155,If5912504 into nyc-dev
* changes:
QS header: animation work
Add TouchAnimator to make QS Animations simpler
Adam Lesinski [Thu, 18 Feb 2016 19:20:22 +0000 (19:20 +0000)]
DO NOT MERGE ANYWHERE: UsageStats: Use new settings key idle_duration2 for app idle
am:
1559fed4c4 -s ours
* commit '
1559fed4c47a4bd219e61f7d34e50d46b8929f8a':
DO NOT MERGE ANYWHERE: UsageStats: Use new settings key idle_duration2 for app idle
Adam Lesinski [Thu, 18 Feb 2016 19:17:39 +0000 (19:17 +0000)]
DO NOT MERGE ANYWHERE: UsageStats: Fix issue where initializing data for first time would cause crash
am:
2bd90c6abc -s ours
* commit '
2bd90c6abce3e43af6db4eaa7a34459e8341b3a0':
DO NOT MERGE ANYWHERE: UsageStats: Fix issue where initializing data for first time would cause crash
Xiaohui Chen [Thu, 18 Feb 2016 18:53:17 +0000 (10:53 -0800)]
sysui: refactor for extensibility
Bug:
27100755
Change-Id: I7fff6751b7f197e3e66ab1f87690d556f6e66872
Adam Lesinski [Thu, 18 Feb 2016 19:15:16 +0000 (19:15 +0000)]
DO NOT MERGE ANYWHERE: UsageStatsService: Fix app idle issue at rollover time
am:
9c7b543325 -s ours
* commit '
9c7b543325db1a6f8913403ec3a5cbe041b25043':
DO NOT MERGE ANYWHERE: UsageStatsService: Fix app idle issue at rollover time
Simranjit Kohli [Thu, 18 Feb 2016 19:08:33 +0000 (19:08 +0000)]
Merge "[Fix extra data in cache]" into nyc-dev
Doris Liu [Thu, 18 Feb 2016 19:06:19 +0000 (19:06 +0000)]
Merge "Revert "Revert "Revert "VectorDrawable native rendering - Step 5 of MANY"""" into nyc-dev
Doris Liu [Thu, 18 Feb 2016 19:04:26 +0000 (19:04 +0000)]
Merge "Revert "Check RenderNode's owning view before attaching animators"" into nyc-dev
Jorim Jaggi [Thu, 18 Feb 2016 04:27:22 +0000 (20:27 -0800)]
Fix issues with docked icon
- Make sure to update when configuration changes
- Do not reset it to a deprecated icon we don't use
anymore.
Bug:
26451729
Bug:
27045882
Change-Id: I6c23a91fd9577ca836818fcd3ab6a0682880df1f
Jason Monk [Thu, 18 Feb 2016 18:47:04 +0000 (18:47 +0000)]
Merge "Tuner volume dnd panel work" into nyc-dev
Jason Monk [Thu, 11 Feb 2016 02:01:30 +0000 (21:01 -0500)]
Tuner volume dnd panel work
Change-Id: Id7852e96f987d13c06041e2280d44163a296f49b
Jason Monk [Wed, 17 Feb 2016 21:41:01 +0000 (16:41 -0500)]
QS header: animation work
Bug:
27201532
Change-Id: I917331555132028897821c2a996d1d9dd8ad1833
Jason Monk [Thu, 18 Feb 2016 18:22:14 +0000 (13:22 -0500)]
Add TouchAnimator to make QS Animations simpler
Bug:
27201532
Change-Id: If5912504748f7b29dd71b70a41bba4ff70b1fc9d
Doris Liu [Thu, 18 Feb 2016 18:37:02 +0000 (18:37 +0000)]
Revert "Revert "Revert "VectorDrawable native rendering - Step 5 of MANY"""
This reverts commit
0d20a275a5baf8579c8b9111cf2ce6615874a6b6.
Change-Id: I97c782f1164a5d39ab74dc098cca71d9e1b30cd8
Doris Liu [Thu, 18 Feb 2016 18:34:59 +0000 (18:34 +0000)]
Revert "Check RenderNode's owning view before attaching animators"
This reverts commit
12abdeb3c7bffbc7c07b913595f6ea2cb66154d1.
Change-Id: I938deddf5f294127f87a0e70f940fe5b9a85e0b2
Diego Perez [Thu, 18 Feb 2016 18:28:50 +0000 (18:28 +0000)]
resolve merge conflicts of
aa9c9fb29e to nyc-dev
Change-Id: Id46238cb759f2d63a072cb7ea8a27c5fd8a6672e
Erik Kline [Thu, 18 Feb 2016 18:19:06 +0000 (18:19 +0000)]
Add Protocol.BASE_ETHERNET
am:
ca4c61aa9f
* commit '
ca4c61aa9f7396a167202ea83f4d02f7f62ba482':
Add Protocol.BASE_ETHERNET
Zachary Kuznia [Thu, 18 Feb 2016 02:57:47 +0000 (18:57 -0800)]
Fix crash when cancelling an accessibility gesture with ACTION_UP.
b/
27090049
Change-Id: I7a5b65c4e96513539d820c9a2bef99272fb24680
(cherry picked from commit
3951e3547f2ebb5ec228b8776855e9f244b1e9e9)
Jeff Sharkey [Wed, 17 Feb 2016 22:29:38 +0000 (15:29 -0700)]
Make BackupManager encryption aware.
Backup requires both CE and DE storage to be available, so delay
spinning up the backup system until the user is unlocked, since
that's when CE storage becomes available. Note that devices without
FBE immediately transition USER_SYSTEM into the unlocked state,
since their CE is always available.
Offer to backup and restore files under both CE and DE. Since DE
is effectively the same as CE, most logic is simply duplicated for
now, but it could be simplified in the future. Since system apps
can force their default storage location to DE, we always build
explicit CE and DE paths.
Add getDataDir() to give clean access to the top-level private data
directory, but disclaim that apps shouldn't create files there.
Bug:
26279618
Change-Id: Ic34a4b330223725db93b1d0f5c9dffc88002c61f
Jeff Sharkey [Thu, 18 Feb 2016 17:43:16 +0000 (10:43 -0700)]
Sigh, safe mode.
There are still system internals making assumptions about component
details always being available when requested directly, so relax this
even further to only filter resolve results.
Bug:
27165374
Change-Id: I216fd362516064741e9b80636b99e2d0477d4a58
Vladislav Kaznacheev [Thu, 18 Feb 2016 17:43:38 +0000 (17:43 +0000)]
Merge "Do not call IWindowSession.updatePointer icon from pointer handler" into nyc-dev
Makoto Onuki [Thu, 18 Feb 2016 16:57:41 +0000 (16:57 +0000)]
Merge "Ensure DO/PO are also DA." into nyc-dev
Julia Reynolds [Thu, 18 Feb 2016 15:44:11 +0000 (15:44 +0000)]
Merge "Get applicationinfo as user." into nyc-dev
Julia Reynolds [Thu, 18 Feb 2016 15:18:10 +0000 (15:18 +0000)]
Merge "Inflate and strip remote views for pre-N apps." into nyc-dev
Jason Monk [Thu, 18 Feb 2016 15:10:59 +0000 (15:10 +0000)]
Merge "Remove lights out views from nav bar" into nyc-dev
Rakesh Iyer [Thu, 18 Feb 2016 14:12:25 +0000 (14:12 +0000)]
Merge "Dejank app switching." into nyc-dev
Julia Reynolds [Thu, 18 Feb 2016 13:31:35 +0000 (08:31 -0500)]
Get applicationinfo as user.
Bug:
27237907
Change-Id: I84a07f035904c42f535ef30f2950788f5ac50aba
Sudheer Shanka [Thu, 18 Feb 2016 13:58:04 +0000 (13:58 +0000)]
Merge "Update ACTION_SHOW_ADMIN_SUPPORT_DETAILS action to be hidden." into nyc-dev
Julia Reynolds [Wed, 17 Feb 2016 19:00:56 +0000 (14:00 -0500)]
Inflate and strip remote views for pre-N apps.
Bug:
27120291
Change-Id: I4e1497222f3787e68c3e385e45ab6a7c23799917
Shawn Willden [Thu, 18 Feb 2016 12:51:49 +0000 (12:51 +0000)]
Merge "Add support for extending key validity while on body." into nyc-dev
Shawn Willden [Fri, 29 Jan 2016 14:07:16 +0000 (07:07 -0700)]
Add support for extending key validity while on body.
Bug:
21563854
Change-Id: I3b622d2af77ec4ac3ba42407fc391112c153ef0f
Sudheer Shanka [Thu, 18 Feb 2016 12:37:14 +0000 (12:37 +0000)]
Update ACTION_SHOW_ADMIN_SUPPORT_DETAILS action to be hidden.
Bug:
27225657
Change-Id: I85ad8bf88845e9164011b303ec9ca90d993fc20e
Martijn Coenen [Thu, 18 Feb 2016 12:25:02 +0000 (12:25 +0000)]
Merge "Update protected broadcasts used by NFC." into nyc-dev
Clara Bayarri [Thu, 18 Feb 2016 11:21:18 +0000 (11:21 +0000)]
Merge "Lock Work Profile immediately when user presses power button" into nyc-dev
Clara Bayarri [Wed, 17 Feb 2016 15:17:14 +0000 (15:17 +0000)]
Lock Work Profile immediately when user presses power button
Bug:
26579952
Change-Id: I6e4e0fc2a4f41c72f0d940006f6ceb17e7852682
Martijn Coenen [Thu, 18 Feb 2016 11:19:01 +0000 (12:19 +0100)]
Update protected broadcasts used by NFC.
Change-Id: Ie7d062e83929e1058e19427f6ca624ab3f8ee472
Michal Karpinski [Thu, 18 Feb 2016 10:55:40 +0000 (10:55 +0000)]
Applying final strings for remote bugreports after notification rework
Bug:
26226230
Change-Id: If9f6e882c545821fc36925fbdc4e0eff64115fe5
Yohei Yukawa [Thu, 18 Feb 2016 09:30:44 +0000 (09:30 +0000)]
Merge "Fix bugs in logic to find a default selectd IME." into nyc-dev
Erik Kline [Thu, 18 Feb 2016 09:15:26 +0000 (18:15 +0900)]
Add Protocol.BASE_ETHERNET
Change-Id: I4e51370c0b53d9902eea8aae409f9f7cffaf28ad
Yohei Yukawa [Thu, 18 Feb 2016 08:30:45 +0000 (00:30 -0800)]
Fix bugs in logic to find a default selectd IME.
With this CL, InputMethodManagerService#resetDefaultImeLocked()
picks up the default selected IME with the same logic to find the
default enabled IMEs [1]. It should make sense because the default
selected IME should be one of the default enabled IMEs. The previous
code is problematic because it does not check whether the IME is enabled
or not. There was a chance that unusable IME could be picked up.
This CL also fixes the same problem to Bug
17347871 that only language
part of the locale is taken into account.
[1] See the following series of CLs.
- part 1: I831502db502f4073c9c2f50ce7705a4e45e2e1e3
ed20f8d750ef0b6347448265a14ef2a2c7e1af5c
- part 2: Ife93d909fb8a24471c425c903e2b7048826e17a3
745e7bca8a622ffdf0d0a8e8e2485eab98182ede
- part 3: I6571d464a46453934f0a8f5e79018a67a9a3c845
d0dbd81fe2cd34c9a83e2f5217374d3e1a79f950
- part 4: I871ccda787eb0f1099ba3574356c1da4b33681f3
b21220efae92a56ff7b4b781fa614a6e3a8a3007
Bug:
27197621
Change-Id: Ia0f52c1fb9f5a68230284a1ec4829a2337b60bdd
Jaewan Kim [Thu, 18 Feb 2016 04:54:03 +0000 (04:54 +0000)]
Merge "PIP: Temporarily disable overlay text bubble timeout" into nyc-dev
Deepanshu Gupta [Thu, 18 Feb 2016 04:53:24 +0000 (04:53 +0000)]
Merge "Entry -> Map.Entry. Fixes build break" into nyc-dev
Deepanshu Gupta [Thu, 18 Feb 2016 04:53:02 +0000 (04:53 +0000)]
Merge "Switch LayoutLib to Java 8" into nyc-dev
Deepanshu Gupta [Thu, 18 Feb 2016 04:51:08 +0000 (20:51 -0800)]
Entry -> Map.Entry. Fixes build break
Change-Id: I72fe70d6f617c7753a278e134ac22d71125d8def
Deepanshu Gupta [Thu, 18 Feb 2016 04:42:31 +0000 (20:42 -0800)]
Switch LayoutLib to Java 8
The main build hasn't swtiched to java 8, but lambdas are already used
in layoutlib. This fixes the build break.
Change-Id: I4dd69ebd736179067899f5d86d3608d5fdb03d93
Erik Kline [Thu, 18 Feb 2016 04:38:38 +0000 (04:38 +0000)]
{,Base}DhcpStateMachine is no more
am:
efa4209fe0
* commit '
efa4209fe022d007f48edc3c4feaef00a9865cb5':
{,Base}DhcpStateMachine is no more
Rakesh Iyer [Wed, 17 Feb 2016 04:06:22 +0000 (20:06 -0800)]
Dejank app switching.
App switching is a little janky, one of the causes seems
like we're doing a call into package manager to see if there
are more applications (to draw the arrow) and that is expensive
(around 10-160ms). Remove this call and maintain a cache and
query that instead.
Bug:
27232284
Change-Id: I9666073944e406b595a3486857f3fe44b2ae2039
Erik Kline [Thu, 18 Feb 2016 03:40:11 +0000 (12:40 +0900)]
{,Base}DhcpStateMachine is no more
Bug:
26991160
Change-Id: I21f8c30627bf2a7fbcd5b4d5f1f1ad1a2dda759b
Simranjit Singh Kohli [Fri, 7 Aug 2015 20:34:09 +0000 (13:34 -0700)]
[Fix extra data in cache]
It seems that some account authenticators call getData before account
is added, which initializes the cache for that account.
1. We now don't initialize the cache if the account is not on the device.
2. We now use locking.
Bug:
23018710
Bug:
20071745
Change-Id: Ie59ca6b4e575f524a9d3bf286c3bd95abce4a596
Deepanshu Gupta [Thu, 18 Feb 2016 03:04:15 +0000 (03:04 +0000)]
Merge "LayoutLib fixes for N" into nyc-dev
Steve McKay [Thu, 18 Feb 2016 02:53:07 +0000 (02:53 +0000)]
Merge "Don't show recents as copy/move destination." into nyc-dev
Steve McKay [Thu, 18 Feb 2016 02:25:47 +0000 (18:25 -0800)]
Don't show recents as copy/move destination.
Revoke "SUPPORTS_CREATE" from the Recents faux-Root.
Don't allow copy to roots that don't support children.
Add friendly access methods to Root info for checking flags.
Only show spacer between roots sections when both non-empty.
Add docs explaining the "apps" section in roots.
Improve logic in the "canCopy" method.
Bug:
27232639
Change-Id: If78ee0ff73f0788de863345b560aecd41b23dfb9
Antonio Cansado [Wed, 17 Feb 2016 21:03:38 +0000 (13:03 -0800)]
Implementation of data usage callbacks.
NetworkStatsService will register data usage requests
and keep data usage stats scoped to the request.
There are different types of data usage requests
- scoped to a set of NetworkTemplate; these are restrictred to
device owners and carrier apps and allow the caller to monitor
all activity on the specified interfaces.
- scoped to all uids visible to the user, if the user has
android.Manifest.permission#PACKAGE_USAGE_STATS permission.
The set of uids may change over time, so we keep track of that.
- scoped to a set of uids given by the caller, granted that
the caller has access to those uids.
- scoped to the caller's own data usage. This doesn't require
PACKAGE_USAGE_STATS.
Bug:
25812785
Change-Id: Ie11f35fc1f29d0dbe82f7fc924b169bb55c76708
Adam Lesinski [Thu, 18 Feb 2016 02:32:31 +0000 (02:32 +0000)]
Merge "AAPT2: Implement density stripping and initial Split support" into nyc-dev
Adam Lesinski [Sun, 14 Feb 2016 04:26:45 +0000 (20:26 -0800)]
AAPT2: Implement density stripping and initial Split support
When a preferred density is supplied, the closest matching densities
will be selected, the rest stripped from the APK.
Split support will be enabled in a later CL. Command line support is still
needed, but the foundation is ready.
Bug:
25958912
Change-Id: I56d599806b4ec4ffa24e17aad48d47130ca05c08
Deepanshu Gupta [Wed, 7 Oct 2015 00:56:37 +0000 (17:56 -0700)]
LayoutLib fixes for N
Moves LayoutLib to Java 8 - YAY!
Fix delegates
Change-Id: I098996e43e330e995d33f12df1c16355bbc02f0f
Alex Klyubin [Thu, 18 Feb 2016 02:03:48 +0000 (02:03 +0000)]
Merge "Use production ID for v2 signing scheme." into nyc-dev
Adrian Roos [Thu, 18 Feb 2016 01:35:34 +0000 (01:35 +0000)]
Merge "App Crashes: Clarify mute option" into nyc-dev
Aurimas Liutikas [Thu, 18 Feb 2016 01:21:59 +0000 (01:21 +0000)]
Merge "Suppress warnings of MultiDexLegacyAndException" into nyc-dev
Tomasz Mikolajewski [Tue, 16 Feb 2016 00:43:30 +0000 (09:43 +0900)]
Limit number of ClipData items for a quick viewer to 1000.
Bug:
20822219
Change-Id: I774be914ddeea0335dc646000a1d5c997ea73fd4
Vladislav Kaznacheev [Thu, 18 Feb 2016 00:51:53 +0000 (00:51 +0000)]
Merge "Move more drag-related code to DragState" into nyc-dev
Vladislav Kaznacheev [Wed, 17 Feb 2016 00:20:56 +0000 (16:20 -0800)]
Do not call IWindowSession.updatePointer icon from pointer handler
Currently if View.setPointerIcon is called from inside a pointer
event handler this will cause a redundant round-trip to the server
which can be easily avoided.
Bug:
27107871
Change-Id: Ia641818c3700c0d96d0c32e020b91af58dccfa2a
Jaewan Kim [Thu, 18 Feb 2016 00:45:41 +0000 (16:45 -0800)]
PIP: Temporarily disable overlay text bubble timeout
Bug:
27224884
Change-Id: I2aeae84b62d3918d5e43ea5fda616a37683e1841
Wale Ogunwale [Thu, 18 Feb 2016 00:44:57 +0000 (00:44 +0000)]
Merge "Make PipOverlayActivity views visible onResume" into nyc-dev
Vladislav Kaznacheev [Sat, 13 Feb 2016 01:07:20 +0000 (17:07 -0800)]
Move more drag-related code to DragState
Pure refactoring: moving the code manipulating
DragState member variable into DragState.
Change-Id: I1f9feff32c8b18ae0ff451030d026d4276fecd5b
Wale Ogunwale [Thu, 18 Feb 2016 00:04:58 +0000 (16:04 -0800)]
Make PipOverlayActivity views visible onResume
Also moved the scheduling of the invisible timeout to onResume.
Change-Id: If56d61a2e20b08748e1c9f7f3ab1b12b22320110
Jorim Jaggi [Thu, 18 Feb 2016 00:15:52 +0000 (16:15 -0800)]
Fix some strings
Bug:
26411749
Bug:
27022727
Change-Id: I405ba61a46011365bfa2aebfdb0797738237e86b
Chet Haase [Thu, 18 Feb 2016 00:31:44 +0000 (00:31 +0000)]
Merge "Fix typo in CalendarView style docs" into nyc-dev
Ben Kwa [Thu, 18 Feb 2016 00:19:20 +0000 (00:19 +0000)]
Merge "Fix focus issues on RV." into nyc-dev
Adam Lesinski [Wed, 13 Jan 2016 20:26:07 +0000 (12:26 -0800)]
DO NOT MERGE ANYWHERE: UsageStats: Use new settings key idle_duration2 for app idle
Ignores the old, re-appropriated key "idle_duration" which is now
set to a high value in order to force disable app idle on devices
with bug b/
26355386
Bug:
26355386
Change-Id: Iff9de843ad6e547d29c1583687fc7f7ce7e15090
Adam Lesinski [Tue, 12 Jan 2016 18:36:09 +0000 (10:36 -0800)]
DO NOT MERGE ANYWHERE: UsageStats: Fix issue where initializing data for first time would cause crash
With the updated rolling window of stats for app idleness, we need to make sure
it is populated before we initialize some defaults.
Now that we look at older entries to figure out idleness, if those
entries are in the future (due to time change), set them to the current
screen on time.
Bug:
26504153
Change-Id: Ia22add0e8eaf0f137002bbe3e91d747fef5b7d69
Adam Lesinski [Fri, 8 Jan 2016 02:24:53 +0000 (18:24 -0800)]
DO NOT MERGE ANYWHERE: UsageStatsService: Fix app idle issue at rollover time
App Idle queries are very frequent and so they only check in memory stats.
However, in memory stats can be missing some entries, especially after a rollover, but also
due to a larger bug fixed in master (too risky to take now).
The fix is to do a deep query (reading older files from disk) and maintain a parallel cache
of stats for app idle. That way the rolling window of data required to serve app idle queries
stays in memory.
Bug:
26355386
Change-Id: I6a29bbc25214f6a3c2f24c8c079936e66f99e42e
Steve McKay [Wed, 17 Feb 2016 23:40:58 +0000 (23:40 +0000)]
Merge "Improvements to Copy/Move flow." into nyc-dev
Steve McKay [Wed, 17 Feb 2016 23:02:01 +0000 (15:02 -0800)]
Improvements to Copy/Move flow.
- Always open drawer for copy/move operations.
- Set title to match operation.
- Update button to say "move" for move operations.
- Other minor fixes.
Also fix "Home" tests broken by ag/867110
Bug:
26506479
Change-Id: I3ccb4ddc72be0a21b91744bcb610c1ca490ac30c
Makoto Onuki [Wed, 17 Feb 2016 23:35:01 +0000 (15:35 -0800)]
Ensure DO/PO are also DA.
Bug
24503508
Change-Id: Ib957b84d5bee185501636c406d9aaf4985a79d8d