OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge "Fix onStop not called when activity is under translucent" into nyc-dev
Andrii Kulian [Fri, 6 May 2016 22:44:18 +0000 (22:44 +0000)]
Merge "Fix onStop not called when activity is under translucent" into nyc-dev

8 years agoMerge "Don't persist selection after restore." into nyc-dev
TreeHugger Robot [Fri, 6 May 2016 22:11:12 +0000 (22:11 +0000)]
Merge "Don't persist selection after restore." into nyc-dev

8 years agoMerge "Refactored NetworkPolicyManagerService mUidRules." into nyc-dev
TreeHugger Robot [Fri, 6 May 2016 21:41:38 +0000 (21:41 +0000)]
Merge "Refactored NetworkPolicyManagerService mUidRules." into nyc-dev

8 years agoMerge "Move the 'pretend idle jobs can run now' broadcast into AMS" into nyc-dev
Chris Tate [Fri, 6 May 2016 21:34:50 +0000 (21:34 +0000)]
Merge "Move the 'pretend idle jobs can run now' broadcast into AMS" into nyc-dev

8 years agoMerge "Reset Cards as they come into view" into nyc-dev
Sid Soundararajan [Fri, 6 May 2016 21:16:54 +0000 (21:16 +0000)]
Merge "Reset Cards as they come into view" into nyc-dev

8 years agoMerge "Fix divergent equals and hashCode behavior" into nyc-dev
TreeHugger Robot [Fri, 6 May 2016 20:54:16 +0000 (20:54 +0000)]
Merge "Fix divergent equals and hashCode behavior" into nyc-dev

8 years agoFix exception when docking task.
Winson [Thu, 5 May 2016 23:16:50 +0000 (16:16 -0700)]
Fix exception when docking task.

- If a task fails to dock, animate the stack back to original state so
  that the layout is not stuck in a "docked" state.

Bug: 28577229
Change-Id: If927b898a48cd5949764cb3b0c0798d22efd850a

8 years agoMerge "Disabling movement of entire affiliated task set." into nyc-dev
Winson Chung [Fri, 6 May 2016 20:50:11 +0000 (20:50 +0000)]
Merge "Disabling movement of entire affiliated task set." into nyc-dev

8 years agoFix onStop not called when activity is under translucent
Andrii Kulian [Fri, 6 May 2016 19:53:25 +0000 (12:53 -0700)]
Fix onStop not called when activity is under translucent

Activity was not stopped when device went to sleep if it was covered by
another translucent activity. The issue appeared after ag/864253 which
disabled stopping for visible activities.

Bug: 28191555
Change-Id: I39f0c5579ee3e5a16db888c72ace5dc43aa307bd

8 years agoMerge "Fix: Cannot control ime_switcher and menu after resetting." into nyc-dev
Keisuke Kuroyanagi [Fri, 6 May 2016 19:52:46 +0000 (19:52 +0000)]
Merge "Fix: Cannot control ime_switcher and menu after resetting." into nyc-dev

8 years agoFix divergent equals and hashCode behavior
Pavlin Radoslavov [Fri, 6 May 2016 19:05:47 +0000 (12:05 -0700)]
Fix divergent equals and hashCode behavior

Calling Objects.hash with a byte[] will call the identity hashCode on
the byte[] and this doesn't agree with the use of Objects.deepEquals
in equals.
Bug caught by error prone.

Also, replaced usage of Objects.deepEquals(mServiceDataUuid, ...) with
Objects.equals(mServiceDataUuid, ...), because mServiceDataUuid
is an Object of type ParcelUuid.

Bug: 28585195
Change-Id: Id92734874339985fedafe1a28286a6a4dcd88d3b

8 years agoDon't persist selection after restore.
Steve McKay [Fri, 6 May 2016 19:07:54 +0000 (12:07 -0700)]
Don't persist selection after restore.

Bug: 28469988
Change-Id: I1fec774d8ebdec13b33262d7fe8e17fccd84b657

8 years agoReset Cards as they come into view
Sid Soundararajan [Wed, 4 May 2016 22:16:20 +0000 (15:16 -0700)]
Reset Cards as they come into view

This will ensure that they are in the correct configuration. Needed since
recycler view will be re-using views.

BUG:28632740
Change-Id: Icdaa48696e198cfeb8c37718fec05f7f9b195842

8 years agoDisabling movement of entire affiliated task set.
Winson [Tue, 3 May 2016 21:58:12 +0000 (14:58 -0700)]
Disabling movement of entire affiliated task set.

- This CL removes the dependency on the last-active-time of the task
  record, since that is dependent on the current system time (which can
  be changed by the user).  Instead of working around the previous
  behavior in ActivityManager which moves all affiliated tasks to the
  top when one task is launched, we change the behavior in the AM
  directly, and prevent re-sorting the list of recent tasks improperly
  (aside from the stable sort which puts the freeform tasks first).

Bug: 27398177

Change-Id: I9fa9b3497d08082fe00aa724538255de87e746d6

8 years agoMerge "QS Header: remove collapsed alarm ripple" into nyc-dev
Jason Monk [Fri, 6 May 2016 18:35:58 +0000 (18:35 +0000)]
Merge "QS Header: remove collapsed alarm ripple" into nyc-dev

8 years agoMerge "Dismiss docked stack if an activity is shown on top of the lock screen" into...
TreeHugger Robot [Fri, 6 May 2016 18:30:22 +0000 (18:30 +0000)]
Merge "Dismiss docked stack if an activity is shown on top of the lock screen" into nyc-dev

8 years agoMove the 'pretend idle jobs can run now' broadcast into AMS
Christopher Tate [Fri, 6 May 2016 18:25:11 +0000 (11:25 -0700)]
Move the 'pretend idle jobs can run now' broadcast into AMS

It's a protected broadcast, so sending it directly from 'am' is
no longer an option.  This is needed for CTS as well as being
generally useful during app development.

Bug 28406044

Change-Id: I101915a8c6f19454330a8db2079a75023c112582

8 years agoMerge "Make AccessibilityService#disableSelf atomic." into nyc-dev
Phil Weaver [Fri, 6 May 2016 18:08:27 +0000 (18:08 +0000)]
Merge "Make AccessibilityService#disableSelf atomic." into nyc-dev

8 years agoMerge "Fix NPE in KeyphraseEnrollmentInfo.toString()" into nyc-dev
Chris Thornton [Fri, 6 May 2016 18:04:17 +0000 (18:04 +0000)]
Merge "Fix NPE in KeyphraseEnrollmentInfo.toString()" into nyc-dev

8 years agoRefactored NetworkPolicyManagerService mUidRules.
Felipe Leme [Wed, 4 May 2016 16:21:43 +0000 (09:21 -0700)]
Refactored NetworkPolicyManagerService mUidRules.

NetworkPolicyManagerService (NMPS) keeps an internal list of uid
rules (mUidRules) for network restrictions, and when these rules
changes it needs to notify external listeners (such as
ConnectivityService / CS).

Prior to Android N, both Data Saver mode (the feature previously known
as "Restrict Baground Data") and Battery Save mode used the same set of
firewall rules to implement their restrictions: when Battery Saver mode
NPMS would mark all networks as metered and set the proper firewall
rules externally.

Recently, these 2 modes were split in 2 distinct firewall rules and
NMPS.updateRuleForRestrictBackgroundLocked() was changed to update
the mUidRules logic based on the Data Saver firewall (since the Battery
Saver firewall changes are handled externally, on
updateRuleForRestrictPowerLocked()). As such, CS was not notified when
the power-related changes were made, which would cause apps to get a
state of CONNECTED / CONNECTED when querying its active connection.

This change refactores the mUidRules to use bitmasks, in preparation for
another change that will fix the issue.

It also fixes a minor bug that was preventing removed packages to be
removed from the whitelist.

BUG: 28521946
Change-Id: I9f0e1509a6192cad403f740c1cd76a6b7dab7d26

8 years agoFix: Cannot control ime_switcher and menu after resetting.
Keisuke Kuroyanagi [Fri, 6 May 2016 17:49:54 +0000 (10:49 -0700)]
Fix: Cannot control ime_switcher and menu after resetting.

mButtonDispatchers contains ButtonDispatcher for ime_switcher and menu;
however, in #inflateButton, we tried to find ButtonDispatcher for
menu_ime, which is a FrameLayout containing ime_switcher and menu.
Therefore, after #clearViews and #inflateLayout, ime_switcher and menu
KeyButtonView are not in the corresponding ButtonDispatchers.
It means NavigationBarView#getImeSwitchButton and
NavigationBarView#getMenuButton returns empty ButtonDispatcher.
As a result, we can't control ime switch button and menu button via
NavigationBarView after then.  e.g. We can't control ime switch button
visibility.

This CL fixes that issue by calling #addToDispatchers recursively for
ViewGroup children if corresponding ButtonDispatcher is not found.  This
behavior is aligned with #addAll.

Bug: 28580774

Change-Id: Ibe724753390b7bbb395a6d53d00bc6d06d00aa9a

8 years agoDon't crash the system when detecting a transient wrong state
Jorim Jaggi [Fri, 6 May 2016 02:14:22 +0000 (19:14 -0700)]
Don't crash the system when detecting a transient wrong state

Bug: 28616824
Change-Id: I124f7196d709c33fe70137541b650788af83b3b3

8 years agoAlso notify divider when getting DockedTopTaskEvent
Jorim Jaggi [Fri, 6 May 2016 00:32:44 +0000 (17:32 -0700)]
Also notify divider when getting DockedTopTaskEvent

Under some circumstances we never go through the activity lifecycle
if we call startActivity before it gets stopped, so we never notified
the divider about that we have drawn.

Bug: 28531536
Change-Id: I6a13527d52bf40a87f89de4b2799bd0833c6612a

8 years agoMerge "Fixed bad focus stack state when focused docked stack is removed" into nyc-dev
TreeHugger Robot [Fri, 6 May 2016 17:17:39 +0000 (17:17 +0000)]
Merge "Fixed bad focus stack state when focused docked stack is removed" into nyc-dev

8 years agoDismiss docked stack if an activity is shown on top of the lock screen
Wale Ogunwale [Fri, 6 May 2016 17:13:14 +0000 (10:13 -0700)]
Dismiss docked stack if an activity is shown on top of the lock screen

It is risky/complicated to try to put the activity showing on-top of
the lock screen in the right fullscreen configuration with the current
architecture. So, we just dismiss for now.

Bug: 28195260
Change-Id: I29a0350993ce8fe548d4a465b06d877cde151c78

8 years agoMake AccessibilityService#disableSelf atomic.
Phil Weaver [Fri, 6 May 2016 15:32:38 +0000 (08:32 -0700)]
Make AccessibilityService#disableSelf atomic.

This API was using a oneway aidl call, which meant that the
service was disabled some time after the method returned. That
confused tests that were turning a service off during tearDown
and then turning it back on again in setUp.

Bug: 28621277

Change-Id: I75984df0613bdbb1bc876e2a15caf59106027337

8 years agoFixed bad focus stack state when focused docked stack is removed
Wale Ogunwale [Fri, 6 May 2016 15:41:19 +0000 (08:41 -0700)]
Fixed bad focus stack state when focused docked stack is removed

ag/990438 allowed for stack focus not to be adjusted when the currently
focused stack is removed since the caller will be moving the focus to
the right stack next. This was incorrectly enabled for the positionTask
call were the stack will not be moved to the front since the functionality
is used to move task within stacks we don't want to gain focus.

Bug: 28616824
Change-Id: Ia6aea17c0335d036a17b83fed28799428ca58eda

8 years agoMerge "Quicksettings accessibility." into nyc-dev
TreeHugger Robot [Fri, 6 May 2016 15:39:59 +0000 (15:39 +0000)]
Merge "Quicksettings accessibility." into nyc-dev

8 years agoProtect TRANSFER_COMPLETE broadcast
Ajay Panicker [Fri, 6 May 2016 01:59:44 +0000 (18:59 -0700)]
Protect TRANSFER_COMPLETE broadcast

Bug: 28621801
Change-Id: Ia90abd00694ae80000f59ee0a17826592fd2159b

8 years agoMerge "Fix regression, show internal storage option..." into nyc-dev
Steve McKay [Fri, 6 May 2016 15:07:48 +0000 (15:07 +0000)]
Merge "Fix regression, show internal storage option..." into nyc-dev

8 years agoQuicksettings accessibility.
Julia Reynolds [Wed, 4 May 2016 20:44:08 +0000 (16:44 -0400)]
Quicksettings accessibility.

Bug: 15696340
Change-Id: I6887e2dad4822911d3a1642aaec5703174b57330

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
TreeHugger Robot [Fri, 6 May 2016 14:15:13 +0000 (14:15 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
TreeHugger Robot [Fri, 6 May 2016 14:12:20 +0000 (14:12 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoHide 'Optimizing apps' dialog if not M->N upgrade
David Brazdil [Wed, 27 Apr 2016 12:53:55 +0000 (13:53 +0100)]
Hide 'Optimizing apps' dialog if not M->N upgrade

Recent changes reduced the amount of time spent optimizing apps at
post-OTA boot. Instead of briefly showing the 'Optimizing apps'
dialog, we hide it completely.

The dialog is still shown for OTAs from a pre-N version of Android
since they can take a non-negligible amount of time (still much less
than in M).

Bug: 27350503
Change-Id: I5f6dae0c69799e1fc522f36453d2671b333bef0e

8 years agoMerge "Fix enterprise contacts APIs naming and docs" into nyc-dev
Tony Mak [Fri, 6 May 2016 12:06:25 +0000 (12:06 +0000)]
Merge "Fix enterprise contacts APIs naming and docs" into nyc-dev

8 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 6 May 2016 10:13:32 +0000 (03:13 -0700)]
Import translations. DO NOT MERGE

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

8 years agoMerge "Update MIDI package summary am: 15a9a35bee am: c1b551aba6 am: fad0efcdb9"...
Android Build Merger (Role) [Fri, 6 May 2016 06:14:50 +0000 (06:14 +0000)]
Merge "Update MIDI package summary am: 15a9a35bee am: c1b551aba6 am: fad0efcdb9" into nyc-dev

8 years agoUpdate MIDI package summary am: 15a9a35bee am: c1b551aba6
Glenn Kasten [Fri, 6 May 2016 06:14:22 +0000 (06:14 +0000)]
Update MIDI package summary am: 15a9a35bee am: c1b551aba6
am: fad0efcdb9

* commit 'fad0efcdb96f87da9ded7474c4bfa67a6f221a88':
  Update MIDI package summary

Change-Id: I98018736d395487e3e680bef7bbb770e61b54389

8 years agoUpdate MIDI package summary am: 15a9a35bee am: c1b551aba6
Glenn Kasten [Fri, 6 May 2016 06:12:13 +0000 (06:12 +0000)]
Update MIDI package summary am: 15a9a35bee am: c1b551aba6
am: fad0efcdb9

* commit 'fad0efcdb96f87da9ded7474c4bfa67a6f221a88':
  Update MIDI package summary

Change-Id: Icb509b232ea816bb6305da6f38677d3cb6bea55e

8 years agoUpdate MIDI package summary am: 15a9a35bee
Glenn Kasten [Fri, 6 May 2016 06:07:28 +0000 (06:07 +0000)]
Update MIDI package summary am: 15a9a35bee
am: c1b551aba6

* commit 'c1b551aba6f760ac41bcaf4391c1ff861803de27':
  Update MIDI package summary

Change-Id: Ic7a9920dc3f4a70f5f4eb718bc9f2dd00c1bbb7c

8 years agoUpdate MIDI package summary
Glenn Kasten [Fri, 6 May 2016 06:02:44 +0000 (06:02 +0000)]
Update MIDI package summary
am: 15a9a35bee

* commit '15a9a35beeebeed42335d9f51663daad932a64b2':
  Update MIDI package summary

Change-Id: I3a86d68c14127e7969d300f77c10e0fe807cad72

8 years agoMerge "allow optionally skipping of initial launch" into nyc-dev
TreeHugger Robot [Fri, 6 May 2016 04:44:16 +0000 (04:44 +0000)]
Merge "allow optionally skipping of initial launch" into nyc-dev

8 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 6 May 2016 04:28:01 +0000 (21:28 -0700)]
Import translations. DO NOT MERGE

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

8 years agoMerge "Coerce 8-bit bsic to Integer if Invalid" into nyc-dev
Nathan Harold [Fri, 6 May 2016 03:22:21 +0000 (03:22 +0000)]
Merge "Coerce 8-bit bsic to Integer if Invalid" into nyc-dev

8 years agoMerge "CellInfo Parceling for Invalid Values" into nyc-dev
Nathan Harold [Fri, 6 May 2016 03:20:42 +0000 (03:20 +0000)]
Merge "CellInfo Parceling for Invalid Values" into nyc-dev

8 years agoallow optionally skipping of initial launch
Guang Zhu [Fri, 6 May 2016 02:45:22 +0000 (19:45 -0700)]
allow optionally skipping of initial launch

Current harness performs one round of app launch as a "warm up", and
does not include that into final app launch time calculation. This
change skips this process so that it can speed up local test run
investigation.

Change-Id: I0b1948b2247d9f7e442e799d537508fba6dfa508

8 years agoMerge "Add vanity url for bg optimations." into mnc-mr-docs am: d4c3473906 am: 4521e4e605
Dirk Dougherty [Fri, 6 May 2016 02:24:40 +0000 (02:24 +0000)]
Merge "Add vanity url for bg optimations." into mnc-mr-docs am: d4c3473906 am: 4521e4e605
am: 631316a832

* commit '631316a83231bdd1089261c165b87a9fff08822a':
  Add vanity url for bg optimations.

Change-Id: Iec34ba687fa442be88710e3f918be9fb721a9f11

8 years agoMerge "Add vanity url for bg optimations." into mnc-mr-docs am: d4c3473906
Dirk Dougherty [Fri, 6 May 2016 02:19:49 +0000 (02:19 +0000)]
Merge "Add vanity url for bg optimations." into mnc-mr-docs am: d4c3473906
am: 4521e4e605

* commit '4521e4e60518b9c32948b2027822af8c30de8576':
  Add vanity url for bg optimations.

Change-Id: Ic05784b96e79b0222f59f1f9ee07edf9bce447f6

8 years agoMerge "Add vanity url for bg optimations." into mnc-mr-docs
Dirk Dougherty [Fri, 6 May 2016 02:15:15 +0000 (02:15 +0000)]
Merge "Add vanity url for bg optimations." into mnc-mr-docs
am: d4c3473906

* commit 'd4c3473906ea86f9b18ffaa3856cb9d97fca139b':
  Add vanity url for bg optimations.

Change-Id: I765f0c558ff2d74c536cbdf4c0fbdf29dd690fdb

8 years agoUpdate MIDI package summary
Glenn Kasten [Fri, 6 May 2016 01:49:16 +0000 (18:49 -0700)]
Update MIDI package summary

Bug: 28625060
Change-Id: If552ca8e1a0666d402b5f536699bf3fb09c1e324
(cherry picked from commit 9a279ef267f194dd3f0b777da5a219b6ef04abac)

8 years agoMerge "Add vanity url for bg optimations." into mnc-mr-docs
Dirk Dougherty [Fri, 6 May 2016 02:02:14 +0000 (02:02 +0000)]
Merge "Add vanity url for bg optimations." into mnc-mr-docs

8 years agoMerge "Fix status bar background flicker" into nyc-dev
TreeHugger Robot [Fri, 6 May 2016 01:49:31 +0000 (01:49 +0000)]
Merge "Fix status bar background flicker" into nyc-dev

8 years agoMerge "Fixed deadlock between AM and WM when animating pinned stack." into nyc-dev
TreeHugger Robot [Fri, 6 May 2016 01:43:28 +0000 (01:43 +0000)]
Merge "Fixed deadlock between AM and WM when animating pinned stack." into nyc-dev

8 years agoFix edge case crash with invalid bitmap dimensions.
Winson [Thu, 5 May 2016 00:21:22 +0000 (17:21 -0700)]
Fix edge case crash with invalid bitmap dimensions.

- In these cases, skip returning an animation spec for that task

Bug: 28235453
Change-Id: I611dc4390c0cbd2ca5f16112e4784848b2d6896f

8 years agoFix NPE in KeyphraseEnrollmentInfo.toString()
Chris Thornton [Fri, 6 May 2016 00:20:44 +0000 (17:20 -0700)]
Fix NPE in KeyphraseEnrollmentInfo.toString()

If there are no enrollment applications on the system, but someone still
makes a KeyphraseEnrollmentInfo and tries to print it, it would generate
a NPE on a map object. Instead of setting the map to null when we don't
find any enrollment applications, we can just set it to an empty map.

Bug:28622866
Change-Id: I023e6fd90effd3143c19817a0d6637a013bebc31

8 years agoFixed deadlock between AM and WM when animating pinned stack.
Wale Ogunwale [Thu, 5 May 2016 16:16:47 +0000 (09:16 -0700)]
Fixed deadlock between AM and WM when animating pinned stack.

In Ie18cc04ceeabd94093017f79676253e1189f5249 we delay ending the
pinned stack animation until app transition is done. However, the
signal that app transition is done comes in with the window manager
lock held and the we call into AM to do some additional work which
requires AM lock to be aquired. Since AM depends on WM we shouldn't
be holding the WM lock while calling into AM since AM can call into
WM with its lock held. We now post a runnable to finish the pinned
stack animation without the WM lock held.

Bug: 28564514
Change-Id: I8450123e992e569a74609883de810cdc611ced81

8 years agoMerge "Fix issue where existing Activity Resources references would not update" into...
Adam Lesinski [Thu, 5 May 2016 23:23:41 +0000 (23:23 +0000)]
Merge "Fix issue where existing Activity Resources references would not update" into nyc-dev

8 years agoFix status bar background flicker
Chris Craik [Thu, 5 May 2016 23:19:22 +0000 (16:19 -0700)]
Fix status bar background flicker

Fixes: 28533578

Change-Id: I075f49b7d20e0e95e790a9755d104a0a51575054

8 years agoFix issue where existing Activity Resources references would not update
Adam Lesinski [Mon, 2 May 2016 23:09:16 +0000 (16:09 -0700)]
Fix issue where existing Activity Resources references would not update

When relaunching an Activity, the DecorView and ViewRootImpl is re-used,
along with the IBinder activity token. This means that when we create
new resources, we end up just updating the base Activity resources.

However, we would set the configuration to the new requested override
config and then proceed to update existing Resources references, which
would return immediately due to the equality check for configuration
updates.

This change pushes the setting of the new override config to the
updateResourcesForActivity method, which will properly update Resources
references that are held in the re-used DecorView.

Bug:27915587
Change-Id: I113007a40fa464b8a234b073dcf851e16fee0177

8 years agoCoerce 8-bit bsic to Integer if Invalid
Nathan Harold [Thu, 5 May 2016 19:27:10 +0000 (12:27 -0700)]
Coerce 8-bit bsic to Integer if Invalid

Bug: 28299027
Change-Id: I1ff3314844991cf49cab6099a7a4c436980d52c9

8 years agoCellInfo Parceling for Invalid Values
Nathan Harold [Thu, 5 May 2016 18:12:27 +0000 (11:12 -0700)]
CellInfo Parceling for Invalid Values

Within CellInfo Fields, Integer.MAX_VALUE should indicate
that a field is not present in a report. This change makes the
invalid value consistent, and also ensures that it is checked
in the calculation of power levels / asu.

-Update parcel/unparcel functions to avoid -MAX_VALUE
-Update LTE and CDMA asuLevel() and level() functions to be
 consistently aware of the possibility of incomplete information

Bug: 27946114
Change-Id: Iacdc85db894e4a7809da8b5dc759488a1b6321ea

8 years agoMerge "Add @TestApi to ActivityOptions.setLaunchStackId" into nyc-dev
Vladislav Kaznacheev [Thu, 5 May 2016 23:04:46 +0000 (23:04 +0000)]
Merge "Add @TestApi to ActivityOptions.setLaunchStackId" into nyc-dev

8 years agoCorrect docs about what is ignored in full-data backup
Christopher Tate [Mon, 25 Apr 2016 21:41:50 +0000 (14:41 -0700)]
Correct docs about what is ignored in full-data backup

You can't back up content in e.g. getNoBackupFilesDir() even if your
app explicitly tries to.

Bug 28321431

Change-Id: Ifa2a4bc518de03aba4c8809e60d8bb90fce767f8

8 years agoMerge "Add the individual wakeup alarm counts to the batterystats checkin." into...
Joe Onorato [Thu, 5 May 2016 22:11:55 +0000 (22:11 +0000)]
Merge "Add the individual wakeup alarm counts to the batterystats checkin." into nyc-dev

8 years agoMerge "Fix stale InputMethodManager#mFullscreenMode." into nyc-dev
Yohei Yukawa [Thu, 5 May 2016 21:55:48 +0000 (21:55 +0000)]
Merge "Fix stale InputMethodManager#mFullscreenMode." into nyc-dev

8 years agoMerge "Fix a regression in registering for package_removed" into nyc-dev
TreeHugger Robot [Thu, 5 May 2016 21:54:16 +0000 (21:54 +0000)]
Merge "Fix a regression in registering for package_removed" into nyc-dev

8 years agoAdd the individual wakeup alarm counts to the batterystats checkin.
Joe Onorato [Thu, 5 May 2016 21:46:15 +0000 (14:46 -0700)]
Add the individual wakeup alarm counts to the batterystats checkin.

Bug: 28601365
Change-Id: I94ad69eeb575f75d62bd45076184f521bd11052d

8 years agoMerge "Fix issue #28602068: Add count to job scheduler stats" into nyc-dev
Dianne Hackborn [Thu, 5 May 2016 21:53:21 +0000 (21:53 +0000)]
Merge "Fix issue #28602068: Add count to job scheduler stats" into nyc-dev

8 years agoFix regression, show internal storage option...
Steve McKay [Wed, 4 May 2016 21:55:15 +0000 (14:55 -0700)]
Fix regression, show internal storage option...

...for non "Downloads" scenarios like "Copy to".
Bug: 28552420

Change-Id: If317e3f575a40cac69628c1b6eecfc6be1dfcbce

8 years agoMerge "Add layer tracing tags in new pipeline" into nyc-dev
TreeHugger Robot [Thu, 5 May 2016 19:57:06 +0000 (19:57 +0000)]
Merge "Add layer tracing tags in new pipeline" into nyc-dev

8 years agoMerge "QS Edit: fix some move logic" into nyc-dev
Jason Monk [Thu, 5 May 2016 19:51:54 +0000 (19:51 +0000)]
Merge "QS Edit: fix some move logic" into nyc-dev

8 years agoFix a regression in registering for package_removed
Amith Yamasani [Thu, 5 May 2016 19:38:17 +0000 (12:38 -0700)]
Fix a regression in registering for package_removed

Change-Id: I5d8bcc682f482d965cc9b76b5598a6521539272f
Fixes: 28616418  App is not removed from power whitelist when uninstalled

8 years agoMerge "Prepare to replace windows across recreate()." into nyc-dev
TreeHugger Robot [Thu, 5 May 2016 19:38:15 +0000 (19:38 +0000)]
Merge "Prepare to replace windows across recreate()." into nyc-dev

8 years agoMerge "Ensure that the stream feeder doesn't hang in write..." into nyc-dev
Chris Tate [Thu, 5 May 2016 19:35:37 +0000 (19:35 +0000)]
Merge "Ensure that the stream feeder doesn't hang in write..." into nyc-dev

8 years agoMerge "Revert "Always assign leftover pixels to last weighted child"" into nyc-dev
Alan Viverette [Thu, 5 May 2016 18:37:41 +0000 (18:37 +0000)]
Merge "Revert "Always assign leftover pixels to last weighted child"" into nyc-dev

8 years agoQS Header: remove collapsed alarm ripple
Jason Monk [Thu, 5 May 2016 18:36:57 +0000 (14:36 -0400)]
QS Header: remove collapsed alarm ripple

Its no longer a button, so it shouldn't act like one.

Change-Id: Iac78f80bb0e99fd4d6135f6c1ceac9bc96c7cc8e
Fixes: 28611090

8 years agoMerge "TIF: Keep recording sessions while changing user" into nyc-dev
Shubang Lu [Thu, 5 May 2016 18:20:12 +0000 (18:20 +0000)]
Merge "TIF: Keep recording sessions while changing user" into nyc-dev

8 years agoMerge "Fix reboot loop when "password to boot" is enabled on ..." into nyc-dev
TreeHugger Robot [Thu, 5 May 2016 18:14:29 +0000 (18:14 +0000)]
Merge "Fix reboot loop when "password to boot" is enabled on ..." into nyc-dev

8 years agoAdd vanity url for bg optimations.
Dirk Dougherty [Thu, 5 May 2016 18:05:47 +0000 (11:05 -0700)]
Add vanity url for bg optimations.

Change-Id: I34018b86a5da1abf6cf80427067d5b73eb1b2736

8 years agoMerge "VIMS should only stop the keyphrases it started." into nyc-dev
Chris Thornton [Thu, 5 May 2016 18:06:53 +0000 (18:06 +0000)]
Merge "VIMS should only stop the keyphrases it started." into nyc-dev

8 years agoMerge "TIF: build TvInput list at onUnlockUser" into nyc-dev
Youngsang Cho [Thu, 5 May 2016 18:06:19 +0000 (18:06 +0000)]
Merge "TIF: build TvInput list at onUnlockUser" into nyc-dev

8 years agoMerge "Track current user without calling into AMS." into nyc-dev
Jeff Sharkey [Thu, 5 May 2016 18:01:38 +0000 (18:01 +0000)]
Merge "Track current user without calling into AMS." into nyc-dev

8 years agoRevert "Always assign leftover pixels to last weighted child"
Alan Viverette [Thu, 5 May 2016 17:52:10 +0000 (17:52 +0000)]
Revert "Always assign leftover pixels to last weighted child"

This reverts commit cc26636f08da89f9750f550d66aa213f1ae24f7f.

Bug: 27690033
Change-Id: Ib7084dd8961cd486de4e6b13e36da7be887b1835

8 years agoTrack current user without calling into AMS.
Jeff Sharkey [Thu, 5 May 2016 17:45:01 +0000 (11:45 -0600)]
Track current user without calling into AMS.

From a layering point-of-view, StorageManager is below ActivityManager
and it shouldn't be calling upwards, since that risks locking
inversions.  Instead, track the current user through the existing
SystemService callbacks.

Bug: 28598527
Change-Id: I02d3277eb26288d3b4e1897f4c9318a6288c9551

8 years agoQS Edit: fix some move logic
Jason Monk [Thu, 5 May 2016 15:24:21 +0000 (11:24 -0400)]
QS Edit: fix some move logic

Make sure its possible to add tiles when none are there and remove
tiles when all are added.

Bug: 28067638
Change-Id: Ia5a145f095cd33cf8d4a85a0a8aabb2344e3dec6

8 years agoMerge "Return from onUserUnlocked if user is no longer unlocked" into nyc-dev
Fyodor Kupolov [Thu, 5 May 2016 17:10:44 +0000 (17:10 +0000)]
Merge "Return from onUserUnlocked if user is no longer unlocked" into nyc-dev

8 years agoFix reboot loop when "password to boot" is enabled on ...
Makoto Onuki [Thu, 5 May 2016 17:03:09 +0000 (10:03 -0700)]
Fix reboot loop when "password to boot" is enabled on ...

a non english locale.

Bug 28607673

Change-Id: I316f348305238616e8254bb878b66099015a3793

8 years agoTIF: Keep recording sessions while changing user
shubang [Mon, 25 Apr 2016 18:21:42 +0000 (11:21 -0700)]
TIF: Keep recording sessions while changing user

Bug: 28302189
Change-Id: I3de400798b9ded5f9f67931fbe7033755d76902f

8 years agoMerge "Add action to launch webview implementation settings" into nyc-dev
Jason Monk [Thu, 5 May 2016 16:56:18 +0000 (16:56 +0000)]
Merge "Add action to launch webview implementation settings" into nyc-dev

8 years agoresolve merge conflicts of c522dc6 to mnc-mr-docs am: 0cb25d527f am: 34b9fa4d47
Cheryl Potter [Thu, 5 May 2016 16:37:08 +0000 (16:37 +0000)]
resolve merge conflicts of c522dc6 to mnc-mr-docs am: 0cb25d527f am: 34b9fa4d47
am: aa99efdb72

* commit 'aa99efdb7290fa3dfdb06ebf756e5e6fb9ae446c':
  docs: Update help button redirects for new Android Monitor docs b/28592116

Change-Id: I1a73b0e45b8940a940b59e1209d908567f59b04b

8 years agoresolve merge conflicts of c522dc6 to mnc-mr-docs am: 0cb25d527f
Cheryl Potter [Thu, 5 May 2016 16:34:12 +0000 (16:34 +0000)]
resolve merge conflicts of c522dc6 to mnc-mr-docs am: 0cb25d527f
am: 34b9fa4d47

* commit '34b9fa4d471a0bf2b6cf2dc8c342468d48c9fefa':
  docs: Update help button redirects for new Android Monitor docs b/28592116

Change-Id: I24359c6e2eea97383309610f60d83286a0663c7b

8 years agoAdd @TestApi to ActivityOptions.setLaunchStackId
Vladislav Kaznacheev [Thu, 5 May 2016 16:32:27 +0000 (09:32 -0700)]
Add @TestApi to ActivityOptions.setLaunchStackId

Bug: 28506739
Change-Id: I20fe4d080c125b38a84d9832a497340f805e82e7

8 years agoresolve merge conflicts of c522dc6 to mnc-mr-docs
Cheryl Potter [Thu, 5 May 2016 16:31:08 +0000 (16:31 +0000)]
resolve merge conflicts of c522dc6 to mnc-mr-docs
am: 0cb25d527f

* commit '0cb25d527f4ca81910feb106cca7ca156a34018b':
  docs: Update help button redirects for new Android Monitor docs b/28592116

Change-Id: I24ec45420bab5a346f4d86b7a1a09ed9a3dec67f

8 years agoTIF: build TvInput list at onUnlockUser
Youngsang Cho [Thu, 5 May 2016 16:21:24 +0000 (09:21 -0700)]
TIF: build TvInput list at onUnlockUser

From N, apps cannot be accesible until onUnlockUser is called.
So the TvInput's list needs to be built at onUnlockUser.

Bug: 28586844
Change-Id: I84c896fa243c05c7e1f794863d8a83288549e6ff

8 years agoMerge "Have the Resolver/Chooser activities handle resize config changes" into nyc-dev
Adam Powell [Thu, 5 May 2016 16:04:05 +0000 (16:04 +0000)]
Merge "Have the Resolver/Chooser activities handle resize config changes" into nyc-dev

8 years agoMerge "Remove obsolete file" into nyc-dev
Rubin Xu [Thu, 5 May 2016 15:54:16 +0000 (15:54 +0000)]
Merge "Remove obsolete file" into nyc-dev

8 years agoRemove obsolete file
Rubin Xu [Thu, 5 May 2016 15:39:19 +0000 (16:39 +0100)]
Remove obsolete file

Bug: 27531824
Change-Id: Id6706f0ba6a68723704e58a7fbd8b529e3ec7970

8 years agoMerge "Fix QS crash with RTL rotate" into nyc-dev
Jason Monk [Thu, 5 May 2016 15:42:41 +0000 (15:42 +0000)]
Merge "Fix QS crash with RTL rotate" into nyc-dev

8 years agoMerge "Fix QS edit accessibility" into nyc-dev
Jason Monk [Thu, 5 May 2016 15:41:32 +0000 (15:41 +0000)]
Merge "Fix QS edit accessibility" into nyc-dev

8 years agoMerge "QS Edit: announce exit/entrance" into nyc-dev
Jason Monk [Thu, 5 May 2016 15:41:06 +0000 (15:41 +0000)]
Merge "QS Edit: announce exit/entrance" into nyc-dev